aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-04-19 15:46:42 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-04-19 15:46:42 +0000
commit42a89d438afb374c27f42c15bb8862d6026bb29c (patch)
tree2018041fe7577832978a8f28f91087d1665e37ac /main
parentad89f93ea4166fc1716014b7db728867d2140442 (diff)
downloadaports-42a89d438afb374c27f42c15bb8862d6026bb29c.tar.bz2
aports-42a89d438afb374c27f42c15bb8862d6026bb29c.tar.xz
main/v4l-utils: upgrade to 0.88
Diffstat (limited to 'main')
-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"