app-crypt/gpa: allow build w/ >=libassuan-3

Delete the bundled macro so it uses the system copy which knows libassuan-3
is compatible with libassuan-2 API-wise.

(Just as we did for pinentry in 7b07caa9d1459f9cba33cb8e7fceddf23a36583d.)

Closes: https://bugs.gentoo.org/934802
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-06-25 01:27:58 +01:00
parent 4f7205a68c
commit e7d0eed9c7

View File

@@ -24,8 +24,10 @@ RDEPEND="
>=x11-libs/gtk+-2.10.0:2=
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
nls? ( sys-devel/gettext )"
BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
PATCHES=(
"${WORKDIR}"/${P}-autoconf.patch
@@ -33,7 +35,12 @@ PATCHES=(
src_prepare() {
default
sed -i 's/Application;//' gpa.desktop
sed -i 's/Application;//' gpa.desktop || die
# bug #934802 (can drop on next release > 0.10.0)
rm m4/libassuan.m4 || die
eautoreconf
}