security/gpa: Update to 0.11.0

Last release was over 6 years ago and even upstream is deferring to the
commit history for changes. Of note, however, is that the application
has been ported from GTK+2 to GTK+3.

https://dev.gnupg.org/T7449
This commit is contained in:
Jason E. Hale 2024-12-26 22:36:09 -05:00
parent c8ea8c2027
commit fcaef4f347
4 changed files with 19 additions and 23 deletions

View file

@ -1,24 +1,23 @@
PORTNAME= gpa
PORTVERSION= 0.10.0
PORTREVISION= 3
PORTVERSION= 0.11.0
CATEGORIES= security
MASTER_SITES= GNUPG/gpa
MAINTAINER= jhale@FreeBSD.org
COMMENT= GTK2+ frontend for the GNU Privacy Guard
WWW= https://gpa.wald.intevation.org/
COMMENT= GTK3+ frontend for the GNU Privacy Guard
WWW= https://www.gnupg.org/software/gpa/index.html
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gpgv2:security/gnupg
LIB_DEPENDS= libassuan.so:security/libassuan \
libgpgme.so:security/gpgme \
libgpg-error.so:security/libgpg-error
BUILD_DEPENDS= gpgv2:security/gnupg
RUN_DEPENDS= gpgv2:security/gnupg
USES= desktop-file-utils gmake gnome localbase pkgconfig tar:bzip2
USE_GNOME= gdkpixbuf2 gtk20
USE_GNOME= gdkpixbuf2 gtk30
GNU_CONFIGURE= yes
CONFIGURE_ENV+= GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap"

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1540943941
SHA256 (gpa-0.10.0.tar.bz2) = 95dbabe75fa5c8dc47e3acf2df7a51cee096051e5a842b4c9b6d61e40a6177b1
SIZE (gpa-0.10.0.tar.bz2) = 782455
TIMESTAMP = 1735157724
SHA256 (gpa-0.11.0.tar.bz2) = 26a8fa5bf70541cb741f0c71b7cfe291b1ea56eab68eeb07aa962cef5cdf33cc
SIZE (gpa-0.11.0.tar.bz2) = 827217

View file

@ -1,15 +1,13 @@
Fix configure with security/libassuan 3.x
Fix path of pkgconfig files passed to gpgrt-config.
--- configure.orig 2018-10-16 21:44:05 UTC
--- configure.orig 2024-12-10 20:20:58 UTC
+++ configure
@@ -2256,8 +2256,8 @@ NEED_GPG_ERROR_VERSION=1.27
NEED_GPG_ERROR_VERSION=1.27
-NEED_LIBASSUAN_API=2
-NEED_LIBASSUAN_VERSION=2.4.2
+NEED_LIBASSUAN_API=3
+NEED_LIBASSUAN_VERSION=3.0.0
NEED_GPGME_API=1
NEED_GPGME_VERSION=1.9.0
@@ -9283,7 +9283,7 @@ fi
# Get the prefix of gpgrt-config assuming it's something like:
# <PREFIX>/bin/gpgrt-config
gpgrt_prefix=${GPGRT_CONFIG%/*/*}
- possible_libdir1=${gpgrt_prefix}/lib
+ possible_libdir1=${gpgrt_prefix}/libdata
# Determine by using system libdir-format with CC, it's like:
# Normal style: /usr/lib
# GNU cross style: /usr/<triplet>/lib

View file

@ -17,4 +17,3 @@ share/applications/gpa.desktop
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gpa.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/gpa.mo
share/man/man1/gpa.1.gz
share/pixmaps/gpa.png