summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Hardy <vincent.hardy.be@gmail.com>2024-08-10 15:56:53 +0200
committerAmy Liffey <amynka@gentoo.org>2024-08-10 15:57:40 +0200
commit34d02a04653bbe96bf4c2b2cc075c5a5702b7aec (patch)
treea1e1d69f63ada33ae19e20dbcd6537aededd9c0e /app-crypt
parentapp-crypt/eid-mw: add 5.1.19 (diff)
downloadgentoo-34d02a04653bbe96bf4c2b2cc075c5a5702b7aec.tar.gz
gentoo-34d02a04653bbe96bf4c2b2cc075c5a5702b7aec.tar.bz2
gentoo-34d02a04653bbe96bf4c2b2cc075c5a5702b7aec.zip
app-crypt/eid-mw: replace sed with patches
Closes: https://bugs.gentoo.org/928106 Signed-off-by: Amy Liffey <amynka@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/eid-mw/eid-mw-9999.ebuild32
1 files changed, 6 insertions, 26 deletions
diff --git a/app-crypt/eid-mw/eid-mw-9999.ebuild b/app-crypt/eid-mw/eid-mw-9999.ebuild
index 3c461d2daa95..6b11be857dc4 100644
--- a/app-crypt/eid-mw/eid-mw-9999.ebuild
+++ b/app-crypt/eid-mw/eid-mw-9999.ebuild
@@ -29,34 +29,14 @@ BDEPEND="virtual/pkgconfig"
REQUIRED_USE="dialogs? ( gtk )"
+PATCHES=(
+ "${FILESDIR}/0001-Do-not-build-xpi-module.patch"
+ "${FILESDIR}/0001-Fix-libdir-for-manifestdir.patch"
+ "${FILESDIR}/0001-Remove-uml-build.patch"
+ )
+
src_prepare() {
default
-
- # xpi module : we don't want it anymore
- sed -i -e '/SUBDIRS/ s:plugins_tools/xpi ::' Makefile.am || die
- sed -i -e '/plugins_tools\/xpi/ d' configure.ac || die
-
- # hardcoded lsb_info
- sed -i \
- -e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \
- -e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \
- -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 #811270 (remove uml build)
- sed -i \
- -e 's:cardlayer/uml::' \
- cardcomm/pkcs11/src/Makefile.am || die
- sed -i \
- -e 's:uml::' \
- plugins_tools/eid-viewer/Makefile.am || die
-
eautoreconf
}