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