summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2018-10-11 00:12:43 +0100
committerJoao Carreira <jfmcarreira@gmail.com>2018-10-11 00:12:43 +0100
commit247e098bbc92eb9acf8da211fa6028835d56ad81 (patch)
tree61c32c0940ee23ca193bc1917c7c4955e0fb2700
parentdev-python/guidata: fix dependencies (diff)
downloadcarreira-247e098bbc92eb9acf8da211fa6028835d56ad81.tar.gz
carreira-247e098bbc92eb9acf8da211fa6028835d56ad81.tar.bz2
carreira-247e098bbc92eb9acf8da211fa6028835d56ad81.zip
app-misc/cartao-cidadao-auth: version bump 2.0.31
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--app-misc/cartao-cidadao-auth/Manifest2
-rw-r--r--app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.31.ebuild (renamed from app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.30.ebuild)21
-rw-r--r--app-misc/cartao-cidadao-auth/files/cartao-cidadao-auth.desktop12
3 files changed, 31 insertions, 4 deletions
diff --git a/app-misc/cartao-cidadao-auth/Manifest b/app-misc/cartao-cidadao-auth/Manifest
index ee1da20..c92504d 100644
--- a/app-misc/cartao-cidadao-auth/Manifest
+++ b/app-misc/cartao-cidadao-auth/Manifest
@@ -1 +1 @@
-DIST plugin-autenticacao-gov.deb 1086856 SHA256 7b09f1b88be755f6e3133aa4358306c40a325dfc174a93cdbecfc35fc39b3a6e SHA512 cc23632cfed6a5490a469a63f607d3fcedcac3c483ee9e3207af526716a3adc6d55a6935ee84ea8bb4efcd2a006784dda9f609f6ef03d986370fa9f6400635fb WHIRLPOOL 35d387820ff6eb9bbaf5d00882671500251a568a482f3373e8432864ee53445c304cc3b2e3c2bb131d13a245c174db39b14578804de840d65ca9ebe0e80e7ceb
+DIST plugin-autenticacao-gov.deb 1086846 SHA256 09f168b10b1388b50d48dd0ff245eec0a17e034d085e2d4f2bb318519caf4af0 SHA512 142ff72b8782f54aad8eb1a0dfc674df69d634a60345f5a0d4139d2064627a9b134b48edf5871793d1678fbb3bd96a47e9d30e9eba2a4c5d9906a2c29f7db038 WHIRLPOOL e64664d340e2d96822b0f25ccd6888a042d5667f8bd3a32d30b77bce5dab0e73de7dbdb450906d15ed13c8f6b2d578eabb3bbb1db170f15871d95d982b641422
diff --git a/app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.30.ebuild b/app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.31.ebuild
index 17e94f1..310fca1 100644
--- a/app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.30.ebuild
+++ b/app-misc/cartao-cidadao-auth/cartao-cidadao-auth-2.0.31.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils unpacker versionator
+inherit eutils unpacker xdg
+
+MY_PN=plugin-autenticacao-gov
DESCRIPTION="Autenticacao do Cartao de Cidadao em java"
HOMEPAGE="https://www.cartaodecidadao.pt"
@@ -32,5 +34,18 @@ src_unpack() {
}
src_install() {
- cp -R "${WORKDIR}/usr" "${D}" || die "install failed!"
+
+# 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