diff options
author | Joao Santos <joaompssantos@gmail.com> | 2022-03-04 12:25:50 +0000 |
---|---|---|
committer | Joao Santos <joaompssantos@gmail.com> | 2022-03-04 12:25:50 +0000 |
commit | a95216073eacb029ca066ab68acb2fcdc65d9327 (patch) | |
tree | 6323e3ccbeafc3245b73c188ee7952d19b87cd28 | |
parent | app-misc/autenticacao-gov-bin: drop version 3.3.1 (diff) | |
download | carreira-a95216073eacb029ca066ab68acb2fcdc65d9327.tar.gz carreira-a95216073eacb029ca066ab68acb2fcdc65d9327.tar.bz2 carreira-a95216073eacb029ca066ab68acb2fcdc65d9327.zip |
app-misc/autenticacao-gov-bin: bump to 3.7.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: João Santos <joaompssantos@gmail.com>
-rw-r--r-- | app-misc/autenticacao-gov-bin/Manifest | 1 | ||||
-rw-r--r-- | app-misc/autenticacao-gov-bin/autenticacao-gov-bin-3.7.0.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/app-misc/autenticacao-gov-bin/Manifest b/app-misc/autenticacao-gov-bin/Manifest new file mode 100644 index 0000000..08ac835 --- /dev/null +++ b/app-misc/autenticacao-gov-bin/Manifest @@ -0,0 +1 @@ +DIST pteid-mw_ubuntu20_amd64.deb 2782680 SHA256 3bd463ba138cccfc95cfa584df867c15fb557c8a8b55801d768ee4beba6c27a1 SHA512 2cc4e193d689eb62bb4a1d9c0c40ad9a6d5689d55390ad1bcb8a6793c5f62f2032a88ffa168962f07751f9a7ddb157d88ec35d7f3b0b84ab2c129c5b70294937 WHIRLPOOL 10774fb38b176da5a1b25681e1baf340529f2601d00c053a5bf3d99fd0e9aca23723d466ce7ce8675948656fa3ee99471b0dd8745a1e7ef8a54f89ee94849273 diff --git a/app-misc/autenticacao-gov-bin/autenticacao-gov-bin-3.7.0.ebuild b/app-misc/autenticacao-gov-bin/autenticacao-gov-bin-3.7.0.ebuild new file mode 100644 index 0000000..3ee2f96 --- /dev/null +++ b/app-misc/autenticacao-gov-bin/autenticacao-gov-bin-3.7.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker desktop xdg + +ORIGINAL_PN="pteid-mw" +APP="eidguiV2" +CC_HOME="opt/${PN}" +DESCRIPTION="See and change information on your Portuguese eID Card" +HOMEPAGE="https://www.autenticacao.gov.pt/cc-aplicacao" + +SRC_URI="https://aplicacoes.autenticacao.gov.pt/apps/pteid-mw_ubuntu20_amd64.deb" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror" + +RDEPEND=" + sys-apps/pcsc-tools + app-crypt/ccid + sys-libs/glibc + net-misc/curl + sys-devel/gcc + app-text/poppler[qt5,jpeg2k,png] + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtwidgets:5 + >=dev-libs/openssl-1.1.0 + dev-libs/xerces-c + >=dev-libs/xml-security-c-2.0.0 + dev-libs/libzip +" + +QA_PREBUILT="/usr/bin/* /usr/lib64/*" +QA_PRESTRIPPED="/usr/bin/* /usr/lib64/*" + +S="${WORKDIR}/" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + # Rename docs directory to our needs. + mv usr/share/doc/{${ORIGINAL_PN},${PF}}/ || die + + # Decompress the docs. + gunzip usr/share/doc/${PF}/changelog.gz || die + + # Move folders to the right place + cp -r usr/local/{bin,include,lib} usr/ || die + rm -r usr/local/{bin,include,lib} || die + mv usr/lib usr/lib64 + + eapply_user +} + +src_install() { + insinto /usr + doins -r usr/bin usr/include usr/local usr/lib64 usr/share + + exeinto /usr/bin/ + doexe usr/bin/${APP} +} |