Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libv4l: libv4l-0.8.5-r1.ebuild ChangeLog
Date: Thu, 02 Feb 2012 17:02:35
Message-Id: 20120202170225.AB9972004B@flycatcher.gentoo.org
1 ssuominen 12/02/02 17:02:25
2
3 Modified: ChangeLog
4 Added: libv4l-0.8.5-r1.ebuild
5 Log:
6 Since JPEG 7.x the fancy upsampling has been enabled by default and should explicitely be disabled in apps not supporting it wrt #401865 by Denilson Sá
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.62 media-libs/libv4l/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libv4l/ChangeLog?rev=1.62&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libv4l/ChangeLog?rev=1.62&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libv4l/ChangeLog?r1=1.61&r2=1.62
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v
20 retrieving revision 1.61
21 retrieving revision 1.62
22 diff -u -r1.61 -r1.62
23 --- ChangeLog 13 Jan 2012 16:07:46 -0000 1.61
24 +++ ChangeLog 2 Feb 2012 17:02:25 -0000 1.62
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-libs/libv4l
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v 1.61 2012/01/13 16:07:46 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/ChangeLog,v 1.62 2012/02/02 17:02:25 ssuominen Exp $
30 +
31 +*libv4l-0.8.5-r1 (02 Feb 2012)
32 +
33 + 02 Feb 2012; Samuli Suominen <ssuominen@g.o> +libv4l-0.8.5-r1.ebuild,
34 + +files/libv4l-0.8.5-disable_fancy_upsampling.patch:
35 + Since JPEG 7.x the fancy upsampling has been enabled by default and should
36 + explicitely be disabled in apps not supporting it wrt #401865 by Denilson Sá
37
38 13 Jan 2012; Mike Frysinger <vapier@g.o> libv4l-0.8.5.ebuild:
39 Simplify ebuild a bit.
40
41
42
43 1.1 media-libs/libv4l/libv4l-0.8.5-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libv4l/libv4l-0.8.5-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libv4l/libv4l-0.8.5-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libv4l-0.8.5-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/libv4l-0.8.5-r1.ebuild,v 1.1 2012/02/02 17:02:24 ssuominen Exp $
53
54 EAPI=4
55 inherit eutils linux-info multilib toolchain-funcs
56
57 MY_P=v4l-utils-${PV}
58
59 DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package"
60 HOMEPAGE="http://git.linuxtv.org/v4l-utils.git"
61 SRC_URI="http://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
66 IUSE=""
67
68 RDEPEND="virtual/jpeg"
69 DEPEND="${RDEPEND}
70 >=sys-kernel/linux-headers-2.6.30-r1"
71
72 S=${WORKDIR}/${MY_P}
73
74 CONFIG_CHECK="~SHMEM"
75
76 src_prepare() {
77 epatch "${FILESDIR}"/${P}-disable_fancy_upsampling.patch
78
79 sed -i \
80 -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \
81 -e "/^LIBDIR =/s:/lib:/$(get_libdir):" \
82 -e "/^CFLAGS :=/d" \
83 Make.rules || die
84 tc-export CC
85 }
86
87 src_compile() {
88 emake -C lib
89 }
90
91 src_install() {
92 emake -C lib DESTDIR="${D}" install
93 dodoc ChangeLog README.lib* TODO
94 }