diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-10-18 14:51:14 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-10-18 14:51:14 +0000 |
commit | 914e7ef56c195ec48a120e8738bf0043b9f3672c (patch) | |
tree | 6c9856e5ccce9ca8eed5444b78669a1fe3baec78 /media-libs/libv4l | |
parent | ia64 stable (diff) | |
download | historical-914e7ef56c195ec48a120e8738bf0043b9f3672c.tar.gz historical-914e7ef56c195ec48a120e8738bf0043b9f3672c.tar.bz2 historical-914e7ef56c195ec48a120e8738bf0043b9f3672c.zip |
Initial import, ebuild by Alexandre Rostovtsev tetromino@gmail.com who will proxy maintin it, bug #240090
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26.6 x86_64
Diffstat (limited to 'media-libs/libv4l')
-rw-r--r-- | media-libs/libv4l/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/libv4l/Manifest | 14 | ||||
-rw-r--r-- | media-libs/libv4l/libv4l-0.5.1.ebuild | 39 | ||||
-rw-r--r-- | media-libs/libv4l/metadata.xml | 32 |
4 files changed, 96 insertions, 0 deletions
diff --git a/media-libs/libv4l/ChangeLog b/media-libs/libv4l/ChangeLog new file mode 100644 index 000000000000..51a56a1ea107 --- /dev/null +++ b/media-libs/libv4l/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-libs/libv4l +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v 1.1 2008/10/18 14:51:14 aballier Exp $ + +*libv4l-0.5.1 (18 Oct 2008) + + 18 Oct 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml, + +libv4l-0.5.1.ebuild: + Initial import, ebuild by Alex Rostovtsev tetromino@gmail.com who will + proxy maintin it, bug #240090 + diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest new file mode 100644 index 000000000000..8a3d13ea5ed3 --- /dev/null +++ b/media-libs/libv4l/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST libv4l-0.5.1.tar.gz 81889 RMD160 66704e19245cda1339145154e01d99a5510edc36 SHA1 342bf78793d3a79c4f231daaffe9570773082c18 SHA256 60a658b9d8a1ea6f2ff043a7320bc8919ff21919de30a3c2221bca0497bfaa2a +EBUILD libv4l-0.5.1.ebuild 1266 RMD160 0f5318c39897ba375364c7dd25adfc6cea24432d SHA1 9b06169b211d48661d38f1112e8ef28b0c9e368b SHA256 e78975c44c6c3b9d6336e08a248b07ba19d8fed92d596495bd6cb56be38b42d6 +MISC ChangeLog 435 RMD160 31eb6a142f82831018caafd1ccafae1e948e868d SHA1 5d3b35873b77a3053de26fa80a617bcd5fc775e9 SHA256 6db3afd74f3b436b79610dffeed0851a3c7ba15c13a735957ca85ad48f733c25 +MISC metadata.xml 1230 RMD160 91041222d04723c55fdebbb308dc68681f998ada SHA1 7eac83a716d7e59bad841f2d7610215186c63947 SHA256 6b75fad08882d084ed8367eb5cf845699340c8e18847d24a02ba20302b597345 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkj59+sACgkQvFcC4BYPU0qhdgCgpzjLXyRTFEeLiCyCkItw2TiZ +f2EAoJplBAe4amyEX1BioTgIPQnF3ipG +=Y5/m +-----END PGP SIGNATURE----- diff --git a/media-libs/libv4l/libv4l-0.5.1.ebuild b/media-libs/libv4l/libv4l-0.5.1.ebuild new file mode 100644 index 000000000000..85d3880a047a --- /dev/null +++ b/media-libs/libv4l/libv4l-0.5.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/libv4l-0.5.1.ebuild,v 1.1 2008/10/18 14:51:14 aballier Exp $ + +inherit multilib toolchain-funcs + +DESCRIPTION="V4L userspace libraries" +HOMEPAGE="http://people.atrpms.net/~hdegoede/" +SRC_URI="http://people.atrpms.net/~hdegoede/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_compile() { + tc-export CC + emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" CFLAGS="${CFLAGS}" \ + || die "emake failed" +} + +src_install() { + emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" \ + DESTDIR="${D}" install || die "emake install failed" + dodoc ChangeLog README* TODO +} + +pkg_postinst() { + elog + elog "libv4l includes wrapper libraries for compatibility and pixel format" + elog "conversion, which are especially useful for users of the gspca usb" + elog "webcam driver in kernel 2.6.27 and higher." + elog + elog "To add v4l2 compatibility to a v4l application 'myapp', launch it via" + elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l1compat.so myapp" + elog "To add automatic pixel format conversion to a v4l2 application, use" + elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l2convert.so myapp" + elog +} diff --git a/media-libs/libv4l/metadata.xml b/media-libs/libv4l/metadata.xml new file mode 100644 index 000000000000..78efe127636a --- /dev/null +++ b/media-libs/libv4l/metadata.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + </maintainer> + <maintainer> + <email>tetromino@gmail.com</email> + <name>Alexandre Rostovtsev</name> + </maintainer> + <longdescription lang="en"> + libv4l is a collection of libraries which adds a thin abstraction layer on + top of video4linux2 devices. The purpose of this (thin) 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. + + libv4l consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2. + + libv4lconvert offers functions to convert from any (known) pixelformat + 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 for the + application transparent libv4lconvert conversion where necessary. + </longdescription> +</pkgmetadata> + |