Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libraw: libraw-0.13.7.ebuild ChangeLog libraw-0.13.4.ebuild libraw-0.13.5.ebuild libraw-0.10.0-r1.ebuild libraw-0.9.1.ebuild libraw-0.10.0.ebuild
Date: Sat, 16 Jul 2011 19:21:06
Message-Id: 20110716192055.44FEF2004B@flycatcher.gentoo.org
1 radhermit 11/07/16 19:20:55
2
3 Modified: ChangeLog
4 Added: libraw-0.13.7.ebuild
5 Removed: libraw-0.13.4.ebuild libraw-0.13.5.ebuild
6 libraw-0.10.0-r1.ebuild libraw-0.9.1.ebuild
7 libraw-0.10.0.ebuild
8 Log:
9 Version bump and remove old.
10
11 (Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.7 media-libs/libraw/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?rev=1.7&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?rev=1.7&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?r1=1.6&r2=1.7
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v
23 retrieving revision 1.6
24 retrieving revision 1.7
25 diff -u -r1.6 -r1.7
26 --- ChangeLog 4 Jul 2011 08:29:22 -0000 1.6
27 +++ ChangeLog 16 Jul 2011 19:20:55 -0000 1.7
28 @@ -1,6 +1,16 @@
29 # ChangeLog for media-libs/libraw
30 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.6 2011/07/04 08:29:22 radhermit Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.7 2011/07/16 19:20:55 radhermit Exp $
33 +
34 +*libraw-0.13.7 (16 Jul 2011)
35 +
36 + 16 Jul 2011; Tim Harder <radhermit@g.o> -libraw-0.9.1.ebuild,
37 + -files/libraw-0.9.1-pkg-config.patch, -libraw-0.10.0.ebuild,
38 + -libraw-0.10.0-r1.ebuild, -files/libraw-0.10.0-autoconf.patch,
39 + -files/libraw-0.10.0-pkg-config.patch, -libraw-0.13.4.ebuild,
40 + -files/libraw-0.13.4-examples.patch, -libraw-0.13.5.ebuild,
41 + +libraw-0.13.7.ebuild:
42 + Version bump and remove old.
43
44 *libraw-0.13.6 (04 Jul 2011)
45
46
47
48
49 1.1 media-libs/libraw/libraw-0.13.7.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/libraw-0.13.7.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/libraw-0.13.7.ebuild?rev=1.1&content-type=text/plain
53
54 Index: libraw-0.13.7.ebuild
55 ===================================================================
56 # Copyright 1999-2011 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.13.7.ebuild,v 1.1 2011/07/16 19:20:55 radhermit Exp $
59
60 EAPI="4"
61
62 inherit eutils autotools
63
64 MY_P="LibRaw-${PV}"
65 DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras"
66 HOMEPAGE="http://www.libraw.org/"
67 SRC_URI="http://www.libraw.org/data/${MY_P}.tar.gz
68 demosaic? ( https://github.com/LibRaw/LibRaw-demosaic-pack-GPL2/tarball/${PV} -> LibRaw-demosaic-pack-GPL2-${PV}.tar.gz
69 https://github.com/LibRaw/LibRaw-demosaic-pack-GPL3/tarball/${PV} -> LibRaw-demosaic-pack-GPL3-${PV}.tar.gz )"
70
71 # Libraw also has it's own license, which is a pdf file and
72 # can be obtained from here:
73 # http://www.libraw.org/data/LICENSE.LibRaw.pdf
74 LICENSE="LGPL-2.1 CDDL GPL-2 GPL-3"
75 SLOT="0"
76 KEYWORDS="~amd64 ~x86"
77 IUSE="demosaic examples +lcms +openmp static-libs"
78
79 DEPEND="lcms? ( media-libs/lcms:2 )"
80 RDEPEND="${DEPEND}"
81
82 S="${WORKDIR}/${MY_P}"
83
84 DOCS=( Changelog.txt README )
85
86 src_unpack() {
87 unpack ${A}
88 if use demosaic ; then
89 mv *LibRaw-demosaic*GPL2* LibRaw-demosaic-pack-GPL2-${PV}
90 mv *LibRaw-demosaic*GPL3* LibRaw-demosaic-pack-GPL3-${PV}
91 fi
92 }
93
94 src_prepare() {
95 epatch "${FILESDIR}"/${PN}-0.13.4-docs.patch
96 eautomake
97 }
98
99 src_configure() {
100 econf \
101 $(use_enable demosaic demosaic-pack-gpl2) \
102 $(use_enable demosaic demosaic-pack-gpl3) \
103 $(use_enable examples) \
104 $(use_enable lcms) \
105 $(use_enable openmp) \
106 $(use_enable static-libs static)
107 }
108
109 src_install() {
110 default
111
112 # Remove useless .la files
113 find "${ED}" -name '*.la' -exec rm -f {} +
114 }