diff options
author | Joao Carreira <jfmcarreira@gmail.com> | 2021-02-17 23:01:28 +0000 |
---|---|---|
committer | Joao Carreira <jfmcarreira@gmail.com> | 2021-02-17 23:01:28 +0000 |
commit | f1e324436d419670aa20d15cb2e6c10310e0d359 (patch) | |
tree | 323393223b4aa2cf21b2ff3d1e99d32cbde828db | |
parent | dev-libs/xml-security-c: add version 1.73 and 2.0.2 (diff) | |
download | carreira-f1e324436d419670aa20d15cb2e6c10310e0d359.tar.gz carreira-f1e324436d419670aa20d15cb2e6c10310e0d359.tar.bz2 carreira-f1e324436d419670aa20d15cb2e6c10310e0d359.zip |
app-misc/plugin-autenticacao-gov: rename package
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Joao Carreira <jfmcarreira@gmail.com>
4 files changed, 71 insertions, 0 deletions
diff --git a/app-misc/plugin-autenticacao-gov/Manifest b/app-misc/plugin-autenticacao-gov/Manifest new file mode 100644 index 0000000..f5a43e5 --- /dev/null +++ b/app-misc/plugin-autenticacao-gov/Manifest @@ -0,0 +1 @@ +DIST plugin-autenticacao-gov.deb 1076254 SHA256 d3047b6c57b557ba5c98ec298a7db94812b833c91ff885f75102cabd52dfcb54 SHA512 6f2b8a52b41755fd2929e8d955c37426e52ed8066b745b5d34d3270692e6dc10c649ca5994602201d618bfd07421de10c447347e44502228ecc574df4a004dbe WHIRLPOOL 81cb172fa180dbde6f2e7c51b8a823715cdbdc83490d19a332d8a3f81b3be9cafa45ca131b4d79e21bc22d90e11e6ed49317252d1f85e19e5d6d181c886d81d9 diff --git a/app-misc/plugin-autenticacao-gov/files/cartao-cidadao-auth.desktop b/app-misc/plugin-autenticacao-gov/files/cartao-cidadao-auth.desktop new file mode 100644 index 0000000..03c3347 --- /dev/null +++ b/app-misc/plugin-autenticacao-gov/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/plugin-autenticacao-gov/plugin-autenticacao-gov.jar sj +Icon=plugin-autenticacao-gov +Terminal=false +Type=Application +Categories=Utility diff --git a/app-misc/plugin-autenticacao-gov/metadata.xml b/app-misc/plugin-autenticacao-gov/metadata.xml new file mode 100644 index 0000000..65f1d14 --- /dev/null +++ b/app-misc/plugin-autenticacao-gov/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> diff --git a/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.50.ebuild b/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.50.ebuild new file mode 100644 index 0000000..1c7a386 --- /dev/null +++ b/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-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 +} |