1 |
commit: 462ed36ef2760c1d8371b5a7ed9c47f5b357c972 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 1 19:16:11 2021 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 1 19:16:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=462ed36e |
7 |
|
8 |
app-crypt/eid-mw: remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Amy Liffey <amynka <AT> gentoo.org> |
12 |
|
13 |
app-crypt/eid-mw/eid-mw-5.0.14.ebuild | 110 ---------------------------------- |
14 |
1 file changed, 110 deletions(-) |
15 |
|
16 |
diff --git a/app-crypt/eid-mw/eid-mw-5.0.14.ebuild b/app-crypt/eid-mw/eid-mw-5.0.14.ebuild |
17 |
deleted file mode 100644 |
18 |
index 93ca542eae1..00000000000 |
19 |
--- a/app-crypt/eid-mw/eid-mw-5.0.14.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,110 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit autotools desktop gnome2-utils xdg-utils |
28 |
- |
29 |
-DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government" |
30 |
-HOMEPAGE="https://eid.belgium.be" |
31 |
-SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} -> ${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="LGPL-3" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64 ~arm ~x86" |
36 |
-IUSE="+dialogs +gtk p11-kit" |
37 |
- |
38 |
-RDEPEND=">=sys-apps/pcsc-lite-1.2.9 |
39 |
- gtk? ( |
40 |
- x11-libs/gdk-pixbuf[jpeg] |
41 |
- x11-libs/gtk+:3 |
42 |
- dev-libs/libxml2 |
43 |
- net-misc/curl[ssl] |
44 |
- net-libs/libproxy |
45 |
- app-crypt/pinentry[gtk] |
46 |
- ) |
47 |
- p11-kit? ( app-crypt/p11-kit )" |
48 |
- |
49 |
-DEPEND="${RDEPEND} |
50 |
- virtual/pkgconfig" |
51 |
- |
52 |
-REQUIRED_USE="dialogs? ( gtk )" |
53 |
- |
54 |
-src_prepare() { |
55 |
- default |
56 |
- |
57 |
- # Buggy internal versioning when autoreconf a tarball release. |
58 |
- # Weird numbering is required otherwise we get a seg fault in |
59 |
- # about-eid-mw program. |
60 |
- echo "${PV}-v${PV}" > .version |
61 |
- |
62 |
- # xpi module : we don't want it anymore |
63 |
- sed -i -e '/SUBDIRS/ s:plugins_tools/xpi ::' Makefile.am || die |
64 |
- sed -i -e '/plugins_tools\/xpi/ d' configure.ac || die |
65 |
- |
66 |
- # hardcoded lsb_info |
67 |
- sed -i \ |
68 |
- -e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \ |
69 |
- -e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \ |
70 |
- -e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \ |
71 |
- plugins_tools/aboutmw/gtk/about-main.c || die |
72 |
- |
73 |
- # Fix libdir for pkcs11_manifestdir |
74 |
- sed -i \ |
75 |
- -e "/pkcs11_manifestdir/ s:prefix)/lib:libdir):" \ |
76 |
- cardcomm/pkcs11/src/Makefile.am || die |
77 |
- |
78 |
- # See bug #732994 |
79 |
- sed -i \ |
80 |
- -e '/LDFLAGS="/ s:$CPPFLAGS:$LDFLAGS:' \ |
81 |
- configure.ac || die |
82 |
- |
83 |
- # See bug #751472 |
84 |
- eapply "${FILESDIR}/use-printf-in-Makefile.patch" |
85 |
- |
86 |
- eautoreconf |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- econf \ |
91 |
- $(use_enable dialogs) \ |
92 |
- $(use_enable p11-kit p11kit) \ |
93 |
- $(use_with gtk gtkvers 'detect') \ |
94 |
- --with-gnu-ld \ |
95 |
- --disable-static |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- default |
100 |
- rm -r "${ED}"/usr/$(get_libdir)/*.la || die |
101 |
- if use gtk; then |
102 |
- domenu plugins_tools/eid-viewer/eid-viewer.desktop |
103 |
- doicon plugins_tools/eid-viewer/gtk/eid-viewer.png |
104 |
- fi |
105 |
-} |
106 |
- |
107 |
-pkg_postinst() { |
108 |
- if use gtk; then |
109 |
- gnome2_schemas_update |
110 |
- xdg_desktop_database_update |
111 |
- xdg_icon_cache_update |
112 |
- |
113 |
- local peimpl=$(eselect --brief --colour=no pinentry show) |
114 |
- case "${peimpl}" in |
115 |
- *gtk*) ;; |
116 |
- *) ewarn "The pinentry front-end currently selected is not supported by eid-mw." |
117 |
- ewarn "You may be prompted for your pin code in an inaccessible shell!!" |
118 |
- ewarn "Please select pinentry-gtk-2 as default pinentry provider:" |
119 |
- ewarn " # eselect pinentry set pinentry-gtk-2" |
120 |
- ;; |
121 |
- esac |
122 |
- fi |
123 |
-} |
124 |
- |
125 |
-pkg_postrm() { |
126 |
- if use gtk; then |
127 |
- gnome2_schemas_update |
128 |
- xdg_desktop_database_update |
129 |
- xdg_icon_cache_update |
130 |
- fi |
131 |
-} |