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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D8DA158091 for ; Sun, 19 Jun 2022 01:55:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60FEAE07D3; Sun, 19 Jun 2022 01:55:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49183E07D3 for ; Sun, 19 Jun 2022 01:55:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4290F341517 for ; Sun, 19 Jun 2022 01:55:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74ADE4C3 for ; Sun, 19 Jun 2022 01:55:36 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1655603727.47b281903a5daa245c84532e1c83ec7b2865085d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pcsc-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pcsc-tools/pcsc-tools-1.5.7-r1.ebuild X-VCS-Directories: sys-apps/pcsc-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 47b281903a5daa245c84532e1c83ec7b2865085d X-VCS-Branch: master Date: Sun, 19 Jun 2022 01:55:36 +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: be1b8214-49ae-4542-b3ce-b94727427154 X-Archives-Hash: 18fdb3e4f791e0a6599361e3f5803f2e commit: 47b281903a5daa245c84532e1c83ec7b2865085d Author: Sam James gentoo org> AuthorDate: Sun Jun 19 01:55:09 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 19 01:55:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b28190 sys-apps/pcsc-tools: fix gtk dependency Closes: https://bugs.gentoo.org/793815 Bug: https://bugs.gentoo.org/821997 Signed-off-by: Sam James gentoo.org> sys-apps/pcsc-tools/pcsc-tools-1.5.7-r1.ebuild | 62 ++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.5.7-r1.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.5.7-r1.ebuild new file mode 100644 index 000000000000..929e971d6b8b --- /dev/null +++ b/sys-apps/pcsc-tools/pcsc-tools-1.5.7-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs xdg-utils + +DESCRIPTION="PC/SC Architecture smartcard tools" +HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/ https://github.com/LudovicRousseau/pcsc-tools" +SRC_URI="http://ludovic.rousseau.free.fr/softwares/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86" +IUSE="gtk network-cron" + +DEPEND=">=sys-apps/pcsc-lite-1.4.14" +RDEPEND="${DEPEND} + dev-perl/pcsc-perl + gtk? ( dev-perl/Gtk3 )" +BDEPEND="virtual/pkgconfig" + +DOCS=( + README Changelog +) + +src_compile() { + # explicitly only build the pcsc_scan application, or the man + # pages will be gzipped first, and then unpacked. + emake pcsc_scan CC="$(tc-getCC)" +} + +src_install() { + einstalldocs + + # install manually, makes it much easier since the Makefile + # requires fiddling with + dobin ATR_analysis scriptor pcsc_scan + doman pcsc_scan.1 scriptor.1p ATR_analysis.1p + + if use gtk; then + domenu gscriptor.desktop + dobin gscriptor + doman gscriptor.1p + fi + + if use network-cron ; then + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/smartcard.cron update-smartcard_list + fi + + insinto /usr/share/pcsc + doins smartcard_list.txt +} + +pkg_postinst() { + use gtk && xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}