From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pcsc-tools/
Date: Thu, 01 May 2025 03:43:16 +0000 (UTC) [thread overview]
Message-ID: <1746070908.9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df.sam@gentoo> (raw)
commit: 9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 1 03:34:07 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
+}
next reply other threads:[~2025-05-01 3:43 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-01 3:43 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-01 3:47 [gentoo-commits] repo/gentoo:master commit in: sys-apps/pcsc-tools/ Sam James
2025-03-14 6:39 Sam James
2025-03-13 1:28 Sam James
2025-03-13 1:28 Sam James
2025-03-13 1:11 Sam James
2025-03-13 0:53 Sam James
2025-02-09 6:23 Sam James
2024-02-02 16:27 Arthur Zamarin
2024-02-02 14:58 Arthur Zamarin
2024-02-02 6:40 Sam James
2024-02-02 3:58 Sam James
2024-01-23 15:08 Sam James
2024-01-18 0:28 Sam James
2024-01-17 8:53 Arthur Zamarin
2024-01-17 5:55 Sam James
2024-01-02 7:01 Sam James
2023-11-30 3:49 Sam James
2023-10-08 18:38 David Seifert
2023-04-23 20:48 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:22 Sam James
2023-03-23 9:08 Sam James
2023-03-23 9:08 Sam James
2023-03-23 9:08 Sam James
2023-03-04 11:48 Arthur Zamarin
2023-03-04 11:03 Arthur Zamarin
2023-03-04 8:57 Arthur Zamarin
2023-03-04 6:17 Arthur Zamarin
2023-01-01 0:04 Sam James
2022-12-26 8:35 Sam James
2022-11-25 5:44 Sam James
2022-11-25 5:39 Sam James
2022-11-25 5:21 Sam James
2022-11-25 5:04 Sam James
2022-10-29 21:32 Sam James
2022-10-04 6:30 Arthur Zamarin
2022-09-05 1:14 Sam James
2022-09-03 21:59 David Seifert
2022-09-03 10:59 David Seifert
2022-09-01 13:28 Jakov Smolić
2022-09-01 13:28 Jakov Smolić
2022-09-01 13:27 Jakov Smolić
2022-09-01 13:27 Jakov Smolić
2022-06-22 11:57 Jakov Smolić
2022-06-19 1:55 Sam James
2022-03-26 0:01 Sam James
2020-07-12 16:33 Mikle Kolyada
2020-07-12 16:32 Mikle Kolyada
2020-07-12 16:28 Mikle Kolyada
2020-03-16 7:21 Mikle Kolyada
2020-03-16 7:21 Mikle Kolyada
2020-03-16 7:21 Mikle Kolyada
2020-01-27 19:09 Mikle Kolyada
2020-01-08 20:46 Mikle Kolyada
2020-01-08 16:57 Mikle Kolyada
2020-01-08 16:57 Mikle Kolyada
2019-11-18 22:17 Aaron Bauman
2018-09-27 23:55 Alon Bar-Lev
2018-09-01 7:21 Alon Bar-Lev
2017-03-19 4:12 Kent Fredric
2016-07-16 22:34 Manuel Rüger
2016-03-25 15:00 Manuel Rüger
2016-03-25 15:00 Manuel Rüger
2015-11-12 22:10 Manuel Rüger
2015-08-26 1:12 Manuel Rüger
2015-08-11 20:09 Alon Bar-Lev
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=1746070908.9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df.sam@gentoo \
--to=sam@gentoo.org \
--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