From fccb5014cbef0bb6d098b16fc3588acfe381979c Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 2 Jun 2021 21:21:46 +0000 Subject: media-video/guvcview: subscribe to sci-libs/gsl subslot Signed-off-by: Sam James --- media-video/guvcview/guvcview-2.0.6-r1.ebuild | 77 --------------------------- media-video/guvcview/guvcview-2.0.6-r2.ebuild | 77 +++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 media-video/guvcview/guvcview-2.0.6-r1.ebuild create mode 100644 media-video/guvcview/guvcview-2.0.6-r2.ebuild (limited to 'media-video') diff --git a/media-video/guvcview/guvcview-2.0.6-r1.ebuild b/media-video/guvcview/guvcview-2.0.6-r1.ebuild deleted file mode 100644 index a24e2f2d3041..000000000000 --- a/media-video/guvcview/guvcview-2.0.6-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P=${PN}-src-${PV} -inherit autotools flag-o-matic qmake-utils toolchain-funcs - -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" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="gsl pulseaudio qt5" - -BDEPEND=" - dev-util/intltool - sys-devel/autoconf-archive - sys-devel/gettext - virtual/pkgconfig -" -RDEPEND=" - >=dev-libs/glib-2.10 - media-libs/libpng:0= - media-libs/libsdl2 - media-libs/libv4l - >=media-libs/portaudio-19_pre - >=media-video/ffmpeg-2.8:0= - virtual/libusb:1 - virtual/udev - gsl? ( >=sci-libs/gsl-1.15 ) - 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 ) -" -# linux-headers: bug 448260 -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-3.4-r2 - virtual/os-headers -" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - sed -i '/^docdir/,/^$/d' Makefile.am || die - echo "guvcview/gui_qt5_audioctrls.cpp" >> po/POTFILES.skip || die # bug 630984 - eautoreconf -} - -src_configure() { - export MOC="$(qt5_get_bindir)/moc" - use qt5 && append-cxxflags -std=c++11 - # 599030 - tc-export CC CXX - - 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' -type f -delete || die -} diff --git a/media-video/guvcview/guvcview-2.0.6-r2.ebuild b/media-video/guvcview/guvcview-2.0.6-r2.ebuild new file mode 100644 index 000000000000..fb40e25584fb --- /dev/null +++ b/media-video/guvcview/guvcview-2.0.6-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${PN}-src-${PV} +inherit autotools flag-o-matic qmake-utils toolchain-funcs + +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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="gsl pulseaudio qt5" + +BDEPEND=" + dev-util/intltool + sys-devel/autoconf-archive + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND=" + >=dev-libs/glib-2.10 + media-libs/libpng:0= + media-libs/libsdl2 + media-libs/libv4l + >=media-libs/portaudio-19_pre + >=media-video/ffmpeg-2.8:0= + virtual/libusb:1 + virtual/udev + gsl? ( >=sci-libs/gsl-1.15:= ) + 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 ) +" +# linux-headers: bug 448260 +DEPEND="${RDEPEND} + >=sys-kernel/linux-headers-3.4-r2 + virtual/os-headers +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -i '/^docdir/,/^$/d' Makefile.am || die + echo "guvcview/gui_qt5_audioctrls.cpp" >> po/POTFILES.skip || die # bug 630984 + eautoreconf +} + +src_configure() { + export MOC="$(qt5_get_bindir)/moc" + use qt5 && append-cxxflags -std=c++11 + # 599030 + tc-export CC CXX + + 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' -type f -delete || die +} -- cgit v1.2.3-65-gdbad