sys-apps/pcsc-tools: add 1.7.5

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2026-10-25 11:01:18 +01:00
parent 5c0290864b
commit 2893af555c
2 changed files with 58 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
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
DIST pcsc-tools-1.7.5.tar.bz2 422342 BLAKE2B 5a44292570a0af6960da966c349ebd401e5324dc32336e5ec64c5589d151d1e1716c50f26fe34572a63327f1079e43a90f799f1aea8585846955e5d9206c0f24 SHA512 aecd33b057fb7ec276984fd9f0643fdf3b4e9cc59437f8ddcf1e3c106d7fc80f17ef0e8e4d0eb50489cc7ef45788aad794a86e9887807838160eafd12def4a1c
DIST pcsc-tools-1.7.5.tar.bz2.asc 833 BLAKE2B 16e4fc05a957307462820309ab58d9d5aa0877a85b0e73c7d8a3979ff349fa1fb910d8f32851fd10e90fc5640b5fce5326cdf29b47f61aea58403e16cb092754 SHA512 e0467c3c42e3add894610bbcd4d3d8c6adffbd0abd52955621d1cd7f1f7cc34d86642f9d62bafaca9c321fce10a1e23561e29cac291102ab766e60c5d2c351ee
@@ -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
}