public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Samuel Bernardo" <samuelbernardo.mail@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/user/ssnb:master commit in: app-misc/autenticacao-gov-pt/
Date: Wed, 17 Jan 2018 23:48:49 +0000 (UTC)	[thread overview]
Message-ID: <1516232909.68c148931e6ae5545465ebc1501f6650a7fc0fdb.samuelbernardo@gentoo> (raw)

commit:     68c148931e6ae5545465ebc1501f6650a7fc0fdb
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Wed Jan 17 23:48:29 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Wed Jan 17 23:48:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=68c14893

update autenticacao-gov-pt

 app-misc/autenticacao-gov-pt/Manifest              |  1 +
 .../autenticacao-gov-pt-2.4.6.ebuild               | 88 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/app-misc/autenticacao-gov-pt/Manifest b/app-misc/autenticacao-gov-pt/Manifest
index 6f4caba..94edc75 100644
--- a/app-misc/autenticacao-gov-pt/Manifest
+++ b/app-misc/autenticacao-gov-pt/Manifest
@@ -3,3 +3,4 @@ AUX autenticacao.gov.pt-2.4.0.deb 1055012 SHA256 9f2eb9b0d6a4c2c6544a5364c03f4bf
 AUX extras-2.4.0.tar.gz 12500575 SHA256 1aad4500fff3e1c40045bcf91561bf9611ddc22ee4a087ec8a24f091e9dbbb6c SHA512 75a032022843b01e548807f9b84289b8dba58b48b4bcbd46784a1bd79a127f0f72dc093e757d182056aa7f80ef8d798dbf377665bd5a76060ce8960a275eb5b2 WHIRLPOOL c4abcb7ad6afc4ed9c7587a98cb30cbc20ddc025055699de44a7b287132205131aa725db96fd863ccdc037e0a253bc296ce243b3a676ba95004344139bc91d1f
 AUX qmake.patch 468 SHA256 8c11d848776282d3de9b5db209bddbc47041e1089fcc1b1cbcd6fd0fd62394b0 SHA512 ff8ed18d0748e04b1041c7b189a93dfe6674273e677ec86676187b2323ca794d61424204ec8c395c1f5b603c5dd6c346ae2db1cf9886fb42550a827f50c55d34 WHIRLPOOL 9bfe67de73319c70aecefa180c29028320a11669276c7894a5108131c9161f9f1b63c985ea4ba4aba141389cd09a85f4141db9490124ef6c2b3e59e1b48dfc0d
 EBUILD autenticacao-gov-pt-2.4.0.ebuild 2432 SHA256 c430108f2bc81feb742d167a7b9ace059f3450a71209246baea079d363027d61 SHA512 73d325601fd51239369a79c5cb0d898bf0c15fbe51b36a30cd00a56fb090431ffef4a76e774353c294f4a92d497e25f233e9bd4eb8fcee41a29451a86d243d7e WHIRLPOOL 7ce8d409cf5019862b807c2fcc4006de5e12842b1358bc0a6333201b021420fb112bad2111aa21356a95e6012faeba4b48bdbd12687442fa902adba2fc5335b2
+EBUILD autenticacao-gov-pt-2.4.6.ebuild 2397 SHA256 5292dad1ea1cda7961e6161ef14d8b8044e101d730239224199787e4b3dbfc5f SHA512 26c516cf52a6784306ba26818a0e902ada6bbe87ff37dcffc264536116e209d067fecc28e72b1495b3dd3392204c0f1d634e1c1882706a13fd4b27c04765aaf6 WHIRLPOOL cf88f0f9de45bf318e117f739f5242e768cb3e7f704404dc239261e49e8b2cfcedd84206e2a1ba1b4b218be881c94f14345520c64553afceb2d5ba579e249067

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
new file mode 100644
index 0000000..b6a38ae
--- /dev/null
+++ b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-2.4.6.ebuild
@@ -0,0 +1,88 @@
+# 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
+}
+


             reply	other threads:[~2018-01-17 23:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-17 23:48 Samuel Bernardo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-16 12:56 [gentoo-commits] repo/user/ssnb:master commit in: app-misc/autenticacao-gov-pt/ Samuel Bernardo
2019-11-16 19:57 Samuel Bernardo
2019-04-02 23:52 Samuel Bernardo
2018-02-04 13:08 Samuel Bernardo
2017-10-24 18:39 Samuel Bernardo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516232909.68c148931e6ae5545465ebc1501f6650a7fc0fdb.samuelbernardo@gentoo \
    --to=samuelbernardo.mail@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox