New package: v4l-utils-0.8.5.

This commit is contained in:
Juan RP 2011-08-25 10:48:36 +02:00
parent fd0b122cd5
commit 7bc04f147e
5 changed files with 73 additions and 0 deletions

1
srcpkgs/v4l-utils-devel Symbolic link
View File

@ -0,0 +1 @@
v4l-utils

View File

@ -0,0 +1,2 @@
abi_depends=">=0.8.5"
api_depends="${abi_depends}"

View File

@ -0,0 +1,50 @@
# Template file for 'v4l-utils'
pkgname=v4l-utils
version=0.8.5
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
build_style=custom-install
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"
checksum=c205848fbaf3489b97519dae04da31be4998bbc170a2ca9791357a8a549e594c
long_desc="
v4l-utils is a collection of various video4linux (V4L) and DVB utilities.
libv4l is an accompanying collection of libraries that adds a thin abstraction
layer on top of video4linux2 (V4L2) devices. The purpose of this layer is to
make it easy for application writers to support a wide variety of devices
without having to write separate code for different devices in the same class.
It consists of 3 different libraries. libv4lconvert offers functions to convert
from any (known) pixel format to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.
libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent
of the drivers for those devices supporting v4l1 compatibility (which many
v4l2 drivers do not).
libv4l2 offers the v4l2 API on top of v4l2 devices, while adding support for
the application transparent libv4lconvert conversion where necessary."
conf_files="/etc/rc_maps.cfg"
subpackages="$pkgname-devel"
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run jpeg
Add_dependency run sysfsutils
Add_dependency build jpeg-devel
Add_dependency build libsysfs-devel
do_build()
{
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
make PREFIX=/usr ${makejobs}
}
do_install()
{
make PREFIX=/usr DESTDIR=${DESTDIR} install
rm -f ${DESTDIR}/usr/bin/ivtv-ctl
}

View File

@ -0,0 +1,17 @@
# Template file for 'libv4l-devel'.
#
short_desc="${short_desc} - development files"
long_desc="
${long_desc}
This package contains development files: headers, static libs, etc."
Add_dependency run jpeg-devel
Add_dependency run libsysfs-devel
Add_dependency run v4l-utils
do_install()
{
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -825,3 +825,6 @@ libwebp.so libwebp libwebp-devel
libva-x11.so libva libva-devel
libva.so libva libva-devel
libva-glx.so libva libva-devel
libv4l2.so v4l-utils v4l-utils-devel
libv4lconvert.so v4l-utils v4l-utils-devel
libv4l1.so v4l-utils v4l-utils-devel