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: ChangeLog libraw-0.14.7.ebuild
Date: Thu, 28 Jun 2012 08:50:05
Message-Id: 20120628084951.1CD3C2004B@flycatcher.gentoo.org
1 radhermit 12/06/28 08:49:51
2
3 Modified: ChangeLog
4 Added: libraw-0.14.7.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha112/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 media-libs/libraw/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 5 May 2012 08:02:37 -0000 1.27
24 +++ ChangeLog 28 Jun 2012 08:49:50 -0000 1.28
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/libraw
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.27 2012/05/05 08:02:37 jdhore Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.28 2012/06/28 08:49:50 radhermit Exp $
30 +
31 +*libraw-0.14.7 (28 Jun 2012)
32 +
33 + 28 Jun 2012; Tim Harder <radhermit@g.o> +libraw-0.14.7.ebuild,
34 + +files/libraw-0.14.7-pkgconfig.patch:
35 + Version bump.
36
37 05 May 2012; Jeff Horelick <jdhore@g.o> libraw-0.14.5.ebuild,
38 libraw-0.14.6.ebuild:
39
40
41
42 1.1 media-libs/libraw/libraw-0.14.7.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/libraw-0.14.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/libraw-0.14.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libraw-0.14.7.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.14.7.ebuild,v 1.1 2012/06/28 08:49:51 radhermit Exp $
52
53 EAPI="4"
54
55 inherit eutils autotools toolchain-funcs
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? ( http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-${PV}.tar.gz
62 http://www.libraw.org/data/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 jpeg2k +lcms openmp static-libs"
71
72 RDEPEND="jpeg2k? ( media-libs/jasper )
73 lcms? ( media-libs/lcms:2 )"
74 DEPEND="${RDEPEND}
75 virtual/pkgconfig"
76
77 S=${WORKDIR}/${MY_P}
78
79 DOCS=( Changelog.txt README )
80
81 pkg_setup() {
82 if use openmp ; then
83 tc-has-openmp || die "Please switch to an openmp compatible compiler"
84 fi
85 }
86
87 src_prepare() {
88 epatch "${FILESDIR}"/${PN}-0.13.4-docs.patch
89 epatch "${FILESDIR}"/${P}-pkgconfig.patch
90 eautoreconf
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 jpeg2k jasper) \
99 $(use_enable lcms) \
100 $(use_enable openmp) \
101 $(use_enable static-libs static)
102 }
103
104 src_install() {
105 default
106 prune_libtool_files
107 }