From 43de07cc54521a3681d7005f490d8b7dce395877 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Mon, 10 Oct 2016 22:09:50 +0200 Subject: [PATCH] gpgme: split off gpgmepp{,-devel} subpkgs --- common/shlibs | 2 +- srcpkgs/gpgme/template | 25 ++++++++++++++++++++++--- srcpkgs/gpgmepp | 1 + srcpkgs/gpgmepp-devel | 1 + 4 files changed, 25 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/gpgmepp create mode 120000 srcpkgs/gpgmepp-devel diff --git a/common/shlibs b/common/shlibs index fd6a9073aef..430f316a1fc 100644 --- a/common/shlibs +++ b/common/shlibs @@ -666,7 +666,7 @@ libdconf-dbus-1.so.0 dconf-0.13.90_1 libassuan.so.0 libassuan-2.0.1_1 libgpgme.so.11 gpgme-1.3.0_1 libgpgme-pthread.so.11 gpgme-1.3.0_1 -libgpgmepp.so.6 gpgme-1.7.0_1 +libgpgmepp.so.6 gpgmepp-1.7.0_3 libgarcon-1.so.0 garcon-0.1.12_1 libgarcon-gtk2-1.so.0 garcon-0.4.0_1 libxfce4ui-1.so.0 libxfce4ui-4.9.2_1 diff --git a/srcpkgs/gpgme/template b/srcpkgs/gpgme/template index 829f8b7dc0e..0d0c146c80e 100644 --- a/srcpkgs/gpgme/template +++ b/srcpkgs/gpgme/template @@ -1,7 +1,7 @@ # Template file for 'gpgme' pkgname=gpgme version=1.7.0 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-fd-passing --disable-gpgconf-test --disable-gpg-test --disable-gpgsm-test @@ -26,8 +26,27 @@ gpgme-devel_package() { short_desc+=" - development files" pkg_install() { vmove usr/bin/gpgme-config - vmove usr/include + vmove usr/include/gpgme.h vmove usr/share - vmove "usr/lib/*.so" + vmove usr/lib/libgpgme.so + vmove usr/lib/libgpgme-pthread.so + } +} + +gpgmepp_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - C++ library" + pkg_install() { + vmove usr/lib/libgpgmepp.so.* + } +} + +gpgmepp-devel_package() { + depends="gpgme-devel>=${version}_${revision} gpgmepp-libs>=${version}_${revision}" + short_desc+=" - C++ library development files" + pkg_install() { + vmove usr/include/gpgmepp_version.h + vmove usr/include/gpgme++ + vmove usr/lib/libgpgmepp.so } } diff --git a/srcpkgs/gpgmepp b/srcpkgs/gpgmepp new file mode 120000 index 00000000000..b291e753127 --- /dev/null +++ b/srcpkgs/gpgmepp @@ -0,0 +1 @@ +gpgme \ No newline at end of file diff --git a/srcpkgs/gpgmepp-devel b/srcpkgs/gpgmepp-devel new file mode 120000 index 00000000000..b291e753127 --- /dev/null +++ b/srcpkgs/gpgmepp-devel @@ -0,0 +1 @@ +gpgme \ No newline at end of file