summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-05-30 12:45:44 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-30 12:53:47 +0200
commitfccc5d82839845eb6f1f7e47f4aabd358c27429b (patch)
tree3f896f80e50cd1bf1c843456778fb65fe6f78486 /media-tv/v4l-utils
parentmedia-libs/libv4l: bump to 1.12.5 (diff)
downloadgentoo-fccc5d82839845eb6f1f7e47f4aabd358c27429b.tar.gz
gentoo-fccc5d82839845eb6f1f7e47f4aabd358c27429b.tar.bz2
gentoo-fccc5d82839845eb6f1f7e47f4aabd358c27429b.zip
media-tv/v4l-utils: bump to 1.12.5
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-tv/v4l-utils')
-rw-r--r--media-tv/v4l-utils/Manifest1
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.12.5.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-tv/v4l-utils/Manifest b/media-tv/v4l-utils/Manifest
index b0db33734ea..e2c46766c2f 100644
--- a/media-tv/v4l-utils/Manifest
+++ b/media-tv/v4l-utils/Manifest
@@ -1,3 +1,4 @@
DIST v4l-utils-1.10.1.tar.bz2 1352235 SHA256 6147ccc29fe7dd3c5c3994d613c4f2a099bac8b44694a96e5cf4d7caca8336c0 SHA512 524bfd4e93e82f2dd55f0baa3e8be5850d4675b46fd0197b6d1287fc0d502c6b5c64bdf461af9630345f2d847d6aa5b6dc483693cee452da0b6729f156a5d98d WHIRLPOOL 5bd3624acf46f5e79f7ee8f114ec9c5d27bfb25adf9a74c1265b4ff08fe55a828a53e6a58f3ed15dc18f3adcd98e07ac5fc21237ede347944f333a6015d964f6
DIST v4l-utils-1.12.3.tar.bz2 1588049 SHA256 5a47dd6f0e7dfe902d94605c01d385a4a4e87583ff5856d6f181900ea81cf46e SHA512 6d0269d900c5dad08499ee551ce1507b8b750895f48423ccd534db51cf68794b59a279743fd22dc6da0c092ca31ef744aa564f26b6d6252cbbc7a62e2e1c714a WHIRLPOOL 1d5606defb85981ef6ab91536a1dd4ebe674bb89fff6fcbbc35a1bae00e9a7dd8e14abac10bb59947a0bdfcdec98259af48cd0b252f4ad75fff101e6030ba57a
+DIST v4l-utils-1.12.5.tar.bz2 1588944 SHA256 0618162ddb0b57fe7c45407d4d66ed79e3a134cdbc9e72598d34e61d3359e20d SHA512 ed2e7545a728360b9684db68330885b498a3a5611f49b80e54da72109d9ba2aa75e85f89f085ff0a6f077b17c880101fa5b78c9dff8a0df2eac1866bd80a04ea WHIRLPOOL 07d2c8184812366998134f3bda7c5a2f2888780f84324e6da342a43f7da824655db6d6a929c910f5569ec33774acc36542811ffe6cf74676b70e910c6c84d293
DIST v4l-utils-1.6.2.tar.bz2 1148309 SHA256 d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d SHA512 e14442e1b3660d0cb0844f1a5a88f855bc8532df9e72e1b2afd348a7c077ad25657f832d0fd47d3f567bfd399fd82c5a749d075ac9ecb911ea462685e31aa0b2 WHIRLPOOL bd1b825354ca52e62e8c5f83d43bfd2cec63611c65d6b2709a7274fd15ae0fa21345d2b95a073c0b3a33b7c94b304562f1efcf112e1357a58515bd0d6f37f396
diff --git a/media-tv/v4l-utils/v4l-utils-1.12.5.ebuild b/media-tv/v4l-utils/v4l-utils-1.12.5.ebuild
new file mode 100644
index 00000000000..f3d5a556761
--- /dev/null
+++ b/media-tv/v4l-utils/v4l-utils-1.12.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils flag-o-matic udev
+
+DESCRIPTION="Separate utilities ebuild from upstream v4l-utils package"
+HOMEPAGE="http://git.linuxtv.org/v4l-utils.git"
+SRC_URI="http://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="qt5"
+
+RDEPEND=">=media-libs/libv4l-${PV}
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ virtual/opengl
+ media-libs/alsa-lib
+ )
+ virtual/libudev
+ !media-tv/v4l2-ctl
+ !<media-tv/ivtv-utils-1.4.0-r2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_configure() {
+ if use qt5; then
+ append-cxxflags -std=c++11
+ local qt5_paths=( \
+ MOC="$(pkg-config --variable=host_bins Qt5Core)/moc" \
+ UIC="$(pkg-config --variable=host_bins Qt5Core)/uic" \
+ RCC="$(pkg-config --variable=host_bins Qt5Core)/rcc" \
+ )
+ fi
+ # Hard disable the flags that apply only to the libs.
+ econf \
+ --disable-static \
+ $(use_enable qt5 qv4l2) \
+ --with-udevdir="$(get_udevdir)" \
+ --without-jpeg \
+ "${qt5_paths[@]}"
+}
+
+src_install() {
+ emake -C utils DESTDIR="${D}" install
+ emake -C contrib DESTDIR="${D}" install
+
+ dodoc README
+ newdoc utils/libv4l2util/TODO TODO.libv4l2util
+ newdoc utils/libmedia_dev/README README.libmedia_dev
+ newdoc utils/dvb/README README.dvb
+ newdoc utils/xc3028-firmware/README README.xc3028-firmware
+ newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance
+}