summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/uvcdynctrl/uvcdynctrl-0.2.4.ebuild')
-rw-r--r--media-video/uvcdynctrl/uvcdynctrl-0.2.4.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/media-video/uvcdynctrl/uvcdynctrl-0.2.4.ebuild b/media-video/uvcdynctrl/uvcdynctrl-0.2.4.ebuild
new file mode 100644
index 0000000..92e501c
--- /dev/null
+++ b/media-video/uvcdynctrl/uvcdynctrl-0.2.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils
+MY_PN="libwebcam"
+MY_P="${MY_PN}-src-${PV}"
+
+HOMEPAGE="http://sourceforge.net/projects/libwebcam/"
+DESCRIPTION="Manage dynamic controls in uvcvideo"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-3"
+IUSE="static-libs"
+
+DEPEND="dev-libs/libxml2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ cmake-utils_src_install
+ use static-libs || rm -fr "${D}"usr/lib*/${MY_PN}.a
+}