aboutsummaryrefslogtreecommitdiffstats
path: root/community/guvcview
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-12 18:08:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-12 18:08:06 +0000
commit7514e616176657432405b9dc3090018559fda893 (patch)
tree485369d6b6cb0f5aa44af31e20f5d1646a8c5dfd /community/guvcview
parent0628ac1ef3223f670c92397eee3054c77b06888c (diff)
downloadaports-7514e616176657432405b9dc3090018559fda893.tar.bz2
aports-7514e616176657432405b9dc3090018559fda893.tar.xz
community/guvcview: upgrade to 2.0.5
Diffstat (limited to 'community/guvcview')
-rw-r--r--community/guvcview/APKBUILD31
-rw-r--r--community/guvcview/ffmpeg-3.patch26
2 files changed, 7 insertions, 50 deletions
diff --git a/community/guvcview/APKBUILD b/community/guvcview/APKBUILD
index 591a5549f1..68a2d999a3 100644
--- a/community/guvcview/APKBUILD
+++ b/community/guvcview/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=guvcview
-pkgver=2.0.4
-pkgrel=1
+pkgver=2.0.5
+pkgrel=0
pkgdesc="Webcam viewer"
url="http://guvcview.sourceforge.net/"
arch="all"
@@ -15,22 +15,12 @@ install=
subpackages="$pkgname-doc $pkgname-lang"
source="http://downloads.sourceforge.net/project/guvcview/source/guvcview-src-$pkgver.tar.gz
0001-fix-building-with-musl-libc.patch
- ffmpeg-3.patch
"
-_builddir="$srcdir"/guvcview-src-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/guvcview-src-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -42,16 +32,9 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="a6d900166ac2bba251a2c09cb602f1fe guvcview-src-2.0.4.tar.gz
-6d30ec659cd71d34c2d30225e730cff8 0001-fix-building-with-musl-libc.patch
-9dc6bf4619686d39417d3f5faf08ca99 ffmpeg-3.patch"
-sha256sums="670ef45168a9b58d36ac42f09c498db5e56b76b0be25b0a6dc97528569334fa2 guvcview-src-2.0.4.tar.gz
-a65de3103875251cba9cf9cac5399cbd6fb5a58e550a4f3573f72660e1cec454 0001-fix-building-with-musl-libc.patch
-1f9cc00ca6c18b3b5a7abe03b35a9c2130104cdc2c3ae73dfb8cefced7d1dca9 ffmpeg-3.patch"
-sha512sums="9339e9cf7dc5224f1b87bb21e0ad711d9c27f4197d5f758c70edf465eb01c8c9c51542c75d686f0439f9e843a1c14c2f76835e8529b87b35a737fc5ccb01fe0a guvcview-src-2.0.4.tar.gz
-9ab9575bc41acc79581da8d43ef52fc9cf2bf46ef7df97951202e47f5516c38b42ebb715a4e8d6010ac9875c2c9c8cb1912d39282d4a632123424ab516632c98 0001-fix-building-with-musl-libc.patch
-793c0057cc3d5cb63333165696a2dbf1d992ecd33541bde186a31bba9eb493609ab8ee186764189a5c753e824810240b182a54aa6b65a42dde400f7192bbce14 ffmpeg-3.patch"
+sha512sums="b4a1216ab2effbd0022d5ba0ce266ac06a781e453d3dbedfe29b654864d3a26fe1e8b68245d76eff854281d42f1871a8a82b06f783b5115e94ec1c111aac05eb guvcview-src-2.0.5.tar.gz
+9ab9575bc41acc79581da8d43ef52fc9cf2bf46ef7df97951202e47f5516c38b42ebb715a4e8d6010ac9875c2c9c8cb1912d39282d4a632123424ab516632c98 0001-fix-building-with-musl-libc.patch"
diff --git a/community/guvcview/ffmpeg-3.patch b/community/guvcview/ffmpeg-3.patch
deleted file mode 100644
index 7bdc7432c7..0000000000
--- a/community/guvcview/ffmpeg-3.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/gview_v4l2core/jpeg_decoder.c b/gview_v4l2core/jpeg_decoder.c
-index 0f3fc7a..0312a97 100644
---- a/gview_v4l2core/jpeg_decoder.c
-+++ b/gview_v4l2core/jpeg_decoder.c
-@@ -1436,7 +1436,7 @@ int jpeg_init_decoder(int width, int height)
- 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);
-diff --git a/gview_v4l2core/uvc_h264.c b/gview_v4l2core/uvc_h264.c
-index 309b963..58cb230 100644
---- a/gview_v4l2core/uvc_h264.c
-+++ b/gview_v4l2core/uvc_h264.c
-@@ -970,7 +970,7 @@ int h264_init_decoder(int width, int height)
- }
-
- 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);