summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2021-02-15 13:31:02 +0000
committerJoao Carreira <jfmcarreira@gmail.com>2021-02-15 13:31:02 +0000
commit247ebe67ce035a443b5d13530ed2676defcae662 (patch)
tree09ef832b57de197e2a09ed406fce65aaae291714
parentmedia-video/calyp: fix cmake configure function (diff)
downloadcarreira-247ebe67ce035a443b5d13530ed2676defcae662.tar.gz
carreira-247ebe67ce035a443b5d13530ed2676defcae662.tar.bz2
carreira-247ebe67ce035a443b5d13530ed2676defcae662.zip
app-misc/cartao-cidadao-auth: add version 2.0.50
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Joao Carreira <jfmcarreira@gmail.com>
-rw-r--r--app-misc/cartao-cidadao-auth/Manifest1
-rw-r--r--app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.50.ebuild50
-rw-r--r--app-misc/cartao-cidadao-auth/files/cartao-cidadao-auth.desktop12
-rw-r--r--app-misc/cartao-cidadao-auth/metadata.xml8
4 files changed, 71 insertions, 0 deletions
diff --git a/app-misc/cartao-cidadao-auth/Manifest b/app-misc/cartao-cidadao-auth/Manifest
new file mode 100644
index 0000000..f5a43e5
--- /dev/null
+++ b/app-misc/cartao-cidadao-auth/Manifest
@@ -0,0 +1 @@
+DIST plugin-autenticacao-gov.deb 1076254 SHA256 d3047b6c57b557ba5c98ec298a7db94812b833c91ff885f75102cabd52dfcb54 SHA512 6f2b8a52b41755fd2929e8d955c37426e52ed8066b745b5d34d3270692e6dc10c649ca5994602201d618bfd07421de10c447347e44502228ecc574df4a004dbe WHIRLPOOL 81cb172fa180dbde6f2e7c51b8a823715cdbdc83490d19a332d8a3f81b3be9cafa45ca131b4d79e21bc22d90e11e6ed49317252d1f85e19e5d6d181c886d81d9
diff --git a/app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.50.ebuild b/app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.50.ebuild
new file mode 100644
index 0000000..1c7a386
--- /dev/null
+++ b/app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.50.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils unpacker xdg
+
+MY_PN=plugin-autenticacao-gov
+
+DESCRIPTION="Autenticacao do Cartao de Cidadao em java"
+HOMEPAGE="https://www.cartaodecidadao.pt"
+LICENSE="EUPL-1.2"
+
+SRC_URI="https://pluginautenticacaogov.azureedge.net/generic/plugin-autenticacao-gov.deb"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ app-crypt/ccid
+ sys-apps/pcsc-lite
+ sys-apps/pcsc-tools
+ virtual/jre
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+DESTDIR="${D}"
+
+src_unpack() {
+ unpack_deb ${A}
+}
+
+src_install() {
+
+ # install menu
+ domenu "${FILESDIR}/${PN}.desktop"
+
+ # install icons
+ local i
+ for i in 16 22 24 32 48 64 128 256; do
+ newicon -s "${i}x${i}" usr/share/${MY_PN}/plugin_autenticacao_gov_${i}.png ${PN}.png
+ done
+
+ # install jar file
+ insinto /usr/share/cartao-cidadao-auth
+ newins usr/share/${MY_PN}/${MY_PN}.jar ${PN}.jar
+}
diff --git a/app-misc/cartao-cidadao-auth/files/cartao-cidadao-auth.desktop b/app-misc/cartao-cidadao-auth/files/cartao-cidadao-auth.desktop
new file mode 100644
index 0000000..b837267
--- /dev/null
+++ b/app-misc/cartao-cidadao-auth/files/cartao-cidadao-auth.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Portugal ID card authentication
+Name[pt]=Autenticação Cartão do Cidadão
+GenericName=Portugal ID card authentication
+GenericName[pt]=Autenticação Cartão do Cidadão
+Comment=Plugin de autenticação com o Cartão de Cidadão
+Comment[pt]=Plugin for Portugal ID card authentication
+Exec=java -Dsun.java2d.xrender=false -jar /usr/share/cartao-cidadao-auth/cartao-cidadao-auth.jar sj
+Icon=cartao-cidadao-auth
+Terminal=false
+Type=Application
+Categories=Utility
diff --git a/app-misc/cartao-cidadao-auth/metadata.xml b/app-misc/cartao-cidadao-auth/metadata.xml
new file mode 100644
index 0000000..65f1d14
--- /dev/null
+++ b/app-misc/cartao-cidadao-auth/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>jfmcarreira@gmail.com</email>
+ <name>Joao Carreira</name>
+ </maintainer>
+</pkgmetadata>