summaryrefslogtreecommitdiff
path: root/app-emulation/libcacard
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-14 10:46:43 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-14 10:46:43 +0100
commitd938920a33f03124f4e211a67d9291283442caa1 (patch)
tree8df88b987b9cf96366e7bdab6bec0f5606c6153d /app-emulation/libcacard
parent8d3092381b8c63ad0261911737e91cc4fda109c9 (diff)
gentoo auto-resync : 14:09:2023 - 10:46:43
Diffstat (limited to 'app-emulation/libcacard')
-rw-r--r--app-emulation/libcacard/Manifest4
-rw-r--r--app-emulation/libcacard/libcacard-2.8.1.ebuild40
-rw-r--r--app-emulation/libcacard/metadata.xml3
3 files changed, 46 insertions, 1 deletions
diff --git a/app-emulation/libcacard/Manifest b/app-emulation/libcacard/Manifest
index e97d9d934c7c..ba880043c4e8 100644
--- a/app-emulation/libcacard/Manifest
+++ b/app-emulation/libcacard/Manifest
@@ -1,4 +1,6 @@
AUX libcacard-2.6.0-simpletlv-test-fix.patch 1195 BLAKE2B 77b22b09e9c1ea080adc7763bb0d0c5d91a6f3b74c39e7446aba65adaeb94c47884a195f9a88021f4ebbb7f9a3c8f3ea23c31e2f9c40878465fa6df6a3fbfacf SHA512 9251b661884cccd627a874cc9cad9385f19208680cbce4a99e50fd8b1a94740fded075ec3c4fecef923dd50785cffeeae377cf88e6e9f6d3601e9cf5c0794adc
DIST libcacard-2.6.0.tar.xz 364828 BLAKE2B 3a07243abb91dab05d89bf073fabb4a0ef7e820765066a8d87e72086b88cc726de77d1fdc5118e05ed47077d76ae0a57ff591a2e4e8623c3484c6cbf00cd025e SHA512 d6dfe6fe6cd2711bf8f71edc134a7caf459fc2a9c4f664ab2f1c28cc9ee8efe7a2d5a15c4dc735956638176e07e22416cad5e8e926aa7cab3fa95ded853f5982
+DIST libcacard-2.8.1.tar.xz 396472 BLAKE2B 49b1c0c9184f0a926df85de6146dd31a7127ee5e40a172e3d9e47f33ef4cdef57ee85f34c9c53719b4a8c5a1de695b8936cfcfce141cd558e6d53d215421621b SHA512 6deddd3319dbd74165eeaa2e8ab10de4a6eb111e980edd608801f7fe3c4fa896c9fb239110d17763864887f5eb0b77c03c680d83fd58a3913b48deb5a225ec74
EBUILD libcacard-2.6.0.ebuild 1011 BLAKE2B 400298cca1e48c5b344325588ad3968635e2026c29c33f0c81108c36bacc7bc7a55116f585e0201751d0e0c095ef39db4bff062ea061cab57a2f20ba14003dbf SHA512 40210af1458b5ec6488598c50f58c2b277e8779191001855fcd4517d6bbda7d171ebe7e71d66ec3f2a9cdcd819f601583c1a3f99dc71ddddc5ecaf9ba78bca24
-MISC metadata.xml 402 BLAKE2B 4987b439f9fa8899947548731850d675ca7b06d96fb7627ec24b434a6f30cd1449625642f1bc9cb8dfc8e753027c8bfa4abc5d45c0b6cc8132633b2dd29cf66e SHA512 88b1f92bf672a286e88eb0860ef32b9604fb803fe3b69091d81ede529f9d10f46119603f455a9211505f7e5be0b2adc894fcaee61b7bd421b8bf54d751b9e0eb
+EBUILD libcacard-2.8.1.ebuild 917 BLAKE2B d49d7a26e29bcd9675fee640d289382856288131b49fac2402ddfe515ccc05bcbf580ac69f061a8a31516d1d5dd7ed168c184f14224654fd19869449bafb270c SHA512 209799f78e86236ba9cddbe4b845dcb22ed784500e8c23e4737179d30f191ed62e0865c4282d2f73a2b94c257bb8c047fbb0acb41938065c87e33e0e07367a91
+MISC metadata.xml 498 BLAKE2B 1995d0660f03cd535a3ae79334c0dddf30d6c9d4f10387fe291ca308b169a5c887bab41e3d27864df6668120e1137a941d1aba74833c85604561f16b84df486a SHA512 8b2f3c4a7012c9d282c7a202e79f00bc5092323a2794e28a8d2618d49f0de2fad9df170f2e42a4985a07393c26a5cd67f4648439f47640fa8f959301a392e610
diff --git a/app-emulation/libcacard/libcacard-2.8.1.ebuild b/app-emulation/libcacard/libcacard-2.8.1.ebuild
new file mode 100644
index 000000000000..ae795f56f00d
--- /dev/null
+++ b/app-emulation/libcacard/libcacard-2.8.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Virtual Common Access Card (CAC) library emulator"
+HOMEPAGE="https://gitlab.freedesktop.org/spice/libcacard https://www.spice-space.org/"
+SRC_URI="https://www.spice-space.org/download/libcacard/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+passthrough static-libs test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/nss-3.12.8
+ >=dev-libs/glib-2.32
+ passthrough? ( >=sys-apps/pcsc-lite-1.8 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local emesonargs=(
+ -Ddefault_library=$(usex static-libs both shared)
+ $(meson_feature passthrough pcsc)
+ $(meson_use !test disable_tests)
+ )
+
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+
+ dodoc docs/*.txt
+}
diff --git a/app-emulation/libcacard/metadata.xml b/app-emulation/libcacard/metadata.xml
index 05bce7716419..1a71034e745b 100644
--- a/app-emulation/libcacard/metadata.xml
+++ b/app-emulation/libcacard/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="passthrough">Enable smartcard passthrough support via <pkg>sys-apps/pcsc-lite</pkg></flag>
</use>
+ <upstream>
+ <remote-id type="freedesktop-gitlab">spice/libcacard</remote-id>
+ </upstream>
</pkgmetadata>