summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2018-08-14 17:12:25 +0200
committerTiziano Müller <dev-zero@gentoo.org>2018-08-14 17:14:48 +0200
commitbc51b968eb58887c91e46184734f98a6ac2c4cce (patch)
tree522a92656db77e69b33cab04d5c63b747994f5ec /app-emulation/libcacard
parentapp-emulation/libcacard: remove myself as maintainer (diff)
downloadgentoo-bc51b968eb58887c91e46184734f98a6ac2c4cce.tar.gz
gentoo-bc51b968eb58887c91e46184734f98a6ac2c4cce.tar.bz2
gentoo-bc51b968eb58887c91e46184734f98a6ac2c4cce.zip
app-emulation/libcacard: version bump for #611348
adding a new (default-on) USE flag to reduce deps for people wanting virtual certificate-based smartcards only Bug: https://bugs.gentoo.org/611348 Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'app-emulation/libcacard')
-rw-r--r--app-emulation/libcacard/Manifest1
-rw-r--r--app-emulation/libcacard/libcacard-2.6.0.ebuild31
-rw-r--r--app-emulation/libcacard/metadata.xml3
3 files changed, 35 insertions, 0 deletions
diff --git a/app-emulation/libcacard/Manifest b/app-emulation/libcacard/Manifest
index 7db72c25cf65..70d0443d1a0e 100644
--- a/app-emulation/libcacard/Manifest
+++ b/app-emulation/libcacard/Manifest
@@ -1,2 +1,3 @@
DIST libcacard-0.1.2.tar.bz2 276430 BLAKE2B 315d7b0c8dcd3d6b40db4c1586cf149e6681af4e0188bed22cb526d1de79bda4a7b1c5ece894c679c2e7b727b6d05628ba9f8fbc3900503f78f13a029514e15d SHA512 a3622b29fe3a059e069ad6f7da428278a915cec362a6aae3c7cad0d47dfadba67308631435993c0f41cabe92a05874b339518dc503b71b8d86db4976bb6987f6
DIST libcacard-2.5.1.tar.xz 325692 BLAKE2B f6ce08f08f359789886a63d4554e3492e8cb570e5b476dc8185332a951fe03e7b5577856c4c60523ad673577a3a160490aaf943f401796973b0d205ca740f949 SHA512 88e66745f649f52c3fcc7745834d628e76abc21cef1b300e8750e6c0641f65d0e11224da30fa13dea20d6ebe5d36d7a8680d029e15149fddaea43558216ccc21
+DIST libcacard-2.6.0.tar.xz 364828 BLAKE2B 3a07243abb91dab05d89bf073fabb4a0ef7e820765066a8d87e72086b88cc726de77d1fdc5118e05ed47077d76ae0a57ff591a2e4e8623c3484c6cbf00cd025e SHA512 d6dfe6fe6cd2711bf8f71edc134a7caf459fc2a9c4f664ab2f1c28cc9ee8efe7a2d5a15c4dc735956638176e07e22416cad5e8e926aa7cab3fa95ded853f5982
diff --git a/app-emulation/libcacard/libcacard-2.6.0.ebuild b/app-emulation/libcacard/libcacard-2.6.0.ebuild
new file mode 100644
index 000000000000..e54815fe8095
--- /dev/null
+++ b/app-emulation/libcacard/libcacard-2.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="virtual Common Access Card (CAC) library emulator"
+HOMEPAGE="https://www.spice-space.org/"
+SRC_URI="https://www.spice-space.org/download/libcacard/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+passthrough static-libs"
+
+RDEPEND=">=dev-libs/nss-3.13
+ >=dev-libs/glib-2.22
+ passthrough? ( >=sys-apps/pcsc-lite-1.8 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_enable passthrough pcsc) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ dodoc docs/*.txt
+ use static-libs || find "${ED}"/usr/ -name 'lib*.la' -delete
+}
diff --git a/app-emulation/libcacard/metadata.xml b/app-emulation/libcacard/metadata.xml
index 36289aa361ce..0fa99318f0a7 100644
--- a/app-emulation/libcacard/metadata.xml
+++ b/app-emulation/libcacard/metadata.xml
@@ -5,4 +5,7 @@
<email>virtualization@gentoo.org</email>
<name>Gentoo Virtualization Project</name>
</maintainer>
+ <use>
+ <flag name="passthrough">Enable smartcard passthrough support via <pkg>sys-apps/pcsc-lite</pkg></flag>
+ </use>
</pkgmetadata>