diff options
author | 2017-11-14 22:10:52 +0200 | |
---|---|---|
committer | 2017-11-14 22:11:16 +0200 | |
commit | 99a3483d080a34c497638564218ae2675cc57d65 (patch) | |
tree | 53d7fb72da473c7c5a0c022ac6b0e5c5279a8268 | |
parent | x11-libs/gtk+: Remove ancient versions; main tree gtk+ should be fine for rpi... (diff) | |
download | leio-99a3483d080a34c497638564218ae2675cc57d65.tar.gz leio-99a3483d080a34c497638564218ae2675cc57d65.tar.bz2 leio-99a3483d080a34c497638564218ae2675cc57d65.zip |
www-plugins/chrome-token-signing: Add Estonian ID card browser extension test ebuild
-rw-r--r-- | www-plugins/chrome-token-signing/Manifest | 1 | ||||
-rw-r--r-- | www-plugins/chrome-token-signing/chrome-token-signing-1.0.6.ebuild | 53 | ||||
-rw-r--r-- | www-plugins/chrome-token-signing/metadata.xml | 8 |
3 files changed, 62 insertions, 0 deletions
diff --git a/www-plugins/chrome-token-signing/Manifest b/www-plugins/chrome-token-signing/Manifest new file mode 100644 index 0000000..0a6d875 --- /dev/null +++ b/www-plugins/chrome-token-signing/Manifest @@ -0,0 +1 @@ +DIST chrome-token-signing-1.0.6.tar.gz 185486 SHA256 b2a8d40e93b0bb9c0edd6b9dab70c431134172e5aba6d0c67a71df22026bc5ab SHA512 81591fab0bcfcff75af332519e17bc2be91d393e7ce24dd886e5baf8e72214e3d8198954174316071fbf489f09aefcc397355557abd019717deb61aed86609d5 WHIRLPOOL e3f2726b722ffd6f1bf5e9818794dd4599aa76732fcffdbb09793c3b3b2bd44bcff93bce91265be4a9971dc2fec9d0ce6c9a2460804657079b60a5649dff1515 diff --git a/www-plugins/chrome-token-signing/chrome-token-signing-1.0.6.ebuild b/www-plugins/chrome-token-signing/chrome-token-signing-1.0.6.ebuild new file mode 100644 index 0000000..829829b --- /dev/null +++ b/www-plugins/chrome-token-signing/chrome-token-signing-1.0.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="eID signatures WebExtension native host component" +HOMEPAGE="https://github.com/open-eid/chrome-token-signing/wiki" +SRC_URI="https://github.com/open-eid/chrome-token-signing/archive/v${PV}.tar.gz -> chrome-token-signing-${PV}.tar.gz" +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-qt/qtwidgets:5 + dev-qt/qtnetwork:5 + dev-libs/openssl:= + >=dev-libs/opensc-0.14[pcsc-lite] + app-crypt/ccid" +DEPEND="${RDEPEND}" +S="${S}/host-linux" + +src_prepare() { + default + rm GNUmakefile || die # avoid any chance of using this instead of qmake stuff + sed -i -e "s:INSTALLS += target hostconf ffconf extension ffextension:INSTALLS += target ffconf extension ffextension:" \ + chrome-token-signing.pro || die +} + +src_configure() { + eqmake5 +} + +src_install() { + # Native component + dobin chrome-token-signing + # Chrome JSON files + insinto /usr/share/chrome-token-signing + doins ee.ria.esteid.json + doins ../ckjefchnfjhjfedoccjbhjpbncimppeg.json + # Firefox JSON + insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts + doins ff/ee.ria.esteid.json + # Firefox extension + insinto /usr/share/mozilla/extensions/\{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} + doins ../\{443830f0-1fff-4f9a-aa1e-444bafbc7319\}.xpi + + # Various links + dosym ../../../../usr/share/chrome-token-signing/ee.ria.esteid.json /etc/opt/chrome/native-messaging-hosts/ee.ria.esteid.json + dosym ../../../usr/share/chrome-token-signing/ee.ria.esteid.json /etc/chromium/native-messaging-hosts/ee.ria.esteid.json + # TODO: json links +} diff --git a/www-plugins/chrome-token-signing/metadata.xml b/www-plugins/chrome-token-signing/metadata.xml new file mode 100644 index 0000000..75dd1e0 --- /dev/null +++ b/www-plugins/chrome-token-signing/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>leio@gentoo.org</email> + <name>Mart Raudsepp</name> + </maintainer> +</pkgmetadata> |