aboutsummaryrefslogtreecommitdiffstats
path: root/main/v4l-utils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/v4l-utils/APKBUILD')
-rw-r--r--main/v4l-utils/APKBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/main/v4l-utils/APKBUILD b/main/v4l-utils/APKBUILD
index 67db16a7ff..bd858b6255 100644
--- a/main/v4l-utils/APKBUILD
+++ b/main/v4l-utils/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=v4l-utils
-pkgver=0.8.5
-pkgrel=1
+pkgver=0.8.8
+pkgrel=0
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
url="http://freshmeat.net/projects/libv4l"
arch="all"
license="LGPL"
depends=""
-makedepends="qt-dev jpeg-dev argp-standalone"
+makedepends="qt-dev jpeg-dev argp-standalone libiconv-dev"
install=""
subpackages="$pkgname-dev qv4l2"
source="http://linuxtv.org/downloads/v4l-utils/$pkgname-$pkgver.tar.bz2
@@ -19,14 +19,17 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ export ARGP_LIBS="-largp"
+ export ICONV_LIBS="-liconv"
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
- sed -ie 's/\$\^/$\^\ -largp/' utils/decode_tm6000/Makefile
- sed -ie 's/\$\^/$\^\ -largp/' utils/keytable/Makefile
- sed -ie 's/\$\^/$\^\ -largp/' utils/v4l2-sysfs-path/Makefile
+ sed -ie 's/\$\^/$\^\ \$(ARGP_LIBS)/' utils/decode_tm6000/Makefile
+ sed -ie 's/\$\^/$\^\ \$(ARGP_LIBS)/' utils/keytable/Makefile
+ sed -ie 's/\$\^/$\^\ \$(ARGP_LIBS)/' utils/v4l2-sysfs-path/Makefile
}
build() {
cd "$_builddir"
+ export LDLIBS="$ARGP_LIBS $ICONV_LIBS"
make PREFIX="/usr" || return 1
}
@@ -46,6 +49,6 @@ qv4l2() {
mv "$pkgdir"/usr/share "$subpkgdir"/usr/ || return 1
}
-md5sums="037bec9f68cfb0b84bcccb00d30e429b v4l-utils-0.8.5.tar.bz2
+md5sums="40fdda3f4055ed818012d7a7b5ef5be5 v4l-utils-0.8.8.tar.bz2
75ef594ddfe48e48df99c96c2af6b51e qv4l2.svg
b2e51f9663cee1c38a1d99d76a6b529f qv4l2.desktop"