diff options
author | NIIBE Yutaka <[email protected]> | 2018-11-12 00:59:05 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-11-12 00:59:05 +0000 |
commit | a76e145a1057e11953b71f804cf3a499c3ad5362 (patch) | |
tree | 4199f0f6a5f61ea49b298976a029e8e2d33be6c9 | |
parent | build: Provide gpgme.pc, generated by configure. (diff) | |
download | gpgme-a76e145a1057e11953b71f804cf3a499c3ad5362.tar.gz gpgme-a76e145a1057e11953b71f804cf3a499c3ad5362.zip |
build: Provide gpgme-glib.pc too.
* 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 <[email protected]>
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/gpgme-glib.pc.in | 14 | ||||
-rw-r--r-- | src/gpgme.pc.in | 1 |
3 files changed, 17 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index e6148fcd..435544ae 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,10 +19,11 @@ ## 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 index 00000000..bd42a316 --- /dev/null +++ b/src/gpgme-glib.pc.in @@ -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 diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in index 35d85647..be288b81 100644 --- a/src/gpgme.pc.in +++ b/src/gpgme.pc.in @@ -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 |