app-crypt/ccid: Sync with Gentoo

It's from Gentoo commit 9838dec04611bf1bee190a0bd85302c9572d7503.
This commit is contained in:
Flatcar Buildbot 2025-02-17 07:05:03 +00:00 committed by Krzesimir Nowak
parent f65b16a2e2
commit 274514f545
3 changed files with 50 additions and 2 deletions

View File

@ -1 +1,2 @@
DIST ccid-1.5.5.tar.bz2 708374 BLAKE2B a82986ead2dbb3241ef419ad16eb0fac835c5ab4fa988e5ee53cd1608a30a9381210a6fd013b6a059ca2835d55b4a41afa4064575e91b8eb356bff6d01d19add SHA512 9d2aebe645a5880bfad7d420ddab96811d1fd989c79afa28f5471ae53f36b6d45ee5e13b32ac4afcf59fc762ae835db7e6312ad6642b263158c2d9a30c7651bd
DIST ccid-1.6.1.tar.xz 195844 BLAKE2B 7ab243196761b22edbaffca14b7ef840d53cc4eecc7d6252fb3255e85fc11eb0e1de65775a250da3d4687015ad6e2901d77b1227dc5921f69b42891541ad4e62 SHA512 3c8336a71e48880f3239b322acb0c40231ae83f80011cef39fef95eade6fd76849343faafdb4fcf9e962afda2c3a415e4a537d3f423b152ef2d3dddb4ecf2eac

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -46,7 +46,7 @@ src_install() {
pkg_postinst() {
udev_reload
einfo "Check https://github.com/LudovicRousseau/CCID/blob/master/INSTALL"
einfo "Check https://github.com/LudovicRousseau/CCID/blob/master/INSTALL.md"
einfo "for more info about how to configure and use ccid"
}

View File

@ -0,0 +1,47 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson udev
DESCRIPTION="CCID free software driver"
HOMEPAGE="https://ccid.apdu.fr https://github.com/LudovicRousseau/CCID"
SRC_URI="https://ccid.apdu.fr/files/${P}.tar.xz"
LICENSE="LGPL-2.1+ LGPL-2+ GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="twinserial"
RDEPEND="
sys-apps/pcsc-lite
virtual/libusb:1
"
DEPEND="${RDEPEND}"
BDEPEND="
app-alternatives/lex
dev-lang/perl
virtual/pkgconfig"
src_configure() {
local emesonargs=(
$(meson_use twinserial serial)
)
meson_src_configure
}
src_install() {
meson_src_install
udev_newrules src/92_pcscd_ccid.rules 92-pcsc-ccid.rules
}
pkg_postinst() {
udev_reload
einfo "Check https://github.com/LudovicRousseau/CCID/blob/master/INSTALL.md"
einfo "for more info about how to configure and use ccid"
}
pkg_postrm() {
udev_reload
}