commit: 72fea1208fa3e696b00aab2a65ece4a35631aedb Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Feb 21 15:07:36 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Feb 21 15:10:40 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fea120
sys-apps/pcsc-tools: add 1.7.4 w/ verify-sig Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/pcsc-tools/Manifest | 2 ++ sys-apps/pcsc-tools/pcsc-tools-1.7.4.ebuild | 56 +++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sys-apps/pcsc-tools/Manifest b/sys-apps/pcsc-tools/Manifest index 6158aaff7acf..295a84be12bc 100644 --- a/sys-apps/pcsc-tools/Manifest +++ b/sys-apps/pcsc-tools/Manifest @@ -1 +1,3 @@ DIST pcsc-tools-1.7.3.tar.bz2 401255 BLAKE2B 2d640b0600c4fb4764e097d8a6f6cefb26be8aa9cfd4dbe2366741acb67559ab1c1bac87f487c4be30b6a4bca7b2f10c2b069a1f5d17088bf5e45513359c2592 SHA512 2659d5d3d1de147fc5373aaf1bea27692d57ace1f9cd19b2181c0ef43d94c77ecff78f4c784238b9ee05f154550535eb966814f1bd9143ad7ae6842f8b92d5c0 +DIST pcsc-tools-1.7.4.tar.bz2 413309 BLAKE2B 024e588092cb0ad9aa8b3ca2afa1ff2f0cd617c3cb6373e65723ed00f2bca8e769d7b52807753c64092b0314f2e8ab81bf9ae937c0206230285c7526f56cfe99 SHA512 59a79f15a231ebe905c9013fcf1432c8b785babf453cf0a657e34cd87b00517dd30c21f4f0633714b6988aa78eb73494bfc3a02102c7d1de2c5338e2ed79836a +DIST pcsc-tools-1.7.4.tar.bz2.asc 833 BLAKE2B aceb7358b5a1ee6add31c813988a685ff68563a85ec20b14a6f0dc48b2484b62ad6fe3f9f31f0b2631c8a8dbdcd301a9cab878c1e92b341232a8185bb70e7df4 SHA512 2d53ad55c3a5f1c8903cde09e9a55bd8e23877eaee5065cc98fad459dd98925e6d0822faffccfa2309a7b5c29a0323e4b34aa3eb7d0a755928f2397f77817640 diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.7.4.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.7.4.ebuild new file mode 100644 index 000000000000..c52fab8a22f6 --- /dev/null +++ b/sys-apps/pcsc-tools/pcsc-tools-1.7.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ludovicrousseau.asc +inherit meson verify-sig 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 + verify-sig? ( https://pcsc-tools.apdu.fr/${P}.tar.bz2.asc ) +" + +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 ) +" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ludovicrousseau )" + +src_install() { + meson_src_install + + fperms +x /usr/bin/ATR_analysis + + # 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 +}
