[gxml] Fixed .pc file set project version



commit 3a20458bd540d0e7159198ff984c243026fa0fdc
Author: Daniel Espinosa <esodan gmail com>
Date:   Fri May 12 09:24:30 2017 -0500

    Fixed .pc file set project version

 gxml/gxml.pc.in  |    2 +-
 meson.build      |    5 -----
 vapi/meson.build |    1 +
 3 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/gxml/gxml.pc.in b/gxml/gxml.pc.in
index d1aa503..5c2723d 100644
--- a/gxml/gxml.pc.in
+++ b/gxml/gxml.pc.in
@@ -7,7 +7,7 @@ includedir=@prefix@/include
 Name: libgxml
 Description: GObject API for XML manipulation and serialization library
 URL: http://live.gnome.org/GXml
-Version: @GXML_VERSION@
+Version: @PROJECT_VERSION@
 Requires: @PCDEPS@
 Libs: -L${libdir} -lgxml-@API_VERSION@
 Cflags: -I${includedir}/gxml-@API_VERSION@
diff --git a/meson.build b/meson.build
index 28eeb57..8a887dc 100644
--- a/meson.build
+++ b/meson.build
@@ -14,11 +14,6 @@ gee = dependency('gee-0.8')
 VALADEPS = 'gee-0.8\ngio-2.0\nlibxml-2.0'
 PCDEPS = 'gee-0.8 gio-2.0 libxml-2.0'
 
-xlibxml_cflags = '-I' + meson.current_source_dir()
-
-conf = configuration_data()
-conf.set('API_VERSION', API_VERSION)
-
 subdir('po')
 subdir('vapi')
 subdir('gxml')
diff --git a/vapi/meson.build b/vapi/meson.build
index e8a9d95..51c76f7 100644
--- a/vapi/meson.build
+++ b/vapi/meson.build
@@ -1,3 +1,4 @@
 configvapi = files ('config.vapi')
 configtestvapi = files('gxml-test.vapi')
 xlibxmlvapi = files ('xlibxml-1.0.vapi')
+xlibxml_cflags = '-I' + meson.source_root()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]