diff options
author | Amy Liffey <amynka@gentoo.org> | 2018-01-12 17:48:28 +0100 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2018-01-12 17:53:37 +0100 |
commit | dd88a5f7931f651b1728c492d9fb5132a7d7035c (patch) | |
tree | b0180b9ba8a97c44c36079468fff52e6d42ca123 /app-crypt/eid-mw | |
parent | virtual/libelf: drop arm64 on libelf-2 for dev profiles (diff) | |
download | gentoo-dd88a5f7931f651b1728c492d9fb5132a7d7035c.tar.gz gentoo-dd88a5f7931f651b1728c492d9fb5132a7d7035c.tar.bz2 gentoo-dd88a5f7931f651b1728c492d9fb5132a7d7035c.zip |
app-crypt/eid-mw: version bump 4.3.6
Submitted-by: Vincent Hardy <vincent.hardy.be@gmail.com>
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-crypt/eid-mw')
-rw-r--r-- | app-crypt/eid-mw/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/eid-mw/eid-mw-4.3.6.ebuild | 96 |
2 files changed, 97 insertions, 0 deletions
diff --git a/app-crypt/eid-mw/Manifest b/app-crypt/eid-mw/Manifest index 79a3531baf4f..29fb5147ce87 100644 --- a/app-crypt/eid-mw/Manifest +++ b/app-crypt/eid-mw/Manifest @@ -1,3 +1,4 @@ DIST eid-mw-4.2.0.tar.gz 8508064 BLAKE2B bccca84b2ec08e4237816f61c0f2416325f4c34c66756f87c72208f5b79ebafffe91062f9fd3109562f0150793c1b849a5b57bd08533fbf4a8d0e78441131435 SHA512 c0785e25c8b3640d0b60110553a520df3c3c5a0774f4f3fba6a4d9329c0d6e6187b0837d8c254a3959ffa798dc6299399e6cb8edfc7a20dabca080b61f532a5f DIST eid-mw-4.2.5.tar.gz 7751526 BLAKE2B 4836dc3a5ba4d781b8c342231cbbe74411fc6f0bf4b32eaa42ac28ea7688815361f74a1def371a05e250d3249af7ff58d24a66062fe169717872d6789ffb54f1 SHA512 cf00f6aa295c3d057e77faddde31ba6b00ce44402bc0ad141c773fb58067d7cf2e107fc5f3a294be8731de592cb0895537cd29ad4e69f6721e6c77fa99c12075 DIST eid-mw-4.2.8.tar.gz 7076407 BLAKE2B e1d9b375adb326cb710da9eb5cd125086cb40b6ee37ce2ac3912ac4b5fa9c92d66c8af002a47c9ce73ff98ad2306e96529e1c87486eb0f36e61a1f4eb2231b9f SHA512 bf910e8b5bad40fe65765524af20cf18e2c615b6b7bddfdd3024309d90767952875f1c264ea8bd8dfc73621a41683fce02501febe71c016816ccc0f75d88d8cb +DIST eid-mw-4.3.6.tar.gz 7515482 BLAKE2B 8895564736be83ad2f9797a6cfcbc6cb50a928c36508b9ddcf8e9032d7b4de9284745d711a7664edba106ad005a63eb1fddb5c1e639305b4af12f49ab8dbc61c SHA512 336181c21896bec0e7a0a67f5bc739fdc63ca7b17eb6fefa98b6d468810fcdb52ecb6a64f267cdcfc063a2ef599d033064ec90b6bb41ec7ceccc2ca8e829a82b diff --git a/app-crypt/eid-mw/eid-mw-4.3.6.ebuild b/app-crypt/eid-mw/eid-mw-4.3.6.ebuild new file mode 100644 index 000000000000..b75d2070e209 --- /dev/null +++ b/app-crypt/eid-mw/eid-mw-4.3.6.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools mozextension gnome2-utils + +DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government" +HOMEPAGE="https://eid.belgium.be" +SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~arm" +IUSE="+dialogs +gtk p11-kit +xpi" + +RDEPEND=">=sys-apps/pcsc-lite-1.2.9 + gtk? ( + x11-libs/gdk-pixbuf[jpeg] + x11-libs/gtk+:* + dev-libs/libxml2 + net-misc/curl[ssl] + net-libs/libproxy + !app-misc/eid-viewer-bin + ) + p11-kit? ( app-crypt/p11-kit ) + xpi? ( || ( >=www-client/firefox-bin-3.6.24 + >=www-client/firefox-3.6.20 ) )" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +REQUIRED_USE="dialogs? ( gtk )" + +src_prepare() { + default + + sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die + sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || 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 + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable dialogs) \ + $(use_enable p11-kit p11kit) \ + $(use_with gtk gtkvers 'detect') \ + --with-gnu-ld \ + --disable-static \ + --disable-signed +} + +src_install() { + default + + if use xpi; then + declare MOZILLA_FIVE_HOME + if has_version '>=www-client/firefox-3.6.20'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox" + xpi_install "${ED}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be" + fi + if has_version '>=www-client/firefox-bin-3.6.24'; then + MOZILLA_FIVE_HOME="/opt/firefox" + xpi_install "${ED}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be" + fi + else + rm -r "${ED}"/usr/$(get_libdir)/mozilla || die + fi + rm -r "${ED}/usr/share/mozilla" "${ED}"/usr/$(get_libdir)/*.la || die + + if use gtk; then + rm -r "${ED}/usr/include/eid-util" || die + fi +} + +pkg_postinst(){ + if use gtk; then + gnome2_schemas_update + gnome2_icon_cache_update + fi +} + +pkg_postrm(){ + if use gtk; then + gnome2_schemas_update + gnome2_icon_cache_update + fi +} |