# Template file for 'qv4l2'
pkgname=qv4l2
version=1.2.1
revision=1
wrksrc="v4l-utils-${version}"
build_style=gnu-configure
configure_args="--enable-qv4l2 --with-udevdir=/usr/lib/udev"
hostmakedepends="which pkg-config"
makedepends="libjpeg-turbo-devel libsysfs-devel qt-devel hicolor-icon-theme desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="QT v4l2 control panel application"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://freshmeat.net/projects/libv4l"
license="GPL-2, LGPL-2.1"
distfiles="http://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2"
checksum=9b658fbcaaf8127115316e07fea314aebc21dd6dc3491cd8753a768521c4b9af

do_install() {
	cd utils/qv4l2
	make DESTDIR=${DESTDIR} install
}
