summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-09 14:27:19 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-09 14:27:31 +0100
commit2dd28e7d847aca22cd0901f482a0c3c97b73ef5e (patch)
treef3725a7d0de5e29bcdba23179e55f2722629312e /media-video
parentmedia-video/guvcview: remove old (diff)
downloadgentoo-2dd28e7d847aca22cd0901f482a0c3c97b73ef5e.tar.gz
gentoo-2dd28e7d847aca22cd0901f482a0c3c97b73ef5e.tar.bz2
gentoo-2dd28e7d847aca22cd0901f482a0c3c97b73ef5e.zip
media-video/guvcview: Bump to 2.0.5. Export CC/CXX to avoid its autoconf script picking up clang, bug #599030.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-video')
-rw-r--r--media-video/guvcview/Manifest1
-rw-r--r--media-video/guvcview/guvcview-2.0.5.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-video/guvcview/Manifest b/media-video/guvcview/Manifest
index 0856f33b30da..2086bf50f13a 100644
--- a/media-video/guvcview/Manifest
+++ b/media-video/guvcview/Manifest
@@ -1,2 +1,3 @@
DIST guvcview-src-2.0.3.tar.gz 1062788 SHA256 1f2c79f2dccbf512a0aa1c397ce8e5d37fb0a48008ef72a0d3f10f9dc0758bce SHA512 976e62ffe26bd9c815ff754337a42512c6fcc9d55285e79e0505f6211a7ca2407546e433fc0e8439ea541ef51a23101b0badda2f9fcc9d197d3a2ab27983b704 WHIRLPOOL 8d94d9e669bee2f551745af03efba22d956d37927edf9b1a8b901ac943dc8c0d4e59a0aeada904b7c45e4ce693f9b49ef6e383485b827323fea066e28de0f220
DIST guvcview-src-2.0.4.tar.gz 1120666 SHA256 670ef45168a9b58d36ac42f09c498db5e56b76b0be25b0a6dc97528569334fa2 SHA512 9339e9cf7dc5224f1b87bb21e0ad711d9c27f4197d5f758c70edf465eb01c8c9c51542c75d686f0439f9e843a1c14c2f76835e8529b87b35a737fc5ccb01fe0a WHIRLPOOL ff168a9c785f4f165891a4e9f4541bcd1774fbd7b3c98d2259f10b1fe02689f4c1f91b0cdd966ea82905a9a23ad8af40081a80df9389b01640bbfca32f4734df
+DIST guvcview-src-2.0.5.tar.gz 1134237 SHA256 a86beb5993a8449ed3cbcc6ec2a238ef0b90138b6cbe2afab4456d37f44c41a0 SHA512 b4a1216ab2effbd0022d5ba0ce266ac06a781e453d3dbedfe29b654864d3a26fe1e8b68245d76eff854281d42f1871a8a82b06f783b5115e94ec1c111aac05eb WHIRLPOOL 404f6f2afb57b0ac21326e996ab4c21e533a73c1617d3110550cf109c23555a9f2124fb77ac888dc0434844d1b7b5c728265c41bcbeaec6a85bdb4fdf21585b5
diff --git a/media-video/guvcview/guvcview-2.0.5.ebuild b/media-video/guvcview/guvcview-2.0.5.ebuild
new file mode 100644
index 000000000000..5489764de218
--- /dev/null
+++ b/media-video/guvcview/guvcview-2.0.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils flag-o-matic qmake-utils toolchain-funcs
+
+MY_P=${PN}-src-${PV}
+
+DESCRIPTION="GTK+ UVC Viewer"
+HOMEPAGE="http://guvcview.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gsl libav pulseaudio qt5"
+
+RDEPEND=">=dev-libs/glib-2.10
+ media-libs/libpng:0=
+ media-libs/libsdl2
+ media-libs/libv4l
+ >=media-libs/portaudio-19_pre
+ !libav? ( >=media-video/ffmpeg-2.8:0= )
+ libav? ( media-video/libav:= )
+ virtual/ffmpeg
+ virtual/libusb:1
+ virtual/udev
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
+ gsl? ( >=sci-libs/gsl-1.15 )
+ qt5? ( dev-qt/qtwidgets:5 )
+ !qt5? ( >=x11-libs/gtk+-3.6:3 )
+ !<sys-kernel/linux-headers-3.4-r2" #448260
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/os-headers
+ sys-devel/autoconf-archive
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i '/^docdir/,/^$/d' Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ export MOC="$(qt5_get_bindir)/moc"
+ use qt5 && append-cxxflags -std=c++11
+ # 599030
+ tc-export CC CXX
+ econf \
+ --disable-debian-menu \
+ $(use_enable gsl) \
+ $(use_enable pulseaudio pulse) \
+ $(use_enable qt5) \
+ $(use_enable !qt5 gtk3)
+}