build: Provide gpgme-glib.pc too.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 12 Nov 2018 00:59:05 +0000 (09:59 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 12 Nov 2018 00:59:05 +0000 (09:59 +0900)
* src/gpgme-glib.pc.in: New.
* src/gpgme.pc.in (avail_lang): Remove.

--

Provide gpgme-glib.pc for gpgme-glib library.  The avial_lang
information is no use because *.pc is for C.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/Makefile.am
src/gpgme-glib.pc.in [new file with mode: 0644]
src/gpgme.pc.in

index e6148fc..435544a 100644 (file)
 ## Process this file with automake to produce Makefile.in
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gpgme.pc
+pkgconfig_DATA = gpgme.pc gpgme-glib.pc
 
 EXTRA_DIST = gpgme-config.in gpgme.m4 libgpgme.vers ChangeLog-2011 \
-            gpgme.h.in versioninfo.rc.in gpgme.def gpgme.pc.in
+            gpgme.h.in versioninfo.rc.in gpgme.def \
+            gpgme.pc.in gpgme-glib.pc.in
 
 bin_SCRIPTS = gpgme-config
 m4datadir = $(datadir)/aclocal
diff --git a/src/gpgme-glib.pc.in b/src/gpgme-glib.pc.in
new file mode 100644 (file)
index 0000000..bd42a31
--- /dev/null
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+includedir=@includedir@
+libdir=@libdir@
+host=@GPGME_CONFIG_HOST@
+api_version=@GPGME_CONFIG_API_VERSION@
+
+Name: gpgme-glib
+Description: GnuPG Made Easy to access GnuPG with Glib
+Requires: gpg-error, libassuan, glib-2.0
+Version: @PACKAGE_VERSION@
+Cflags: @GPGME_CONFIG_CFLAGS@
+Libs: @GPGME_CONFIG_LIBS@
+URL: https://www.gnupg.org/software/gpgme/index.html
index 35d8564..be288b8 100644 (file)
@@ -4,7 +4,6 @@ includedir=@includedir@
 libdir=@libdir@
 host=@GPGME_CONFIG_HOST@
 api_version=@GPGME_CONFIG_API_VERSION@
-avail_lang=c @GPGME_CONFIG_AVAIL_LANG@
 
 Name: gpgme
 Description: GnuPG Made Easy to access GnuPG