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 <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2018-11-12 09:59:05 +09:00
parent f3e6052189
commit a76e145a10
3 changed files with 17 additions and 3 deletions

View File

@ -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

14
src/gpgme-glib.pc.in Normal file
View File

@ -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

View 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