1
Fork 0

app-crypt/eid-mw: new version 9999

Signed-off-by: Amy Liffey <amynka@gentoo.org>
This commit is contained in:
Vincent Hardy 2024-04-14 17:02:11 +02:00 committed by Amy Liffey
parent a9805fa340
commit 6a27d1da24
No known key found for this signature in database
GPG Key ID: A6CC832E4E670EB9
1 changed files with 6 additions and 26 deletions

View File

@ -13,19 +13,19 @@ LICENSE="LGPL-3"
SLOT="0"
IUSE="+dialogs +gtk p11-kit"
RDEPEND=">=sys-apps/pcsc-lite-1.2.9
RDEPEND="sys-apps/pcsc-lite
gtk? (
x11-libs/gdk-pixbuf[jpeg]
x11-libs/gtk+:3
dev-libs/libxml2
net-misc/curl[ssl]
net-libs/libproxy
>=app-crypt/pinentry-1.1.0-r4[gtk]
app-crypt/pinentry[gtk]
)
p11-kit? ( app-crypt/p11-kit )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
REQUIRED_USE="dialogs? ( gtk )"
@ -43,20 +43,6 @@ src_prepare() {
-e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \
plugins_tools/aboutmw/gtk/about-main.c || die
# Fix libdir for manifestdir
sed -i \
-e "/pkcs11_manifestdir/ s:prefix)/lib:libdir):" \
-e "/managed_storage_manifestdir/ s:prefix)/lib:libdir):" \
cardcomm/pkcs11/src/Makefile.am || die
# See bug #732994
sed -i \
-e '/LDFLAGS="/ s:$CPPFLAGS:$LDFLAGS:' \
configure.ac || die
# See bug #751472
eapply "${FILESDIR}/use-printf-in-Makefile.patch"
# See bug #811270 (remove uml build)
sed -i \
-e 's:cardlayer/uml::' \
@ -65,11 +51,6 @@ src_prepare() {
-e 's:uml::' \
plugins_tools/eid-viewer/Makefile.am || die
# See bug #923375
sed -i \
-e 's:C_Sign(NULL,:C_Sign(NULL_PTR,:' \
tests/unit/sign_state.c || die
eautoreconf
}
@ -77,9 +58,8 @@ src_configure() {
econf \
$(use_enable dialogs) \
$(use_enable p11-kit p11kit) \
$(use_with gtk gtkvers 'detect') \
--with-gnu-ld \
--disable-static
$(use_with gtk gtkvers '3') \
--with-gnu-ld
}
src_install() {