aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Bernardo <samuelbernardo.mail@gmail.com>2019-04-02 23:48:59 +0100
committerSamuel Bernardo <samuelbernardo.mail@gmail.com>2019-04-02 23:49:30 +0100
commit50f85bc02d98528f031d1eda6ac9e76231deaae5 (patch)
tree61a4494f3db99f1329042299683c06fedd4a531e /app-misc/autenticacao-gov-pt
parentAdd freeoffice (diff)
downloadssnb-50f85bc02d98528f031d1eda6ac9e76231deaae5.tar.gz
ssnb-50f85bc02d98528f031d1eda6ac9e76231deaae5.tar.bz2
ssnb-50f85bc02d98528f031d1eda6ac9e76231deaae5.zip
Modify autenticacao-gov-pt to only have the authentication plugin.
Create new ebuild cartao-cidadao-svn to have the citizen card application. Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'app-misc/autenticacao-gov-pt')
-rw-r--r--app-misc/autenticacao-gov-pt/Manifest15
-rw-r--r--app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.36.ebuild47
-rw-r--r--app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.0.ebuild89
-rw-r--r--app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.6.ebuild88
-rw-r--r--app-misc/autenticacao-gov-pt/autenticacao-gov-pt-3.0.13.ebuild90
-rw-r--r--app-misc/autenticacao-gov-pt/files/Makefile.gnu.patch17
-rw-r--r--app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.0.debbin1055012 -> 0 bytes
-rw-r--r--app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.6.debbin1073740 -> 0 bytes
-rw-r--r--app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-3.0.13.debbin1086846 -> 0 bytes
-rw-r--r--app-misc/autenticacao-gov-pt/files/dlgQndPinpadInfo.cpp.patch20
-rw-r--r--app-misc/autenticacao-gov-pt/files/extras-2.4.0.tar.gzbin12500575 -> 0 bytes
-rw-r--r--app-misc/autenticacao-gov-pt/files/extras-2.4.6.tar.gzbin12500575 -> 0 bytes
-rw-r--r--app-misc/autenticacao-gov-pt/files/extras-3.0.13.tar.gzbin12500410 -> 0 bytes
-rw-r--r--app-misc/autenticacao-gov-pt/files/qmake.patch17
-rw-r--r--app-misc/autenticacao-gov-pt/metadata.xml11
15 files changed, 61 insertions, 333 deletions
diff --git a/app-misc/autenticacao-gov-pt/Manifest b/app-misc/autenticacao-gov-pt/Manifest
index ca367d8..e3f9917 100644
--- a/app-misc/autenticacao-gov-pt/Manifest
+++ b/app-misc/autenticacao-gov-pt/Manifest
@@ -1,12 +1,3 @@
-AUX Makefile.gnu.patch 592 BLAKE2B 417e9fd33f4ba6897f4ddbcd8ec6e53e2bc50e2f854188e1698ada8c9e2e0ea6bbdf5fbf40ddd11e653ec024abdd9fd37f091b38afcbabef7ed445c98ee3ce75 SHA512 8da9359d93fbd4a2ed6df8a58f15228ba13ee7117634e024c2ea759ee046b5ba255d374143b087b506a32d21f44c2cad63b2af95a6834ad051d52e0b5b8aa9cb
-AUX autenticacao.gov.pt-2.4.0.deb 1055012 BLAKE2B 59def973150f870ce4d505a1c7123280c6bf1953e9bd395dca9cde50e3e835b38212e030bbfa75465e96c1815995b095b806b0254eadca856f77d165319993ee SHA512 09742f4d59efa56c5ebb69ac3cdb408c5d9e4f5c4f7526069c59077afb9a4b7e4efab878e43281b59cd8807a7d4adab3da758d30008b509dc79aa7b6c521a0db
-AUX autenticacao.gov.pt-2.4.6.deb 1073740 BLAKE2B fd59429e02906129aba4b01aae7a365b793bb5b3f99520c410189625f8a0c1a025b10c4e3682717bb508497ecb792fdab9068373b5f203b76c6c5552bb172333 SHA512 92c6ec346d2496b95ed88d686e3b4d656b96053f515b3c12c56a4933b103011365242de184fbfda17c52c540efddf083cff5b544c9351abef9d21256ad305897
-AUX autenticacao.gov.pt-3.0.13.deb 1086846 BLAKE2B 9a28faba62056b7822b06b9d91d96de5fa2ac0a65ab7f5805130118146ffd1168cc4146d05afa9f39696d5ec642018c97f7d1e6087bd8c7e1f80129b51adbd5e SHA512 142ff72b8782f54aad8eb1a0dfc674df69d634a60345f5a0d4139d2064627a9b134b48edf5871793d1678fbb3bd96a47e9d30e9eba2a4c5d9906a2c29f7db038
-AUX dlgQndPinpadInfo.cpp.patch 813 BLAKE2B 47f0f20e56102ee6eeb65209ad9a11544101e7f03bec7d37cfbab35788066daf8afaa915193ce9b61fc566f30b5826fee3ebfb20d647d620b30ec4751221a4fa SHA512 b8ddccf85b652fc28f9fea77016da45b1c2c6122a03e3ee3de6a558c552e60cca29a3009f8197f687a1aed65dedf77573c497267cffd297d3481afd05ededd72
-AUX extras-2.4.0.tar.gz 12500575 BLAKE2B 022cc27bc4cd505ea1d671151637d12a1ae253d4e5fce1c4157da3ea11c5d6dd453f335e55d2008117f4777c9192ee331e8c4d7e4f972018b16b61c6b1dc5afa SHA512 75a032022843b01e548807f9b84289b8dba58b48b4bcbd46784a1bd79a127f0f72dc093e757d182056aa7f80ef8d798dbf377665bd5a76060ce8960a275eb5b2
-AUX extras-2.4.6.tar.gz 12500575 BLAKE2B 022cc27bc4cd505ea1d671151637d12a1ae253d4e5fce1c4157da3ea11c5d6dd453f335e55d2008117f4777c9192ee331e8c4d7e4f972018b16b61c6b1dc5afa SHA512 75a032022843b01e548807f9b84289b8dba58b48b4bcbd46784a1bd79a127f0f72dc093e757d182056aa7f80ef8d798dbf377665bd5a76060ce8960a275eb5b2
-AUX extras-3.0.13.tar.gz 12500410 BLAKE2B efabdd04a358d2b9889178fec61ffbb224cd874e142bfae8e280e2fb98110f0c581393d764edb55fc9dabfebce0ffdf5461f17bd4b107744c0f959883548a557 SHA512 ee3f24a0b464e8638da8cf9daa2512acf4ce8eb13c79fbeaa842c9d8421eee5d7619133fcbd362ff777c2b3ad8fe341149977841de092853c31e8539f9363260
-AUX qmake.patch 468 BLAKE2B 2f91848f33b7d94de801e65d4a97dc3c030701888043df444e10a464f0d796dd7f5f9fc55feef2b8fa175fa984fe4b5f460b6268cce5e7d63d0de78b106deaaf SHA512 ff8ed18d0748e04b1041c7b189a93dfe6674273e677ec86676187b2323ca794d61424204ec8c395c1f5b603c5dd6c346ae2db1cf9886fb42550a827f50c55d34
-EBUILD autenticacao-gov-pt-2.4.0.ebuild 2432 BLAKE2B d362d4aeb0f5663ea8884df54e97ac64e0c8f4da28eea79fa51d71695ce7bb24fb26738230def584f3182196f61811c06386397d9b2d5caa35e2c5ca3633cde9 SHA512 73d325601fd51239369a79c5cb0d898bf0c15fbe51b36a30cd00a56fb090431ffef4a76e774353c294f4a92d497e25f233e9bd4eb8fcee41a29451a86d243d7e
-EBUILD autenticacao-gov-pt-2.4.6.ebuild 2397 BLAKE2B 86cecc57d2430f6ca0a653fa8df50eae00aa7e03c37d53007e286cfd647bf30cc0ce72440e3bd5f914536babba34c4ebf56d0daeff79eee36a38e17eaab77898 SHA512 26c516cf52a6784306ba26818a0e902ada6bbe87ff37dcffc264536116e209d067fecc28e72b1495b3dd3392204c0f1d634e1c1882706a13fd4b27c04765aaf6
-EBUILD autenticacao-gov-pt-3.0.13.ebuild 2460 BLAKE2B 34e422c3fad1f401308b3d919d52ffcceffe2332a88cd25ec328937f26bd607704b474770024984025f98c7cf4064503abde1385ec63d6daa6d41ac1968dc3af SHA512 2dbb481bd780319b06ce3625e35075fd5533bc55a96a7e9347467f97b6c6440011195f85f6be504c874ab8f3d5cd693aa3504f74c60169ffaaaac5bcd9b1a683
+DIST plugin-autenticacao-gov.deb 1055970 BLAKE2B 97eccce3ad40911a1a2bd351dfce74025ce0e6f0bdb56abf2b85fb61f49d5549e4c9a94429b5950e146ede65a308d74414bb7a01b190c433034a7861a4f23740 SHA512 f12c9922a9f8e0a85f4a94c2cc482ef69810fe259aee1cde0832028e34f9015db69e1e0de47670d7a0a763ae32b2d289e2255a03ba1d668e2502aaec4f7002cc
+EBUILD autenticacao-gov-pt-2.0.36.ebuild 1003 BLAKE2B 5d5efebbe44718d03b15db8460181e479d6087e33fc617743ed197f5cf0d60d3d906ea36335d08786fafbaf615cf2bbfe8985b5edbdaeb7ae7cb9f4767dd223d SHA512 9584dcad970bf882074e453b91c0bb4ca10e0d0d11ab3e99b4ada81e1b570e38ec2e38afafa19a3b53ea73c97c5ad530231b8671d95e2caaa678cd334cad7130
+MISC metadata.xml 353 BLAKE2B fff84c38e313fa8690702a96a9405c835c0f10b42909afbb946b5c4cb3bfa5c0c47df047b05a06ca93603a3de1494c3b63693a073db98cfbb26c359d7a795ee5 SHA512 c2ec4647114ae8f7dd6f77e6753f691760a618d2c598b3ffbcc63bdc22fac0eac9b748a9af36646e0c8ffb479b422292b5997b54d4a9c863d5136bb190866738
diff --git a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.36.ebuild b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.36.ebuild
new file mode 100644
index 0000000..2129c98
--- /dev/null
+++ b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.0.36.ebuild
@@ -0,0 +1,47 @@
+# 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"
+
+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"
+
+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.4.0.ebuild b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.0.ebuild
deleted file mode 100644
index 4df5e2d..0000000
--- a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.0.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Tools for authenticating with https://www.autenticacao.gov.pt/"
-HOMEPAGE="https://www.autenticacao.gov.pt/"
-
-inherit subversion unpacker eutils
-
-#SRC_URI="https://autenticacao.gov.pt/fa/ajuda/software/autenticacao.gov.pt.deb"
-ESVN_REPO_URI="https://svn.gov.pt/projects/ccidadao/repository/middleware-offline/tags/version${PV}/source/trunk/_src/eidmw"
-ESVN_PATCHES="${FILESDIR}/*.patch"
-
-LICENSE="EUPL"
-SLOT="2"
-KEYWORDS="~amd64 ~x86"
-IUSE="+java"
-
-DEPEND="sys-apps/pcsc-lite
- sys-apps/pcsc-tools
- app-crypt/ccid
- >=dev-qt/qtcore-5
- dev-qt/qtchooser
- dev-libs/xml-security-c
- dev-libs/xerces-c
- app-text/poppler
- java? ( >=virtual/jdk-1.8:1.8 || ( >=dev-java/oracle-jdk-bin-1.8:1.8 dev-java/icedtea dev-java/icedtea-bin ) )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/qmake.patch"
- "${FILESDIR}/Makefile.gnu.patch"
- )
-
-src_unpack() {
- default
- subversion_src_unpack
- #if use java; then unpack_deb ${A}; fi
- if use java; then
- unpack_deb ${FILESDIR}/autenticacao.gov.pt-${PV}.deb
- unpack ${FILESDIR}/extras-${PV}.tar.gz
- fi
-}
-
-src_prepare() {
- if declare -p PATCHES | grep -q "^declare -a "; then
- [[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}" || die "Error: failed to apply ebuild patches ${PATCHES}!"
- else
- [[ -n ${PATCHES} ]] && eapply ${PATCHES} || die "Error: failed to apply ebuild patches ${PATCHES}!"
- fi
- eapply_user
-}
-
-src_configure() {
- # configure
- if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
- ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
- elif [[ -f ${ECONF_SOURCE:-.}/configure ]] ; then
- fperms 755 ${ECONF_SOURCE:-.}/configure
- ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
- else
- die "Error: ${ECONF_SOURCE:-.}/configure doesn't exists"
- fi
-}
-
-src_compile() {
- # make
- if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
- emake || die "Error: emake failed"
- else
- die "Error: compile phase failed because is missing Makefile!"
- fi
-}
-
-src_install() {
- # make install
- if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
- emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "Error: emake install failed"
- else
- die "Error: install phase failed because is missing Makefile!"
- fi
-
- # deb install
- if use java; then
- cp -R "${WORKDIR}/usr" "${D}" || die "Error: copy files in install phase failed!"
- fi
-}
-
diff --git a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.6.ebuild b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.6.ebuild
deleted file mode 100644
index b6a38ae..0000000
--- a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.6.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Tools for authenticating with https://www.autenticacao.gov.pt/"
-HOMEPAGE="https://www.autenticacao.gov.pt/"
-
-inherit subversion unpacker eutils
-
-#SRC_URI="https://autenticacao.gov.pt/fa/ajuda/software/autenticacao.gov.pt.deb"
-ESVN_REPO_URI="https://svn.gov.pt/projects/ccidadao/repository/middleware-offline/tags/version${PV}-5238/source/_src/eidmw"
-ESVN_PATCHES="${FILESDIR}/*.patch"
-
-LICENSE="EUPL"
-SLOT="2"
-KEYWORDS="~amd64 ~x86"
-IUSE="+java"
-
-DEPEND="sys-apps/pcsc-lite
- sys-apps/pcsc-tools
- app-crypt/ccid
- >=dev-qt/qtcore-5
- dev-qt/qtchooser
- dev-libs/xml-security-c
- dev-libs/xerces-c
- app-text/poppler
- java? ( >=virtual/jdk-1.8:1.8 || ( >=dev-java/oracle-jdk-bin-1.8:1.8 dev-java/icedtea dev-java/icedtea-bin ) )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}/qmake.patch"
- )
-
-src_unpack() {
- default
- subversion_src_unpack
- #if use java; then unpack_deb ${A}; fi
- if use java; then
- unpack_deb ${FILESDIR}/autenticacao.gov.pt-${PV}.deb
- unpack ${FILESDIR}/extras-${PV}.tar.gz
- fi
-}
-
-src_prepare() {
- if declare -p PATCHES | grep -q "^declare -a "; then
- [[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}" || die "Error: failed to apply ebuild patches ${PATCHES}!"
- else
- [[ -n ${PATCHES} ]] && eapply ${PATCHES} || die "Error: failed to apply ebuild patches ${PATCHES}!"
- fi
- eapply_user
-}
-
-src_configure() {
- # configure
- if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
- ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
- elif [[ -f ${ECONF_SOURCE:-.}/configure ]] ; then
- fperms 755 ${ECONF_SOURCE:-.}/configure
- ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
- else
- die "Error: ${ECONF_SOURCE:-.}/configure doesn't exists"
- fi
-}
-
-src_compile() {
- # make
- if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
- emake || die "Error: emake failed"
- else
- die "Error: compile phase failed because is missing Makefile!"
- fi
-}
-
-src_install() {
- # make install
- if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
- emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "Error: emake install failed"
- else
- die "Error: install phase failed because is missing Makefile!"
- fi
-
- # deb install
- if use java; then
- cp -R "${WORKDIR}/usr" "${D}" || die "Error: copy files in install phase failed!"
- fi
-}
-
diff --git a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-3.0.13.ebuild b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-3.0.13.ebuild
deleted file mode 100644
index 732f79a..0000000
--- a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-3.0.13.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Tools for authenticating with https://www.autenticacao.gov.pt/"
-HOMEPAGE="https://www.autenticacao.gov.pt/"
-
-inherit subversion unpacker eutils
-
-#SRC_URI="https://autenticacao.gov.pt/fa/ajuda/software/autenticacao.gov.pt.deb"
-ESVN_REPO_URI="https://svn.gov.pt/projects/ccidadao/repository/middleware-offline/tags/version${PV}/_src/eidmw"
-ESVN_PATCHES="${FILESDIR}/*.patch"
-
-LICENSE="EUPL"
-SLOT="3"
-KEYWORDS="~amd64 ~x86"
-IUSE="+java"
-
-DEPEND="sys-apps/pcsc-lite
- sys-apps/pcsc-tools
- app-crypt/ccid
- >=dev-qt/qtcore-5
- dev-qt/qtchooser
- dev-libs/xml-security-c
- dev-libs/xerces-c
- app-text/poppler
- java? ( >=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"
-
-PATCHES=(
- "${FILESDIR}/qmake.patch"
- "${FILESDIR}/dlgQndPinpadInfo.cpp.patch"
- )
-
-src_unpack() {
- default
- subversion_src_unpack
- #if use java; then unpack_deb ${A}; fi
- if use java; then
- unpack_deb ${FILESDIR}/autenticacao.gov.pt-${PV}.deb
- unpack ${FILESDIR}/extras-${PV}.tar.gz
- fi
-}
-
-src_prepare() {
- if declare -p PATCHES | grep -q "^declare -a "; then
- [[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}" || die "Error: failed to apply ebuild patches ${PATCHES}!"
- else
- [[ -n ${PATCHES} ]] && eapply ${PATCHES} || die "Error: failed to apply ebuild patches ${PATCHES}!"
- fi
- eapply_user
-}
-
-src_configure() {
- # configure
- if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
- ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
- elif [[ -f ${ECONF_SOURCE:-.}/configure ]] ; then
- fperms 755 ${ECONF_SOURCE:-.}/configure
- ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
- else
- die "Error: ${ECONF_SOURCE:-.}/configure doesn't exists"
- fi
-}
-
-src_compile() {
- # make
- if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
- emake || die "Error: emake failed"
- else
- die "Error: compile phase failed because is missing Makefile!"
- fi
-}
-
-src_install() {
- # make install
- if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
- emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "Error: emake install failed"
- else
- die "Error: install phase failed because is missing Makefile!"
- fi
-
- # deb install
- if use java; then
- cp -R "${WORKDIR}/usr" "${D}" || die "Error: copy files in install phase failed!"
- fi
-}
-
diff --git a/app-misc/autenticacao-gov-pt/files/Makefile.gnu.patch b/app-misc/autenticacao-gov-pt/files/Makefile.gnu.patch
deleted file mode 100644
index b935940..0000000
--- a/app-misc/autenticacao-gov-pt/files/Makefile.gnu.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/FreeImagePTEiD/Makefile.gnu 2017-09-21 20:54:23.981722201 +0100
-+++ b/FreeImagePTEiD/Makefile.gnu 2017-10-21 17:47:58.342409997 +0100
-@@ -23,9 +23,11 @@
- override CXXFLAGS += -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
- override CXXFLAGS += $(INCLUDE)
-
--ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64)
-- CFLAGS += -fPIC
-- CXXFLAGS += -fPIC
-+ARCH_TEST := $(shell sh -c 'uname -m 2>/dev/null || echo not')
-+ARCH_TEST ?= error
-+ifeq ($(ARCH_TEST),x86_64)
-+ override CFLAGS += -fPIC
-+ override CXXFLAGS += -fPIC
- endif
-
- TARGET = freeimagePTEiD
diff --git a/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.0.deb b/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.0.deb
deleted file mode 100644
index 7c7829b..0000000
--- a/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.0.deb
+++ /dev/null
Binary files differ
diff --git a/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.6.deb b/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.6.deb
deleted file mode 100644
index 5bd44f2..0000000
--- a/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-2.4.6.deb
+++ /dev/null
Binary files differ
diff --git a/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-3.0.13.deb b/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-3.0.13.deb
deleted file mode 100644
index 15473a0..0000000
--- a/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-3.0.13.deb
+++ /dev/null
Binary files differ
diff --git a/app-misc/autenticacao-gov-pt/files/dlgQndPinpadInfo.cpp.patch b/app-misc/autenticacao-gov-pt/files/dlgQndPinpadInfo.cpp.patch
deleted file mode 100644
index 126b308..0000000
--- a/app-misc/autenticacao-gov-pt/files/dlgQndPinpadInfo.cpp.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Naur a/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp b/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp
---- a/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp 2018-11-11 13:51:45.408429081 +0000
-+++ b/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp 2018-11-11 13:54:03.660290076 +0000
-@@ -21,6 +21,7 @@
- #include "dlgWndPinpadInfo.h"
- #include "../langUtil.h"
- #include <QDesktopWidget>
-+#include <QIcon>
-
- dlgWndPinpadInfo::dlgWndPinpadInfo( unsigned long ulHandle,
- DlgPinOperation operation, const QString & Reader,
-@@ -39,7 +40,7 @@
-
- QString Title="";
-
-- this->setWindowIcon( QIcon(":/Resources/ICO_CARD_EID_PLAIN_16x16.png") );
-+ this->setWindowIcon( QIcon("./Resources/ICO_CARD_EID_PLAIN_16x16.png") );
-
- if (operation == DLG_PIN_OP_CHANGE)
- Title+= QString::fromWCharArray(GETSTRING_DLG(ChangeYourPin));
diff --git a/app-misc/autenticacao-gov-pt/files/extras-2.4.0.tar.gz b/app-misc/autenticacao-gov-pt/files/extras-2.4.0.tar.gz
deleted file mode 100644
index 9a58da6..0000000
--- a/app-misc/autenticacao-gov-pt/files/extras-2.4.0.tar.gz
+++ /dev/null
Binary files differ
diff --git a/app-misc/autenticacao-gov-pt/files/extras-2.4.6.tar.gz b/app-misc/autenticacao-gov-pt/files/extras-2.4.6.tar.gz
deleted file mode 100644
index 9a58da6..0000000
--- a/app-misc/autenticacao-gov-pt/files/extras-2.4.6.tar.gz
+++ /dev/null
Binary files differ
diff --git a/app-misc/autenticacao-gov-pt/files/extras-3.0.13.tar.gz b/app-misc/autenticacao-gov-pt/files/extras-3.0.13.tar.gz
deleted file mode 100644
index 7328bc1..0000000
--- a/app-misc/autenticacao-gov-pt/files/extras-3.0.13.tar.gz
+++ /dev/null
Binary files differ
diff --git a/app-misc/autenticacao-gov-pt/files/qmake.patch b/app-misc/autenticacao-gov-pt/files/qmake.patch
deleted file mode 100644
index 3b7c465..0000000
--- a/app-misc/autenticacao-gov-pt/files/qmake.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/configure 2017-09-21 20:34:16.391377881 +0100
-+++ b/configure 2017-09-21 21:24:12.444003296 +0100
-@@ -302,11 +302,11 @@
- my $QtVerZ = 0;
- my $qmakeVerI = 10000 * $QtVerX + 100 * $QtVerY + $QtVerZ;
-
--my $qmakeVer = `qmake -v`;
--my $qmakeCmd = "qmake";
-+my $qmakeVer = `qmake -qt=5 -v`;
-+my $qmakeCmd = "qmake -qt=5";
- eval {
- print "trying qmake...";
-- $qmakeVer = `qmake -v`;
-+ $qmakeVer = `qmake -qt=5 -v`;
- };
-
- # get the version nr from the version string
diff --git a/app-misc/autenticacao-gov-pt/metadata.xml b/app-misc/autenticacao-gov-pt/metadata.xml
new file mode 100644
index 0000000..5f8acdb
--- /dev/null
+++ b/app-misc/autenticacao-gov-pt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>samuelbernardo.mail@gmail.com</email>
+ <name>Samuel Bernardo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">app-misc/autenticacao-gov-pt</remote-id>
+ </upstream>
+</pkgmetadata>