2011-08-25 10:48:36 +02:00
|
|
|
# Template file for 'v4l-utils'
|
|
|
|
pkgname=v4l-utils
|
2013-05-04 18:39:25 +02:00
|
|
|
version=0.9.5
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-udevdir=/usr/lib/udev"
|
|
|
|
hostmakedepends="which pkg-config"
|
|
|
|
makedepends="libjpeg-turbo-devel libsysfs-devel qt-devel"
|
2011-08-25 10:48:36 +02:00
|
|
|
short_desc="Userspace tools and libraries for Video 4 Linux"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://freshmeat.net/projects/libv4l"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-07-09 23:40:55 +02:00
|
|
|
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
2013-05-04 18:39:25 +02:00
|
|
|
checksum=6c9f1be981d5763069e0969ebe426c39da5a7d738865367e390e3b486f1b502c
|
2011-08-25 10:48:36 +02:00
|
|
|
|
2013-05-04 18:39:25 +02:00
|
|
|
post_install() {
|
2011-08-25 10:48:36 +02:00
|
|
|
rm -f ${DESTDIR}/usr/bin/ivtv-ctl
|
2011-10-08 08:15:21 +02:00
|
|
|
chmod 0755 ${DESTDIR}/usr/lib/libv4l
|
2011-08-25 10:48:36 +02:00
|
|
|
}
|
2013-04-14 16:51:01 +02:00
|
|
|
|
|
|
|
v4l-utils-devel_package() {
|
|
|
|
depends="libjpeg-turbo-devel libsysfs-devel v4l-utils>=${version}"
|
2013-05-04 18:39:25 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:51:01 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-05-04 18:39:25 +02:00
|
|
|
vmove "usr/lib/*.a"
|
2013-04-14 16:51:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
qv4l2_package() {
|
|
|
|
short_desc="QT v4l2 control panel application"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/qv4l2
|
|
|
|
vmove usr/share/applications
|
|
|
|
vmove usr/share/icons
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
v4l-utils_package() {
|
|
|
|
depends="sysfsutils"
|
|
|
|
conf_files="/etc/rc_maps.cfg"
|
|
|
|
pkg_install() {
|
2013-05-04 18:39:25 +02:00
|
|
|
vmove all
|
2013-04-14 16:51:01 +02:00
|
|
|
}
|
|
|
|
}
|