diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2011-11-25 16:08:09 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2011-11-25 16:08:09 +0000 |
commit | adf2f45bc28b5dc69742f1a1bce7ce9c2b1d9e0b (patch) | |
tree | 36bd206d8e1391af9d2db1787bac6d86f512a669 /main/v4l-utils | |
parent | 4ddc7b077a11c170999a1392cacb211d71b40043 (diff) | |
download | aports-adf2f45bc28b5dc69742f1a1bce7ce9c2b1d9e0b.tar.bz2 aports-adf2f45bc28b5dc69742f1a1bce7ce9c2b1d9e0b.tar.xz |
main/v4l-utils: build with argp-standalone
Diffstat (limited to 'main/v4l-utils')
-rw-r--r-- | main/v4l-utils/APKBUILD | 18 |
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() { |