From a76e145a1057e11953b71f804cf3a499c3ad5362 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Mon, 12 Nov 2018 09:59:05 +0900 Subject: [PATCH] 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 --- src/Makefile.am | 5 +++-- src/gpgme-glib.pc.in | 14 ++++++++++++++ src/gpgme.pc.in | 1 - 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 src/gpgme-glib.pc.in 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