From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08F9C1584AD for ; Thu, 01 May 2025 03:43:29 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E336F343065 for ; Thu, 01 May 2025 03:43:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D53CA1103BD; Thu, 01 May 2025 03:43:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CC18B1103BD for ; Thu, 01 May 2025 03:43:19 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83ABF343026 for ; Thu, 01 May 2025 03:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9BD43266C for ; Thu, 01 May 2025 03:43:16 +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: <1746070908.9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df.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/Manifest sys-apps/pcsc-tools/pcsc-tools-1.7.3.ebuild X-VCS-Directories: sys-apps/pcsc-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df X-VCS-Branch: master Date: Thu, 01 May 2025 03:43:16 +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: 5ffaae09-68e5-445e-8297-bd4acbb35a7d X-Archives-Hash: c2b9794d8dfffcd17e38975e5b420d59 commit: 9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df Author: Sam James gentoo org> AuthorDate: Thu May 1 03:34:07 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 1 03:41:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab2ac6e sys-apps/pcsc-tools: add 1.7.3 * Port to Meson * Retain USE=gui, at least for now. It was added for bug #323229 with which I sympathise, but dunno if we should add some option for it in the build system. I think we probably should as it's more robust and means we're less likely to miss files that changed in future. * Add a comment in pkg_postrm as I nearly removed it until I realised why it's not conditional there. * Add unconditional dev-perl/libintl-perl dep. It's `use`'d by both gscriptor and scriptor unconditionally. Bug: https://bugs.gentoo.org/323229 Closes: https://bugs.gentoo.org/927630 Signed-off-by: Sam James gentoo.org> sys-apps/pcsc-tools/Manifest | 1 + sys-apps/pcsc-tools/pcsc-tools-1.7.3.ebuild | 49 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sys-apps/pcsc-tools/Manifest b/sys-apps/pcsc-tools/Manifest index e90ddbb6e159..82585d5bba25 100644 --- a/sys-apps/pcsc-tools/Manifest +++ b/sys-apps/pcsc-tools/Manifest @@ -1 +1,2 @@ DIST pcsc-tools-1.7.2.tar.bz2 387207 BLAKE2B 0337de4e1558100777e486f1ddbfd5da37f4cb1c15811e7119ca83349843b37931df7b1aea03826b12c8b041f1b51d0102ab31265a63ea145d5e5a46850d0ff7 SHA512 24fcdbc51de370194f31ef7a74bdc03bc37f8531db44af316c52e4ed1fa76b7ec995bbdaf08063bfe6e8b2f129f2f2fd0fe6c738d867ac10b746d4550ab2cf90 +DIST pcsc-tools-1.7.3.tar.bz2 401255 BLAKE2B 2d640b0600c4fb4764e097d8a6f6cefb26be8aa9cfd4dbe2366741acb67559ab1c1bac87f487c4be30b6a4bca7b2f10c2b069a1f5d17088bf5e45513359c2592 SHA512 2659d5d3d1de147fc5373aaf1bea27692d57ace1f9cd19b2181c0ef43d94c77ecff78f4c784238b9ee05f154550535eb966814f1bd9143ad7ae6842f8b92d5c0 diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.7.3.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.7.3.ebuild new file mode 100644 index 000000000000..26ef8d3ba03b --- /dev/null +++ b/sys-apps/pcsc-tools/pcsc-tools-1.7.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg-utils + +DESCRIPTION="PC/SC Architecture smartcard tools" +HOMEPAGE="https://pcsc-tools.apdu.fr/ https://github.com/LudovicRousseau/pcsc-tools" +SRC_URI="https://pcsc-tools.apdu.fr/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="gui network-cron" + +DEPEND=">=sys-apps/pcsc-lite-1.4.14" +RDEPEND=" + ${DEPEND} + dev-perl/libintl-perl + dev-perl/pcsc-perl + gui? ( dev-perl/Gtk3 ) +" + +src_install() { + meson_src_install + + # USE=gui controls gscriptor for bug #323229 + if ! use gui ; then + rm "${ED}"/usr/bin/gscriptor || die + rm "${ED}"/usr/share/pcsc/gscriptor.png || die + rm "${ED}"/usr/share/applications/gscriptor.desktop || die + rm "${ED}"/usr/share/man/man1/gscriptor.1 || die + fi + + if use network-cron ; then + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/smartcard.cron update-smartcard_list + fi +} + +pkg_postinst() { + use gui && xdg_desktop_database_update +} + +pkg_postrm() { + # No USE=gui conditional here, as we may have just disabled it + xdg_desktop_database_update +}