2011-08-25 08:48:36 +00:00
|
|
|
# Template file for 'v4l-utils'
|
|
|
|
pkgname=v4l-utils
|
2015-05-07 07:54:47 +00:00
|
|
|
version=1.6.3
|
2014-07-03 10:50:37 +00:00
|
|
|
revision=1
|
2013-05-04 16:39:25 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-28 08:44:57 +00:00
|
|
|
configure_args="--disable-qv4l2 --with-udevdir=/usr/lib/udev"
|
2014-11-24 16:41:53 +00:00
|
|
|
hostmakedepends="libtool pkg-config"
|
2014-02-28 08:44:57 +00:00
|
|
|
makedepends="libjpeg-turbo-devel libsysfs-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/rc_maps.cfg"
|
2011-08-25 08:48:36 +00:00
|
|
|
short_desc="Userspace tools and libraries for Video 4 Linux"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-08-25 08:48:36 +00:00
|
|
|
homepage="http://freshmeat.net/projects/libv4l"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-07-09 21:40:55 +00:00
|
|
|
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
2015-05-07 07:54:47 +00:00
|
|
|
checksum=164abf5c1befcd27e8e6ef824a82d4015bdfb5d99ae82daa00e77d895ff9864c
|
2014-03-09 09:26:55 +00:00
|
|
|
|
2015-05-08 09:35:23 +00:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
2015-05-08 09:46:03 +00:00
|
|
|
*-musl) makedepends+=" argp-standalone"
|
|
|
|
CFLAGS="-D__off_t=off_t -D__off64_t=off_t"
|
2015-05-08 09:48:12 +00:00
|
|
|
LDFLAGS="-largp"
|
|
|
|
;;
|
2015-05-08 09:35:23 +00:00
|
|
|
esac
|
|
|
|
|
2014-02-28 08:44:57 +00:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
2011-08-25 08:48:36 +00:00
|
|
|
}
|
2013-04-14 14:51:01 +00:00
|
|
|
|
|
|
|
v4l-utils-devel_package() {
|
2014-11-24 16:41:53 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-05-04 16:39:25 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 14:51:01 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-28 08:44:57 +00:00
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
2013-04-14 14:51:01 +00:00
|
|
|
}
|
|
|
|
}
|