diff options
author | NIIBE Yutaka <[email protected]> | 2018-11-12 00:03:49 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-11-12 00:03:49 +0000 |
commit | f3e60521899e6126229b6efedc9f011b84122e11 (patch) | |
tree | 6990a34876742ced477bd0937ca286b38e393c84 /src/gpgme.pc.in | |
parent | spelling: fix misspellings (diff) | |
download | gpgme-f3e60521899e6126229b6efedc9f011b84122e11.tar.gz gpgme-f3e60521899e6126229b6efedc9f011b84122e11.zip |
build: Provide gpgme.pc, generated by configure.
* configure.ac: Generate src/gpgme.pc.
* src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
(EXTRA_DIST): Add gpgme.pc.in.
* src/gpgme.pc.in: New.
* src/gpgme-config.in: Use variables.
--
Some usages of gpgme-config is not compatible to pkg-config style;
The --glib option and --thread option which affect the output
by --cflags or --libs are not supported by gpgme.pc.
gpgme-config's embedding information for gpg-error and libassuan at
the build time of gpgme is considered inflexible than pkg-config
style. It is now handled by dependency of gpgme.pc (Requires field).
To use gpgme.pc, newer libgpg-error (>= 1.33) and libassuan (>= 2.5.3)
are required, which provide gpg-error.pc and libassuan.pc respectively.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'src/gpgme.pc.in')
-rw-r--r-- | src/gpgme.pc.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in new file mode 100644 index 00000000..35d85647 --- /dev/null +++ b/src/gpgme.pc.in @@ -0,0 +1,15 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +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 +Requires: gpg-error, libassuan +Version: @PACKAGE_VERSION@ +Cflags: @GPGME_CONFIG_CFLAGS@ +Libs: @GPGME_CONFIG_LIBS@ +URL: https://www.gnupg.org/software/gpgme/index.html |