diff options
Diffstat (limited to 'app-crypt/gpa/gpa-0.11.0-r2.ebuild')
| -rw-r--r-- | app-crypt/gpa/gpa-0.11.0-r2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-crypt/gpa/gpa-0.11.0-r2.ebuild b/app-crypt/gpa/gpa-0.11.0-r2.ebuild new file mode 100644 index 000000000000..a065fe0b7ca9 --- /dev/null +++ b/app-crypt/gpa/gpa-0.11.0-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools xdg + +DESCRIPTION="GNU Privacy Assistant (GPA): a graphical user interface for GnuPG" +HOMEPAGE="https://gnupg.org/software/gpa/" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" +IUSE="nls" + +RDEPEND=" + >=app-crypt/gnupg-2:= + >=app-crypt/gpgme-1.11.1:= + >=dev-libs/libassuan-1.1.0:= + >=dev-libs/libgpg-error-1.33:= + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + # Backports, drop on bump + "${FILESDIR}"/${PV} + + # https://bugs.gentoo.org/966859 + "${FILESDIR}"/gpa-0.11.0-icondir.patch +) + +src_prepare() { + default + eautoreconf + + sed -i 's/Application;//' gpa.desktop || die +} + +src_configure() { + econf \ + $(use_enable nls) \ + GPGKEYS_LDAP="/usr/libexec/gpgkeys_ldap" +} |
