aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/v4l-utils/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/v4l-utils/APKBUILD b/main/v4l-utils/APKBUILD
index 62ef1acb3a..67db16a7ff 100644
--- a/main/v4l-utils/APKBUILD
+++ b/main/v4l-utils/APKBUILD
@@ -2,31 +2,27 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=v4l-utils
pkgver=0.8.5
-pkgrel=0
+pkgrel=1
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"
+makedepends="qt-dev jpeg-dev argp-standalone"
install=""
subpackages="$pkgname-dev qv4l2"
source="http://linuxtv.org/downloads/v4l-utils/$pkgname-$pkgver.tar.bz2
qv4l2.svg
- qv4l2.desktop"
-
+ qv4l2.desktop
+ "
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
- # TODO: make a proper patch insted of this hugly hack
- # uclibc does not have argp.h
- # http://www.spinics.net/lists/linux-media/msg28619.html
- rm -rf utils/decode_tm6000 utils/keytable
- sed -i 's/decode_tm6000 //g' utils/Makefile
- sed -i 's/keytable //g' utils/Makefile
- sed -i 's/v4l2-sysfs-path //g' utils/Makefile
+ sed -ie 's/\$\^/$\^\ -largp/' utils/decode_tm6000/Makefile
+ sed -ie 's/\$\^/$\^\ -largp/' utils/keytable/Makefile
+ sed -ie 's/\$\^/$\^\ -largp/' utils/v4l2-sysfs-path/Makefile
}
build() {