diff --git a/app-crypt/ccid/Manifest b/app-crypt/ccid/Manifest index 384276ff0fae..f332b1696695 100644 --- a/app-crypt/ccid/Manifest +++ b/app-crypt/ccid/Manifest @@ -1 +1,2 @@ DIST ccid-1.6.1.tar.xz 195844 BLAKE2B 7ab243196761b22edbaffca14b7ef840d53cc4eecc7d6252fb3255e85fc11eb0e1de65775a250da3d4687015ad6e2901d77b1227dc5921f69b42891541ad4e62 SHA512 3c8336a71e48880f3239b322acb0c40231ae83f80011cef39fef95eade6fd76849343faafdb4fcf9e962afda2c3a415e4a537d3f423b152ef2d3dddb4ecf2eac +DIST ccid-1.7.0.tar.xz 200688 BLAKE2B c6c262365191181e53af81d9232cf87d9bfbf7e86d5791076c108776b1822e255da94867895d71331973a9e739ad47059c661880477af9cfa5f9ce599aca359a SHA512 8e138957f01deefc803dde707fa3a9888de260abcfc0e8c57ef5ce7c506d173552ec55e36a384ce40f51b7aa4014ac42f5ba1e98152750f89db3e2eb7e6f4539 diff --git a/app-crypt/ccid/ccid-1.7.0.ebuild b/app-crypt/ccid/ccid-1.7.0.ebuild new file mode 100644 index 000000000000..b34a1055b2ae --- /dev/null +++ b/app-crypt/ccid/ccid-1.7.0.ebuild @@ -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 +}