[libgepub] Updated version number to 0.6
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgepub] Updated version number to 0.6
- Date: Wed, 17 Jan 2018 11:10:19 +0000 (UTC)
commit 3dd049036d6d4c70307d1167dc56b283c297f066
Author: Daniel GarcÃa Moreno <danigm wadobo com>
Date: Wed Jan 17 12:09:45 2018 +0100
Updated version number to 0.6
I've change the base directory and each lib to use the 0.6 in the name
so we'll be able to have different versions of libgepub installed in the
system
libgepub/meson.build | 10 +++++-----
meson.build | 3 ++-
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/libgepub/meson.build b/libgepub/meson.build
index 7d2f16e..8ea5702 100644
--- a/libgepub/meson.build
+++ b/libgepub/meson.build
@@ -8,7 +8,7 @@ headers = files(
install_headers(
headers,
- subdir: meson.project_name()
+ subdir: gepub_lib_name
)
private_headers = files('gepub-utils.h')
@@ -31,7 +31,7 @@ if cc.has_argument(test_ldflag)
endif
libgepub = library(
- 'gepub',
+ 'gepub-'+gepub_api_version,
sources: sources,
version: libversion,
soversion: soversion,
@@ -52,10 +52,10 @@ libgepub_dep = declare_dependency(
pkg.generate(
libraries: libgepub,
version: gepub_version,
- name: meson.project_name(),
+ name: gepub_lib_name,
description: 'epub Documents library',
- filebase: meson.project_name(),
- subdirs: meson.project_name(),
+ filebase: gepub_lib_name,
+ subdirs: gepub_lib_name,
requires: 'gio-2.0',
requires_private: [
'libxml-2.0',
diff --git a/meson.build b/meson.build
index b3666d4..a6488c0 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project(
'libgepub', 'c',
- version: '0.5.3',
+ version: '0.6.0',
license: 'LGPL2+',
default_options: 'buildtype=debugoptimized',
meson_version: '>= 0.41.0'
@@ -12,6 +12,7 @@ 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_lib_name = '@0@-@1@'.format(meson.project_name(), gepub_api_version)
gepub_gir_ns = 'Gepub'
gepub_gir_version = '1.0'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]