Commit 0797382c authored by Daniel García Moreno's avatar Daniel García Moreno

New version 0.5.2, removing micro version from gir

parent 140312fc
AC_PREREQ(2.60)
AC_INIT([libgepub],[0.5.1],[danigm@wadobo.com])
AC_INIT([libgepub],[0.5.2],[danigm@wadobo.com])
AC_CONFIG_AUX_DIR([build])
AM_INIT_AUTOMAKE([1.10 -Wall -Werror dist-bzip2])
AM_SILENT_RULES([yes])
......
......@@ -49,13 +49,13 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
if HAVE_INTROSPECTION
introspection_sources = $(libgepub_la_SOURCES)
Gepub-0.5.1.gir: libgepub.la
Gepub_0_5_1_gir_INCLUDES = GObject-2.0 libxml2-2.0 WebKit2-4.0
Gepub_0_5_1_gir_CFLAGS = $(INCLUDES)
Gepub_0_5_1_gir_LIBS = libgepub.la
Gepub_0_5_1_gir_FILES = $(introspection_sources)
Gepub_0_5_1_gir_SCANNERFLAGS = --warn-all
INTROSPECTION_GIRS += Gepub-0.5.1.gir
Gepub-0.5.gir: libgepub.la
Gepub_0_5_gir_INCLUDES = GObject-2.0 libxml2-2.0 WebKit2-4.0
Gepub_0_5_gir_CFLAGS = $(INCLUDES)
Gepub_0_5_gir_LIBS = libgepub.la
Gepub_0_5_gir_FILES = $(introspection_sources)
Gepub_0_5_gir_SCANNERFLAGS = --warn-all
INTROSPECTION_GIRS += Gepub-0.5.gir
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
......
......@@ -81,7 +81,7 @@ if get_option('enable-introspection') and get_option('default_library') == 'shar
libgepub,
sources: sources + headers + private_headers,
namespace: gepub_gir_ns,
nsversion: gepub_version,
nsversion: gepub_api_version,
includes: gir_incs,
extra_args: gir_extra_args,
install: true,
......
project(
'libgepub', 'c',
version: '0.5.1',
version: '0.5.2',
license: 'LGPL2+',
default_options: [
'buildtype=debugoptimized',
......@@ -13,6 +13,8 @@ gepub_version = meson.project_version()
version_array = gepub_version.split('.')
gepub_major_version = version_array[0].to_int()
gepub_minor_version = version_array[1].to_int()
gepub_version_micro = version_array[2].to_int()
gepub_api_version = '@0@.@1@'.format(gepub_major_version, gepub_minor_version)
gepub_gir_ns = 'Gepub'
gepub_gir_version = '1.0'
......@@ -36,7 +38,7 @@ config_h = configuration_data()
set_defines = [
# package
['PACKAGE', meson.project_name()],
['PACKAGE_API_VERSION', gepub_version],
['PACKAGE_API_VERSION', gepub_api_version],
['PACKAGE_BUGREPORT', 'danigm@wadobo.com'],
['PACKAGE_NAME', meson.project_name()],
['PACKAGE_STRING', '@0@ @1@'.format(meson.project_name(), gepub_version)],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment