From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9755C1382C5 for ; Sun, 16 May 2021 12:56:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C58E5E087A; Sun, 16 May 2021 12:56:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 965C2E087A for ; Sun, 16 May 2021 12:56:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CECB340E23 for ; Sun, 16 May 2021 12:56:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FCD563D for ; Sun, 16 May 2021 12:56:53 +0000 (UTC) From: "Samuel Bernardo" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Samuel Bernardo" Message-ID: <1621169800.c935b6ed81e511466d43d632be901e1572a103e1.samuelbernardo@gentoo> Subject: [gentoo-commits] repo/user/ssnb:master commit in: app-misc/autenticacao-gov-pt/ X-VCS-Repository: repo/user/ssnb X-VCS-Files: app-misc/autenticacao-gov-pt/Manifest app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.46.ebuild app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.60.ebuild X-VCS-Directories: app-misc/autenticacao-gov-pt/ X-VCS-Committer: samuelbernardo X-VCS-Committer-Name: Samuel Bernardo X-VCS-Revision: c935b6ed81e511466d43d632be901e1572a103e1 X-VCS-Branch: master Date: Sun, 16 May 2021 12:56:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cdd63d4a-855f-41d4-90da-601c12b04811 X-Archives-Hash: 4051caa7aa055824a05a101e7897c1f4 commit: c935b6ed81e511466d43d632be901e1572a103e1 Author: Samuel Bernardo gmail com> AuthorDate: Sun May 16 12:56:40 2021 +0000 Commit: Samuel Bernardo gmail com> CommitDate: Sun May 16 12:56:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=c935b6ed Update autentifacao-gov-pt to version 2.0.60 Signed-off-by: Samuel Bernardo gmail.com> app-misc/autenticacao-gov-pt/Manifest | 4 +- .../autenticacao-gov-pt-2.0.46.ebuild | 49 -------------- .../autenticacao-gov-pt-2.0.60.ebuild | 75 ++++++++++++++++++++++ 3 files changed, 77 insertions(+), 51 deletions(-) diff --git a/app-misc/autenticacao-gov-pt/Manifest b/app-misc/autenticacao-gov-pt/Manifest index ee2e0b9..fbe7146 100644 --- a/app-misc/autenticacao-gov-pt/Manifest +++ b/app-misc/autenticacao-gov-pt/Manifest @@ -1,3 +1,3 @@ -DIST autenticacao-gov-pt-2.0.46.deb 1077490 BLAKE2B e741a0ab69b137a5f3851273d44dac889d6912ca84884e47366ce64f4556e1807691a4926ecf5dfd14f9a4c7e8b9fbf3e3d435fcad3ba95964095404f50c9cf1 SHA512 64aaf0e567e96cda1819e0108aac989fb8d92947d4fac52b525f592cfc4b8e625a2343b9c0568de336873a2ca952412e35f9196d470c0ed9f465c4a2a679dcc7 -EBUILD autenticacao-gov-pt-2.0.46.ebuild 1032 BLAKE2B 0d70743d382e9c369a63ba2987b349e8a6f2d065633d7dc98e6f52caa13a71ef5f58898b84f615ded0a32b0870596ac3281b46862c1fe54a016902f5b36a8c0e SHA512 91b99ad0f25529a53632b9de8b93aaf96c2b7e3bde97b2b3ec112994a4bb062d52c08375032119555eaf29009a00b1326539c8419f7be1cf4eb4fa0f5d8935b9 +DIST autenticacao-gov-pt-2.0.60.deb 1088084 BLAKE2B a550a1dc23622b9366f90dd5ce422c55f2ad52e6398d8085fa6d9071e0b299cbc119e80492b7ab93fb2d48c187c97f491cf5a6b741f9eab19861c1d54f2a6293 SHA512 ab33e15c7440d97d71869ff96896258038ea1167e6fb31dda3a34f1f5208befd3965d2a0983362c4a3f84c34fd181c1e8016889fc6fe040450a67cc4b5b953e0 +EBUILD autenticacao-gov-pt-2.0.60.ebuild 1725 BLAKE2B db880da630eaea4cdb542b2354ee97ba2d2e8bb4c2f0c24141e75e26a2e70c2192a4e67ef111ea705403156e089cd7029c60d0e55457f8fa59ab651ec35eec67 SHA512 921d690304804709761cca3319961598d059b35cb7a45cb9089c763ffb692b5d589422b77223a33a46c74bb6d779526184639f7138414c4469290f7f679c892e MISC metadata.xml 353 BLAKE2B fff84c38e313fa8690702a96a9405c835c0f10b42909afbb946b5c4cb3bfa5c0c47df047b05a06ca93603a3de1494c3b63693a073db98cfbb26c359d7a795ee5 SHA512 c2ec4647114ae8f7dd6f77e6753f691760a618d2c598b3ffbcc63bdc22fac0eac9b748a9af36646e0c8ffb479b422292b5997b54d4a9c863d5136bb190866738 diff --git a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.46.ebuild b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.46.ebuild deleted file mode 100644 index 9919bde..0000000 --- a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.46.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="O Autenticação.gov.pt é o mecanismo que permite utilizar o Cartão de Cidadão eficientemente e em segurança nos navegadores que suportem ou não plugins Java" -HOMEPAGE="https://www.autenticacao.gov.pt/" - -inherit unpacker eutils - -SRC_URI="https://autenticacao.gov.pt/fa/ajuda/software/plugin-autenticacao-gov.deb -> ${P}.deb" - -LICENSE="EUPL" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="sys-apps/pcsc-lite - sys-apps/pcsc-tools - app-crypt/ccid - ( >=virtual/jdk-1.8:1.8 || ( >=dev-java/oracle-jdk-bin-1.8:1.8 dev-java/icedtea dev-java/icedtea-bin ) )" -RDEPEND="${DEPEND} - !app-misc/autenticacao-gov-pt:2 - !app-misc/autenticacao-gov-pt:3" - -S="${WORKDIR}/" - -src_unpack() { - default - unpack_deb ${A} -} - -src_prepare() { - default -} - -src_configure() { - true -} - -src_compile() { - true -} - -src_install() { - # deb install - cp -R "${WORKDIR}/usr" "${D}" || die "Error: copy files in install phase failed!" -} - diff --git a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.60.ebuild b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.60.ebuild new file mode 100644 index 0000000..309b681 --- /dev/null +++ b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.60.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="O plugin Autenticação.Gov (anteriormente designado por aplicação Autenticação.gov.pt) permite realizar o procedimento de autenticação com o Cartão de Cidadão sem necessidade de efetuar a instalação de qualquer componente no navegador" +HOMEPAGE="https://autenticacao.gov.pt/fa/ajuda/autenticacaogovpt.aspx" + +inherit unpacker eutils desktop + +SRC_URI="https://aplicacoes.autenticacao.gov.pt/plugin/plugin-autenticacao-gov.deb -> ${P}.deb" + +LICENSE="EUPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sys-apps/pcsc-lite + sys-apps/pcsc-tools + app-crypt/ccid + ( >=virtual/jdk-1.8:1.8 || ( >=dev-java/oracle-jdk-bin-1.8:1.8 dev-java/icedtea dev-java/icedtea-bin ) )" +RDEPEND="${DEPEND} + !app-misc/autenticacao-gov-pt:2 + !app-misc/autenticacao-gov-pt:3" + +S="${WORKDIR}/" + +parse_icons() { + regex="([^_]+)_([0-9]+).png$" + cd /usr/share/plugin-${P} + for file in *.png + do + if [[ $file =~ $regex ]] + then + icon="${BASH_REMATCH[1]##*/}" + size="${BASH_REMATCH[2]}" + newicon -s "${size}" "${file}" "${icon}" + fi + done +} + +src_unpack() { + default + unpack_deb ${A} +} + +src_prepare() { + default +} + +src_configure() { + true +} + +src_compile() { + true +} + +src_install() { + # deb install + cp -R "${WORKDIR}/usr" "${D}" || die "Error: copy files in install phase failed!" + regex="(.*)_([0-9]+).png$" + for file in "${D}/usr/share/plugin-${P}"/*.png + do + if [[ ${file} =~ ${regex} ]] + then + icon_aux="${BASH_REMATCH[1]##*/}" + icon="${icon_aux//_/-}" + size="${BASH_REMATCH[2]}" + insinto "/usr/share/icons/hicolor/${size}x${size}/apps" + newicon -s "${size}" "${file}" "${icon}" + fi + done +} +