diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template index f558b308cc2..f77362fef65 100644 --- a/srcpkgs/v4l-utils/template +++ b/srcpkgs/v4l-utils/template @@ -1,11 +1,11 @@ # Template file for 'v4l-utils' pkgname=v4l-utils -version=0.9.5 +version=1.0.1 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" +configure_args="--disable-qv4l2 --with-udevdir=/usr/lib/udev" +hostmakedepends="libtool which pkg-config" +makedepends="libjpeg-turbo-devel libsysfs-devel" depends="sysfsutils" conf_files="/etc/rc_maps.cfg" short_desc="Userspace tools and libraries for Video 4 Linux" @@ -13,28 +13,19 @@ maintainer="Juan RP " homepage="http://freshmeat.net/projects/libv4l" license="GPL-2, LGPL-2.1" distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2" -checksum=6c9f1be981d5763069e0969ebe426c39da5a7d738865367e390e3b486f1b502c +checksum=fc0132e82a18dfad9619be3abf50c206e2f449b1c14440cde36f25874fdce7df -post_install() { - rm -f ${DESTDIR}/usr/bin/ivtv-ctl - chmod 0755 ${DESTDIR}/usr/lib/libv4l +pre_configure() { + libtoolize -f } v4l-utils-devel_package() { - depends="libjpeg-turbo-devel libsysfs-devel v4l-utils>=${version}" + depends="libjpeg-turbo-devel libsysfs-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove "usr/lib/*.a" - } -} - -qv4l2_package() { - short_desc="QT v4l2 control panel application" - pkg_install() { - vmove usr/bin/qv4l2 - vmove usr/share/applications - vmove usr/share/icons + vmove usr/lib/*.a + vmove usr/lib/*.so } }