Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libv4l: ChangeLog libv4l-0.5.3.ebuild
Date: Wed, 29 Oct 2008 14:06:35
Message-Id: E1KvBgu-0000Fu-Vm@stork.gentoo.org
1 aballier 08/10/29 14:06:32
2
3 Modified: ChangeLog
4 Added: libv4l-0.5.3.ebuild
5 Log:
6 Version bump, thanks Alexandre.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27.3 x86_64)
8
9 Revision Changes Path
10 1.5 media-libs/libv4l/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libv4l/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libv4l/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libv4l/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 29 Oct 2008 13:18:53 -0000 1.4
23 +++ ChangeLog 29 Oct 2008 14:06:32 -0000 1.5
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-libs/libv4l
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v 1.4 2008/10/29 13:18:53 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v 1.5 2008/10/29 14:06:32 aballier Exp $
29 +
30 +*libv4l-0.5.3 (29 Oct 2008)
31 +
32 + 29 Oct 2008; Alexis Ballier <aballier@g.o> +libv4l-0.5.3.ebuild:
33 + Version bump, thanks Alexandre.
34
35 29 Oct 2008; Alexis Ballier <aballier@g.o> libv4l-0.5.1.ebuild:
36 Add second, more informative homepage, by Alexandre.
37
38
39
40 1.1 media-libs/libv4l/libv4l-0.5.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libv4l/libv4l-0.5.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libv4l/libv4l-0.5.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libv4l-0.5.3.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/libv4l-0.5.3.ebuild,v 1.1 2008/10/29 14:06:32 aballier Exp $
50
51 inherit multilib toolchain-funcs
52
53 DESCRIPTION="V4L userspace libraries"
54 HOMEPAGE="http://people.atrpms.net/~hdegoede/
55 http://hansdegoede.livejournal.com/3636.html"
56 SRC_URI="http://people.atrpms.net/~hdegoede/${P}.tar.gz"
57
58 LICENSE="LGPL-2.1"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc64 ~x86"
61 IUSE=""
62
63 src_compile() {
64 tc-export CC
65 emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" CFLAGS="${CFLAGS}" \
66 || die "emake failed"
67 }
68
69 src_install() {
70 emake PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" \
71 DESTDIR="${D}" install || die "emake install failed"
72 dodoc ChangeLog README* TODO
73 }
74
75 pkg_postinst() {
76 elog
77 elog "libv4l includes wrapper libraries for compatibility and pixel format"
78 elog "conversion, which are especially useful for users of the gspca usb"
79 elog "webcam driver in kernel 2.6.27 and higher."
80 elog
81 elog "To add v4l2 compatibility to a v4l application 'myapp', launch it via"
82 elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l1compat.so myapp"
83 elog "To add automatic pixel format conversion to a v4l2 application, use"
84 elog "LD_PRELOAD=/usr/$(get_libdir)/libv4l/v4l2convert.so myapp"
85 elog
86 }