summaryrefslogtreecommitdiff
path: root/media-libs/libuvc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-19 17:57:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-19 17:57:29 +0100
commitd473a706836012853193afc7000922601e4ada61 (patch)
tree01c43bd6b2121d90bc97ead47dd7654d9402ea1d /media-libs/libuvc
parent420eeee727d39d869d864caddb04a80dafda7160 (diff)
gentoo resync : 19.10.2017
Diffstat (limited to 'media-libs/libuvc')
-rw-r--r--media-libs/libuvc/Manifest3
-rw-r--r--media-libs/libuvc/libuvc-0.0.6.ebuild42
-rw-r--r--media-libs/libuvc/metadata.xml15
3 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/libuvc/Manifest b/media-libs/libuvc/Manifest
new file mode 100644
index 000000000000..cfdac0853ca7
--- /dev/null
+++ b/media-libs/libuvc/Manifest
@@ -0,0 +1,3 @@
+DIST libuvc-0.0.6.tar.gz 95598 SHA256 42175a53c1c704365fdc782b44233925e40c9344fbb7f942181c1090f06e2873 SHA512 d8e52f5d062d2b4561562c9dc017d7f8d9d6734c4284e54b7bc58f9fc968cc8aec51dde938e8911a5c71d0c49fca4478c2fe08c9b7041d4fa26d7c6e1e653f1e WHIRLPOOL 470114ab1596ae8119a8d67c31d393f4919b85e42230027db58565e4369f322e5e7a6604bf29336e5c7bb7243714dca8a3d037854007cca1ac6606aa59161ecc
+EBUILD libuvc-0.0.6.ebuild 786 SHA256 8e6f294f596fe2aca74174399e582eb037daaca614895ce9ffd55fbc1b18b0ac SHA512 2b3b6a6606b6e7eb4f9232191bf4a4d9d3a3524f047584dee8a30d16c06a62b9352fb9dad5be5ff7a5b5915f8b03cf9234a85ab4860597b2b6f8a3f651725d1b WHIRLPOOL 157e69a06da78f3fb0ec0c3af0c887eb0c69935b5a2d4d9ad651a43f98b2998ea829089d77a3198e631c312632ce606f2cb1786a0cdb34a246d602234f49a8a4
+MISC metadata.xml 446 SHA256 13ced628488d7142c087dc49447e30dd395c3f270c8aacefbfcfd6632bfe3934 SHA512 19c938d7b3f171395552c4758f86cd6d80941e428967c14490d8ef09f0d48b215b8458d1695f390c257e81cc376f7c401e8405f8103c6c68c2b744cafbdb4eb3 WHIRLPOOL e2666cae9e6cedf19237f13b2017c7dd28621ce562be74e84ed97c8b1530ed00bd50974e6b9cf598fa5cf72a195c9120f39b27e115fd14b54d828c0580189a62
diff --git a/media-libs/libuvc/libuvc-0.0.6.ebuild b/media-libs/libuvc/libuvc-0.0.6.ebuild
new file mode 100644
index 000000000000..80fde0f10f9a
--- /dev/null
+++ b/media-libs/libuvc/libuvc-0.0.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+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"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ virtual/jpeg:62
+ virtual/libusb:1
+ virtual/udev
+"
+DEPEND="${RDEPEND}"
+
+CMAKE_MIN_VERSION="2.8.0"
+
+DOCS=( changelog.txt README.md )
+
+src_prepare() {
+ sed -r -i \
+ -e 's/(\$\{CMAKE_INSTALL_PREFIX\}\/)lib/\1'"$(get_libdir)"'/' \
+ CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_BUILD_TARGET=Shared
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/media-libs/libuvc/metadata.xml b/media-libs/libuvc/metadata.xml
new file mode 100644
index 000000000000..af18713bf7b4
--- /dev/null
+++ b/media-libs/libuvc/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>reagentoo@gmail.com</email>
+ <name>Dmitry Baranov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ktossell/libuvc</remote-id>
+ </upstream>
+</pkgmetadata>