Skip to content

Commit

Permalink
app-emulation/libcacard: version bump for #611348
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dev-zero committed Aug 14, 2018
1 parent 10054d7 commit bc51b96
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emulation/libcacard/Manifest
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions app-emulation/libcacard/libcacard-2.6.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
3 changes: 3 additions & 0 deletions app-emulation/libcacard/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
<email>[email protected]</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>

0 comments on commit bc51b96

Please sign in to comment.