gentoo/app-crypt/gpa/gpa-0.11.0-r2.ebuild
Mike Gilbert e240e34daa
app-crypt/gpa: fix icon install directory
Bug: https://bugs.gentoo.org/966859
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2025-11-30 16:02:08 -05:00

50 lines
926 B
Bash

# 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"
}