summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@infinera.com>2023-07-29 18:00:38 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-08-17 10:39:12 +0300
commit2930bb197915d7e29fb87c01793a36d70b0a9d64 (patch)
tree9bcfdcf41c0270d1441f4932de21a1e7dfd08f21 /media-libs/libuvc
parentdev-python/flasgger: Keyword 0.9.7.1 ppc, #912056 (diff)
downloadgentoo-2930bb197915d7e29fb87c01793a36d70b0a9d64.tar.gz
gentoo-2930bb197915d7e29fb87c01793a36d70b0a9d64.tar.bz2
gentoo-2930bb197915d7e29fb87c01793a36d70b0a9d64.zip
media-libs/libuvc: add 0.0.7
Closes: https://bugs.gentoo.org/911342 Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-libs/libuvc')
-rw-r--r--media-libs/libuvc/Manifest1
-rw-r--r--media-libs/libuvc/libuvc-0.0.7.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/media-libs/libuvc/Manifest b/media-libs/libuvc/Manifest
index 78d45016bac3..9de3a0cb7896 100644
--- a/media-libs/libuvc/Manifest
+++ b/media-libs/libuvc/Manifest
@@ -1 +1,2 @@
DIST libuvc-0.0.6.tar.gz 95598 BLAKE2B 8c317068629512a699536d218401a4ab05925e43bb867ddd0c1b3c06f5b26e0291ad4c486a04f16f76ee03cf5d576b7387d4bde726acf105f7297372ec14b1ac SHA512 d8e52f5d062d2b4561562c9dc017d7f8d9d6734c4284e54b7bc58f9fc968cc8aec51dde938e8911a5c71d0c49fca4478c2fe08c9b7041d4fa26d7c6e1e653f1e
+DIST libuvc-0.0.7.tar.gz 104376 BLAKE2B b49ed70fed0329dec1672e620dc8fef9e8de9f4d4da034028df9d1ac04d01893736a20c58a742357e1e905d21fb1bef65d1e389462fe8513a1a3b54a6a72df72 SHA512 cf2c0a6cc04717f284f25bed17f178a4b2b2a2bb3e5937e50be144e88db2c481c5ea763c164fe0234834fea4837f96fcc13bdbdafd4610d2985943562dfcc72f
diff --git a/media-libs/libuvc/libuvc-0.0.7.ebuild b/media-libs/libuvc/libuvc-0.0.7.ebuild
new file mode 100644
index 000000000000..f3cd27e28aee
--- /dev/null
+++ b/media-libs/libuvc/libuvc-0.0.7.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A cross-platform library for USB video devices, built atop libusb"
+HOMEPAGE="https://int80k.com/libuvc/"
+SRC_URI="https://github.com/ktossell/libuvc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ media-libs/libjpeg-turbo
+ virtual/libusb:1
+ virtual/udev"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( changelog.txt README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_BUILD_TARGET=Shared
+ )
+ cmake_src_configure
+}