aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-06 07:10:50 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-06 10:57:31 +0000
commit0fcaf0c8476749eb700229652dccf48dfd412b73 (patch)
tree7057b2b236fb6910a08b5a51872f74a767c1e6f8
parent3151a00329f604ecd410034f448643ef7295654f (diff)
downloadaports-0fcaf0c8476749eb700229652dccf48dfd412b73.tar.gz
aports-0fcaf0c8476749eb700229652dccf48dfd412b73.tar.bz2
aports-0fcaf0c8476749eb700229652dccf48dfd412b73.tar.xz
community/v4l-utils: upgrade to 1.16.6
-rw-r--r--community/v4l-utils/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/community/v4l-utils/APKBUILD b/community/v4l-utils/APKBUILD
index 4dc31716b9..02c631b815 100644
--- a/community/v4l-utils/APKBUILD
+++ b/community/v4l-utils/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=v4l-utils
-pkgver=1.16.5
+pkgver=1.16.6
pkgrel=0
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
url="http://freshmeat.net/projects/libv4l"
@@ -11,14 +11,10 @@ makedepends="qt5-qtbase-dev libjpeg-turbo-dev argp-standalone linux-headers
eudev-dev alsa-lib-dev"
subpackages="$pkgname-dev $pkgname-doc qv4l2 $pkgname-dvbv5 $pkgname-libs ir_keytable"
source="https://linuxtv.org/downloads/v4l-utils/$pkgname-$pkgver.tar.bz2
- qv4l2.svg
- qv4l2.desktop
getsubopt.patch
"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
[ "$CLIBC" = "musl" ] && export CFLAGS="$CFLAGS -D__off_t=off_t"
export LIBS="-largp -lintl"
./configure \
@@ -31,20 +27,18 @@ build() {
--localstatedir=/var \
--enable-libdvbv5 \
--disable-static
- make
+ make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
- make -j1 DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir"/qv4l2.desktop \
+ make -j1 DESTDIR="$pkgdir" install
+ install -Dm644 "$builddir"/utils/qv4l2/qv4l2.desktop \
"$pkgdir"/usr/share/applications/qv4l2.desktop
- install -Dm644 "$srcdir"/qv4l2.svg \
+ install -Dm644 "$builddir"/utils/qv4l2/qv4l2.svg \
"$pkgdir"/usr/share/icons/hicolor/scalable/apps/qv4l2.svg
}
@@ -68,8 +62,8 @@ dvbv5() {
libs() {
pkgdesc="Collection of video4linux support libraries"
mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/* \
- "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/* \
+ "$subpkgdir"/usr/lib
}
ir_keytable() {
@@ -79,7 +73,7 @@ ir_keytable() {
"$subpkgdir"/usr/bin \
"$subpkgdir"/etc
mv "$pkgdir"/lib/udev/rc_keymaps/* \
- "$subpkgdir"/lib/udev/rc_keymaps
+ "$subpkgdir"/lib/udev/rc_keymaps
mv "$pkgdir"/lib/udev/rules.d/* \
"$subpkgdir"/lib/udev/rules.d
mv "$pkgdir"/usr/bin/ir-keytable \
@@ -88,7 +82,5 @@ ir_keytable() {
"$subpkgdir"/etc
}
-sha512sums="cf8b887a1c24cad81b40178d934aa96d4904dfe3e56a93e44a084c5ef74837873be5f378484ca45c0782b865620a69d30f8f70f59e03ad542fdcf76a73dfaa15 v4l-utils-1.16.5.tar.bz2
-bc18280046c15b19984103f7c2bb44a0aea79715803c64f0c64bc932499c09022c956914c3b15ae59499adc09f6fbff5378be45707fe851250f495a26b63d682 qv4l2.svg
-6f74aa524b3de420eeb8de788ff3f717020732a3f1f6530caee50e63aae7eddbe5f551ffc50065c9f5d6078c13bace089948ecdcacf01f8b82c1a44960e06315 qv4l2.desktop
+sha512sums="f011218591e32b0ca3239373d9ea4739d7cfe3a6bef5f8a996253cea9b9d836ba488132e2a1b8f6f61cd69f1bcecc20e4b5c26f9c95a2a912e17c400b9fa9b58 v4l-utils-1.16.6.tar.bz2
9a4f6d0a44d30bb7afe4db8b40074d362f240cae1f1b13feb0eb2b1b666479fc6f73ef27542f6f80fb1b922c9540feadc9ff8563890ff3041d3f7fc62e504e29 getsubopt.patch"