aboutsummaryrefslogtreecommitdiffstats
path: root/community/guvcview/APKBUILD
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/APKBUILD
parent0628ac1ef3223f670c92397eee3054c77b06888c (diff)
downloadaports-7514e616176657432405b9dc3090018559fda893.tar.bz2
aports-7514e616176657432405b9dc3090018559fda893.tar.xz
community/guvcview: upgrade to 2.0.5
Diffstat (limited to 'community/guvcview/APKBUILD')
-rw-r--r--community/guvcview/APKBUILD31
1 files changed, 7 insertions, 24 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"