diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-29 11:30:00 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 19:38:55 +0000 |
commit | d3b61aa2c12d86f3c47e54abb4271b03797b2857 (patch) | |
tree | 82e0017f6a979647fabe42df86fc02a048f70993 /community/gpgme/APKBUILD | |
parent | 2c548e7ab08477bbe469934f951bcb41b5e020e2 (diff) | |
download | aports-d3b61aa2c12d86f3c47e54abb4271b03797b2857.tar.bz2 aports-d3b61aa2c12d86f3c47e54abb4271b03797b2857.tar.xz |
community/gpgme: enable qgpgme subpackage
Diffstat (limited to 'community/gpgme/APKBUILD')
-rw-r--r-- | community/gpgme/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/community/gpgme/APKBUILD b/community/gpgme/APKBUILD index cf9bb482ee..c494bb6164 100644 --- a/community/gpgme/APKBUILD +++ b/community/gpgme/APKBUILD @@ -1,23 +1,21 @@ -# Contributor: +# Contributor: # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gpgme pkgver=1.13.0 -pkgrel=1 +pkgrel=2 pkgdesc="gnupg made easy" url="https://www.gnupg.org/related_software/gpgme/" arch="all" license="LGPL-2.1-or-later GPL-3.0-or-later" depends="gnupg" -depends_dev="libgpg-error-dev libassuan-dev" -makedepends="$depends_dev python3-dev py3-setuptools swig" -subpackages="$pkgname-dev $pkgname-doc gpgmepp py3-gpgme:py3" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev python3-dev py3-setuptools swig libgpg-error-dev libassuan-dev" +subpackages="$pkgname-dev $pkgname-doc gpgmepp py3-gpgme:py3 q$pkgname" source="https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2 0001-Disable-failing-tests-x86-armhf.patch " -builddir="$srcdir"/gpgme-$pkgver build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -26,17 +24,15 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --enable-languages="cl cpp python" + --enable-languages="cl cpp qt python" make } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } check() { - cd "$builddir" make check } @@ -54,5 +50,11 @@ py3() { mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/ } +qgpgme() { + pkgdesc="Qt bindings for GPGME" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libqgpgme.so* "$subpkgdir"/usr/lib/ +} + sha512sums="47a7a67dcc6d111cddd805d288d42e870948114a6dc09ce0675ad8b3d1580bbc2a683e1e70cb2f416919cf2129c72a9ff30e2e3b9527809d04e863cc1f87267b gpgme-1.13.0.tar.bz2 9a461042175e8771b685967059c8760050094925a4a577b62d2a4a3c5a4c135e857aa812f5cf6019241e73c941837ad449a9c51b41fd661957026b0ae9c1198c 0001-Disable-failing-tests-x86-armhf.patch" |