commit 70f4c448e184aa8c788cc6097f1770c1eb1738da Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Dec 17 23:39:45 2016 +1100 gpgme-qt5: initial import diff --git a/gpgme-qt5/.footprint b/gpgme-qt5/.footprint new file mode 100644 index 0000000..1c6b5f0 --- /dev/null +++ b/gpgme-qt5/.footprint @@ -0,0 +1,91 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/gpgme/ +-rw-r--r-- root/root usr/etc/gpgme/qt +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/QGpgME/ +-rw-r--r-- root/root usr/include/QGpgME/AbstractImportJob +-rw-r--r-- root/root usr/include/QGpgME/AddUserIDJob +-rw-r--r-- root/root usr/include/QGpgME/ChangeExpiryJob +-rw-r--r-- root/root usr/include/QGpgME/ChangeOwnerTrustJob +-rw-r--r-- root/root usr/include/QGpgME/ChangePasswdJob +-rw-r--r-- root/root usr/include/QGpgME/CryptoConfig +-rw-r--r-- root/root usr/include/QGpgME/DN +-rw-r--r-- root/root usr/include/QGpgME/DataProvider +-rw-r--r-- root/root usr/include/QGpgME/DecryptJob +-rw-r--r-- root/root usr/include/QGpgME/DecryptVerifyJob +-rw-r--r-- root/root usr/include/QGpgME/DefaultKeyGenerationJob +-rw-r--r-- root/root usr/include/QGpgME/DeleteJob +-rw-r--r-- root/root usr/include/QGpgME/DownloadJob +-rw-r--r-- root/root usr/include/QGpgME/EncryptJob +-rw-r--r-- root/root usr/include/QGpgME/ExportJob +-rw-r--r-- root/root usr/include/QGpgME/HierarchicalKeyKistJob +-rw-r--r-- root/root usr/include/QGpgME/ImportFromKeyserverJob +-rw-r--r-- root/root usr/include/QGpgME/ImportJob +-rw-r--r-- root/root usr/include/QGpgME/Job +-rw-r--r-- root/root usr/include/QGpgME/KeyForMailboxJob +-rw-r--r-- root/root usr/include/QGpgME/KeyGenerationJob +-rw-r--r-- root/root usr/include/QGpgME/KeyListJob +-rw-r--r-- root/root usr/include/QGpgME/ListAllKeysJob +-rw-r--r-- root/root usr/include/QGpgME/MultiDeleteJob +-rw-r--r-- root/root usr/include/QGpgME/Protocol +-rw-r--r-- root/root usr/include/QGpgME/QGpgMENewCryptoConfig +-rw-r--r-- root/root usr/include/QGpgME/RefreshKeysJob +-rw-r--r-- root/root usr/include/QGpgME/SignEncryptJob +-rw-r--r-- root/root usr/include/QGpgME/SignJob +-rw-r--r-- root/root usr/include/QGpgME/SignKeyJob +-rw-r--r-- root/root usr/include/QGpgME/SpecialJob +-rw-r--r-- root/root usr/include/QGpgME/TofuPolicyJob +-rw-r--r-- root/root usr/include/QGpgME/VerifyDetachedJob +-rw-r--r-- root/root usr/include/QGpgME/VerifyOpaqueJob +-rw-r--r-- root/root usr/include/QGpgME/WKSPublishJob +drwxr-xr-x root/root usr/include/qgpgme/ +-rw-r--r-- root/root usr/include/qgpgme/abstractimportjob.h +-rw-r--r-- root/root usr/include/qgpgme/adduseridjob.h +-rw-r--r-- root/root usr/include/qgpgme/changeexpiryjob.h +-rw-r--r-- root/root usr/include/qgpgme/changeownertrustjob.h +-rw-r--r-- root/root usr/include/qgpgme/changepasswdjob.h +-rw-r--r-- root/root usr/include/qgpgme/cryptoconfig.h +-rw-r--r-- root/root usr/include/qgpgme/dataprovider.h +-rw-r--r-- root/root usr/include/qgpgme/decryptjob.h +-rw-r--r-- root/root usr/include/qgpgme/decryptverifyjob.h +-rw-r--r-- root/root usr/include/qgpgme/defaultkeygenerationjob.h +-rw-r--r-- root/root usr/include/qgpgme/deletejob.h +-rw-r--r-- root/root usr/include/qgpgme/dn.h +-rw-r--r-- root/root usr/include/qgpgme/downloadjob.h +-rw-r--r-- root/root usr/include/qgpgme/encryptjob.h +-rw-r--r-- root/root usr/include/qgpgme/exportjob.h +-rw-r--r-- root/root usr/include/qgpgme/hierarchicalkeylistjob.h +-rw-r--r-- root/root usr/include/qgpgme/importfromkeyserverjob.h +-rw-r--r-- root/root usr/include/qgpgme/importjob.h +-rw-r--r-- root/root usr/include/qgpgme/job.h +-rw-r--r-- root/root usr/include/qgpgme/keyformailboxjob.h +-rw-r--r-- root/root usr/include/qgpgme/keygenerationjob.h +-rw-r--r-- root/root usr/include/qgpgme/keylistjob.h +-rw-r--r-- root/root usr/include/qgpgme/listallkeysjob.h +-rw-r--r-- root/root usr/include/qgpgme/multideletejob.h +-rw-r--r-- root/root usr/include/qgpgme/protocol.h +-rw-r--r-- root/root usr/include/qgpgme/qgpgme_export.h +-rw-r--r-- root/root usr/include/qgpgme/qgpgme_version.h +-rw-r--r-- root/root usr/include/qgpgme/qgpgmenewcryptoconfig.h +-rw-r--r-- root/root usr/include/qgpgme/refreshkeysjob.h +-rw-r--r-- root/root usr/include/qgpgme/signencryptjob.h +-rw-r--r-- root/root usr/include/qgpgme/signjob.h +-rw-r--r-- root/root usr/include/qgpgme/signkeyjob.h +-rw-r--r-- root/root usr/include/qgpgme/specialjob.h +-rw-r--r-- root/root usr/include/qgpgme/tofupolicyjob.h +-rw-r--r-- root/root usr/include/qgpgme/verifydetachedjob.h +-rw-r--r-- root/root usr/include/qgpgme/verifyopaquejob.h +-rw-r--r-- root/root usr/include/qgpgme/wkspublishjob.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cmake/ +drwxr-xr-x root/root usr/lib/cmake/QGpgme/ +-rw-r--r-- root/root usr/lib/cmake/QGpgme/QGpgmeConfig.cmake +-rw-r--r-- root/root usr/lib/cmake/QGpgme/QGpgmeConfigVersion.cmake +-rwxr-xr-x root/root usr/lib/libqgpgme.la +lrwxrwxrwx root/root usr/lib/libqgpgme.so -> libqgpgme.so.7.1.0 +lrwxrwxrwx root/root usr/lib/libqgpgme.so.7 -> libqgpgme.so.7.1.0 +-rwxr-xr-x root/root usr/lib/libqgpgme.so.7.1.0 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ diff --git a/gpgme-qt5/.md5sum b/gpgme-qt5/.md5sum new file mode 100644 index 0000000..8890335 --- /dev/null +++ b/gpgme-qt5/.md5sum @@ -0,0 +1,3 @@ +34078cb2ce4b6e9e89c3cd444556826e gpgme-1.1.8-et_EE.patch +e7f9eec6d2dde8d9cf03cd8596a1f6aa gpgme-1.8.0-cmake.patch +722a4153904b9b5dc15485a22d29263b gpgme-1.8.0.tar.bz2 diff --git a/gpgme-qt5/Pkgfile b/gpgme-qt5/Pkgfile new file mode 100644 index 0000000..4362976 --- /dev/null +++ b/gpgme-qt5/Pkgfile @@ -0,0 +1,40 @@ +# Description: gpgme bindings for qt5. +# URL: http://www.gnupg.org/gpgme.html +# Maintainer: Danny Rawlins, crux at romster dot me +# Packager: Danny Rawlins, crux at romster dot me +# Depends on: gpgme qt5 + +name=gpgme-qt5 +version=1.8.0 +release=1 +source=(https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2 + gpgme-1.1.8-et_EE.patch + gpgme-1.8.0-cmake.patch) + +build() { + cd gpgme-$version + + patch -p1 -i $SRC/gpgme-1.1.8-et_EE.patch + patch -p1 -i $SRC/gpgme-1.8.0-cmake.patch + + ./configure \ + --prefix=/usr \ + --enable-languages='cpp qt' + + make + make DESTDIR=$PKG install + + install -d $PKG/usr/etc/gpgme + echo qt > $PKG/usr/etc/gpgme/qt + + rm \ + $PKG/usr/bin/{gpgme-config,gpgme-tool} \ + $PKG/usr/include/gpgme.h \ + $PKG/usr/lib/libgpgme.* \ + $PKG/usr/share/aclocal/gpgme.m4 + + rm $PKG/usr/lib/libgpgmepp.* + rm -r $PKG/usr/include/gpgme++ $PKG/usr/lib/cmake/Gpgmepp + + rm -r $PKG/usr/share/info +} diff --git a/gpgme-qt5/gpgme-1.1.8-et_EE.patch b/gpgme-qt5/gpgme-1.1.8-et_EE.patch new file mode 100644 index 0000000..293debb --- /dev/null +++ b/gpgme-qt5/gpgme-1.1.8-et_EE.patch @@ -0,0 +1,11 @@ +--- gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:25:48.000000000 +1100 ++++ gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:35:53.000000000 +1100 +@@ -64,7 +64,7 @@ + while test $# -gt 0; do + case "$1" in + -*=*) +- optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ++ optarg=`echo "$1" | sed 's/[-_[:alnum:]]*=//'` + ;; + *) + optarg= diff --git a/gpgme-qt5/gpgme-1.8.0-cmake.patch b/gpgme-qt5/gpgme-1.8.0-cmake.patch new file mode 100644 index 0000000..09775b8 --- /dev/null +++ b/gpgme-qt5/gpgme-1.8.0-cmake.patch @@ -0,0 +1,33 @@ +From 572c1aac107125ce62230251713349348373db5a Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heirecka@exherbo.org> +Date: Wed, 16 Nov 2016 23:09:45 +0100 +Subject: [PATCH] Remove a forgotten instance of @libsuffix@ + +* lang/cpp/src/GpgmeppConfig.cmake.in.in: Remove a forgotten +instance of @libsuffix@. +-- + +b2c07bd47bd608afa5cc819b60a7b5bb8c9dd96a removed @libsuffix@ from +cmake config files, but missed one instance. + +Signed-off-by: Heiko Becker <heirecka@exherbo.org> +--- + lang/cpp/src/GpgmeppConfig.cmake.in.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lang/cpp/src/GpgmeppConfig.cmake.in.in b/lang/cpp/src/GpgmeppConfig.cmake.in.in +index 928d19f..cbe9713 100644 +--- a/lang/cpp/src/GpgmeppConfig.cmake.in.in ++++ b/lang/cpp/src/GpgmeppConfig.cmake.in.in +@@ -63,7 +63,7 @@ add_library(Gpgmepp SHARED IMPORTED) + + set_target_properties(Gpgmepp PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/gpgme++;@resolved_includedir@" +- INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@" ++ INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme.so;@LIBASSUAN_LIBS@" + IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp.so" + ) + +-- +2.8.0.rc3 +