[arch-commits] Commit in guvcview/trunk (PKGBUILD guvcview-ffmpeg3.patch)
Antonio Rojas
arojas at archlinux.org
Wed Mar 15 07:29:13 UTC 2017
Date: Wednesday, March 15, 2017 @ 07:29:12
Author: arojas
Revision: 216386
Update to 2.0.5
Modified:
guvcview/trunk/PKGBUILD
Deleted:
guvcview/trunk/guvcview-ffmpeg3.patch
------------------------+
PKGBUILD | 15 ++++-----------
guvcview-ffmpeg3.patch | 26 --------------------------
2 files changed, 4 insertions(+), 37 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-15 07:03:50 UTC (rev 216385)
+++ PKGBUILD 2017-03-15 07:29:12 UTC (rev 216386)
@@ -3,26 +3,19 @@
# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
pkgname=guvcview
-pkgver=2.0.4
+pkgver=2.0.5
pkgrel=1
pkgdesc="A video viewer and capturer for the linux uvc driver"
arch=('i686' 'x86_64')
url="http://guvcview.sourceforge.net/"
license=('GPL')
-depends=('portaudio' 'ffmpeg' 'gtk3' 'sdl2' 'gsl')
+depends=('portaudio' 'ffmpeg' 'gtk3' 'sdl2' 'gsl' 'libusb')
makedepends=('pkg-config' 'intltool')
optdepends=('pulseaudio: for PulseAudio support')
options=('!docs' '!buildflags')
-source=("http://downloads.sourceforge.net/project/${pkgname}/source/${pkgname}-src-${pkgver}.tar.gz" guvcview-ffmpeg3.patch)
-md5sums=('a6d900166ac2bba251a2c09cb602f1fe'
- '782b5f90f051b5c6217587a1fed7e6b1')
+source=("http://downloads.sourceforge.net/project/${pkgname}/source/${pkgname}-src-${pkgver}.tar.gz")
+sha256sums=('a86beb5993a8449ed3cbcc6ec2a238ef0b90138b6cbe2afab4456d37f44c41a0')
-prepare() {
- cd $pkgname-src-$pkgver
-# Fix build against ffmpeg 3.0
- patch -p1 -i ../guvcview-ffmpeg3.patch
-}
-
build() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
Deleted: guvcview-ffmpeg3.patch
===================================================================
--- guvcview-ffmpeg3.patch 2017-03-15 07:03:50 UTC (rev 216385)
+++ guvcview-ffmpeg3.patch 2017-03-15 07:29:12 UTC (rev 216386)
@@ -1,26 +0,0 @@
-Description: Replace deprecated FFmpeg API
-Author: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
-Last-Update: <2015-11-02>
-
---- a/gview_v4l2core/jpeg_decoder.c
-+++ b/gview_v4l2core/jpeg_decoder.c
-@@ -1436,7 +1436,7 @@
- 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);
---- a/gview_v4l2core/uvc_h264.c
-+++ b/gview_v4l2core/uvc_h264.c
-@@ -970,7 +970,7 @@
- }
-
- 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);
More information about the arch-commits
mailing list