aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2019-12-11 21:37:13 -0500
committerAnthony G. Basile <blueness@gentoo.org>2019-12-11 21:37:13 -0500
commit74bd2a962a71954b7f0eb6e8ce6242ddb9c9f346 (patch)
treee1ad10a75eb9c9e3161eda708ac33d4d15dca0b8 /media-video
parentdev-libs/elfutils: 0.177 stable on all musl arches (diff)
downloadmusl-74bd2a962a71954b7f0eb6e8ce6242ddb9c9f346.tar.gz
musl-74bd2a962a71954b7f0eb6e8ce6242ddb9c9f346.tar.bz2
musl-74bd2a962a71954b7f0eb6e8ce6242ddb9c9f346.zip
media-video/guvcview: sync with the tree
Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --force Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/guvcview/Manifest2
-rw-r--r--media-video/guvcview/guvcview-2.0.6.ebuild (renamed from media-video/guvcview/guvcview-2.0.5.ebuild)56
2 files changed, 39 insertions, 19 deletions
diff --git a/media-video/guvcview/Manifest b/media-video/guvcview/Manifest
index 4a2be29..5b27727 100644
--- a/media-video/guvcview/Manifest
+++ b/media-video/guvcview/Manifest
@@ -1 +1 @@
-DIST guvcview-src-2.0.5.tar.gz 1134237 SHA256 a86beb5993a8449ed3cbcc6ec2a238ef0b90138b6cbe2afab4456d37f44c41a0 SHA512 b4a1216ab2effbd0022d5ba0ce266ac06a781e453d3dbedfe29b654864d3a26fe1e8b68245d76eff854281d42f1871a8a82b06f783b5115e94ec1c111aac05eb WHIRLPOOL 404f6f2afb57b0ac21326e996ab4c21e533a73c1617d3110550cf109c23555a9f2124fb77ac888dc0434844d1b7b5c728265c41bcbeaec6a85bdb4fdf21585b5
+DIST guvcview-src-2.0.6.tar.gz 1131013 BLAKE2B ec8d7a82344e26890fe184d0edf77d0e415aa708bdf3cf55f96c555aaef479b1b7441a0425db035d10a6dc31f90282c169afff2d13684599ab1c005a5ea50ab1 SHA512 f73ba0a013f5afadb45c9bf60f723058ee31e99e204c951c49335a8ef9902a2caa752d6d51f6dd20ae960217cc25155e70efe4c49299a95e6780aaf8034078ec
diff --git a/media-video/guvcview/guvcview-2.0.5.ebuild b/media-video/guvcview/guvcview-2.0.6.ebuild
index 75c5faa..1b2304c 100644
--- a/media-video/guvcview/guvcview-2.0.5.ebuild
+++ b/media-video/guvcview/guvcview-2.0.6.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils flag-o-matic qmake-utils toolchain-funcs
+EAPI=6
+
+inherit autotools flag-o-matic qmake-utils toolchain-funcs
MY_P=${PN}-src-${PV}
-DESCRIPTION="GTK+ UVC Viewer"
+DESCRIPTION="Simple Qt5 or GTK+3 interface for capturing and viewing video from v4l2 devices"
HOMEPAGE="http://guvcview.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
@@ -15,35 +16,45 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="gsl libav pulseaudio qt5"
-RDEPEND=">=dev-libs/glib-2.10
+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 )
+ !libav? ( >=media-video/ffmpeg-2.8:0= )
+ libav? ( media-video/libav:= )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
!qt5? ( >=x11-libs/gtk+-3.6:3 )
- !<sys-kernel/linux-headers-3.4-r2" #448260
+"
+# linux-headers: bug 448260
DEPEND="${RDEPEND}
dev-util/intltool
+ sys-devel/autoconf-archive
sys-devel/gettext
+ >=sys-kernel/linux-headers-3.4-r2
virtual/os-headers
- sys-devel/autoconf-archive
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
src_prepare() {
+ default
# Fix for MUSL
epatch "${FILESDIR}/${PN}-2.0.4-musl.patch"
sed -i '/^docdir/,/^$/d' Makefile.am || die
+ echo "guvcview/gui_qt5_audioctrls.cpp" >> po/POTFILES.skip || die # bug 630984
eautoreconf
}
@@ -52,10 +63,19 @@ src_configure() {
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) \
+
+ local myeconfargs=(
+ --disable-debian-menu
+ --disable-static
+ $(use_enable gsl)
+ $(use_enable pulseaudio pulse)
+ $(use_enable qt5)
$(use_enable !qt5 gtk3)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
}