From d80c72f65de6e0adb64ce5ce5827b928b45ef25d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 22 Jan 2019 10:20:11 +0000 Subject: media-video/guvcview : version bump to 2.0.6 --- media-video/guvcview/Manifest | 2 +- media-video/guvcview/files/ffmpeg3.patch | 26 -------- media-video/guvcview/guvcview-2.0.5-r1.ebuild | 59 ----------------- media-video/guvcview/guvcview-2.0.6-r1337.ebuild | 80 ++++++++++++++++++++++++ 4 files changed, 81 insertions(+), 86 deletions(-) delete mode 100644 media-video/guvcview/files/ffmpeg3.patch delete mode 100644 media-video/guvcview/guvcview-2.0.5-r1.ebuild create mode 100644 media-video/guvcview/guvcview-2.0.6-r1337.ebuild diff --git a/media-video/guvcview/Manifest b/media-video/guvcview/Manifest index 574c4d07..5b277275 100644 --- a/media-video/guvcview/Manifest +++ b/media-video/guvcview/Manifest @@ -1 +1 @@ -DIST guvcview-src-2.0.5.tar.gz 1134237 BLAKE2B 6165349005a07e3e9ea555a7b4aa731ec218f8073dfce8ac5036dd3ccbe4228aeb3b29491c8ad545d5b5ab193045704a60bfcd48459bfc56ad923b583c08f5be SHA512 b4a1216ab2effbd0022d5ba0ce266ac06a781e453d3dbedfe29b654864d3a26fe1e8b68245d76eff854281d42f1871a8a82b06f783b5115e94ec1c111aac05eb +DIST guvcview-src-2.0.6.tar.gz 1131013 BLAKE2B ec8d7a82344e26890fe184d0edf77d0e415aa708bdf3cf55f96c555aaef479b1b7441a0425db035d10a6dc31f90282c169afff2d13684599ab1c005a5ea50ab1 SHA512 f73ba0a013f5afadb45c9bf60f723058ee31e99e204c951c49335a8ef9902a2caa752d6d51f6dd20ae960217cc25155e70efe4c49299a95e6780aaf8034078ec diff --git a/media-video/guvcview/files/ffmpeg3.patch b/media-video/guvcview/files/ffmpeg3.patch deleted file mode 100644 index 5397d688..00000000 --- a/media-video/guvcview/files/ffmpeg3.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: guvcview-src-2.0.3/gview_v4l2core/jpeg_decoder.c -=================================================================== ---- guvcview-src-2.0.3.orig/gview_v4l2core/jpeg_decoder.c -+++ guvcview-src-2.0.3/gview_v4l2core/jpeg_decoder.c -@@ -1436,7 +1436,7 @@ int jpeg_init_decoder(int width, int hei - exit(-1); - } - -- codec_data->context->pix_fmt = PIX_FMT_YUV422P; -+ codec_data->context->pix_fmt = AV_PIX_FMT_YUV422P; - codec_data->context->width = width; - codec_data->context->height = height; - //jpeg_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE); -Index: guvcview-src-2.0.3/gview_v4l2core/uvc_h264.c -=================================================================== ---- guvcview-src-2.0.3.orig/gview_v4l2core/uvc_h264.c -+++ guvcview-src-2.0.3/gview_v4l2core/uvc_h264.c -@@ -970,7 +970,7 @@ int h264_init_decoder(int width, int hei - } - - h264_ctx->context->flags2 |= CODEC_FLAG2_FAST; -- h264_ctx->context->pix_fmt = PIX_FMT_YUV420P; -+ h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P; - h264_ctx->context->width = width; - h264_ctx->context->height = height; - //h264_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE); diff --git a/media-video/guvcview/guvcview-2.0.5-r1.ebuild b/media-video/guvcview/guvcview-2.0.5-r1.ebuild deleted file mode 100644 index c5102071..00000000 --- a/media-video/guvcview/guvcview-2.0.5-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 ) - !> 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' -delete || die +} -- cgit v1.2.3