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.16.0_beta1.ebuild |
Date: | Sat, 23 Nov 2013 23:09:12 |
Message-Id: | 20131123230909.897C82004B@flycatcher.gentoo.org |
1 | radhermit 13/11/23 23:09:09 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libraw-0.16.0_beta1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.71 media-libs/libraw/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?rev=1.71&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?rev=1.71&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/ChangeLog?r1=1.70&r2=1.71 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v |
20 | retrieving revision 1.70 |
21 | retrieving revision 1.71 |
22 | diff -u -r1.70 -r1.71 |
23 | --- ChangeLog 8 Nov 2013 09:42:43 -0000 1.70 |
24 | +++ ChangeLog 23 Nov 2013 23:09:09 -0000 1.71 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-libs/libraw |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.70 2013/11/08 09:42:43 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/ChangeLog,v 1.71 2013/11/23 23:09:09 radhermit Exp $ |
30 | + |
31 | +*libraw-0.16.0_beta1 (23 Nov 2013) |
32 | + |
33 | + 23 Nov 2013; Tim Harder <radhermit@g.o> +libraw-0.16.0_beta1.ebuild: |
34 | + Version bump. |
35 | |
36 | *libraw-0.16.0_alpha3 (08 Nov 2013) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 media-libs/libraw/libraw-0.16.0_beta1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/libraw-0.16.0_beta1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libraw/libraw-0.16.0_beta1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libraw-0.16.0_beta1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2013 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.16.0_beta1.ebuild,v 1.1 2013/11/23 23:09:09 radhermit Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit cmake-multilib toolchain-funcs |
55 | |
56 | MY_PN=LibRaw |
57 | MY_PV=${PV/_b/-B} |
58 | MY_P=${MY_PN}-${MY_PV} |
59 | |
60 | DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras" |
61 | HOMEPAGE="http://www.libraw.org/" |
62 | SRC_URI="http://www.libraw.org/data/${MY_P}.tar.gz |
63 | demosaic? ( |
64 | http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-${MY_PV}.tar.gz |
65 | http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-${MY_PV}.tar.gz |
66 | )" |
67 | |
68 | # Libraw also has it's own license, which is a pdf file and |
69 | # can be obtained from here: |
70 | # http://www.libraw.org/data/LICENSE.LibRaw.pdf |
71 | LICENSE="LGPL-2.1 CDDL GPL-2 GPL-3" |
72 | SLOT="0/10" # subslot = libraw soname version |
73 | KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
74 | IUSE="demosaic examples jpeg jpeg2k +lcms openmp" |
75 | |
76 | RDEPEND="jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] ) |
77 | jpeg2k? ( media-libs/jasper[${MULTILIB_USEDEP}] ) |
78 | lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )" |
79 | DEPEND="${RDEPEND} |
80 | virtual/pkgconfig" |
81 | |
82 | S=${WORKDIR}/${MY_P} |
83 | |
84 | DOCS=( Changelog.txt README ) |
85 | |
86 | PATCHES=( |
87 | "${FILESDIR}"/${PN}-0.16.0_alpha2-docs.patch |
88 | "${FILESDIR}"/${PN}-0.16.0_alpha2-automagic-jasper.patch |
89 | "${FILESDIR}"/${PN}-0.16.0_alpha2-libdir.patch |
90 | "${FILESDIR}"/${PN}-0.16.0_alpha2-lcms2-first.patch |
91 | "${FILESDIR}"/${PN}-0.16.0_alpha2-custom-demosaic-paths.patch |
92 | ) |
93 | |
94 | pkg_pretend() { |
95 | if use openmp ; then |
96 | tc-has-openmp || die "Please switch to an openmp compatible compiler" |
97 | fi |
98 | } |
99 | |
100 | src_configure() { |
101 | local mycmakeargs=( |
102 | $(cmake-utils_use_enable openmp OPENMP) |
103 | $(cmake-utils_use_enable jpeg JPEG) |
104 | $(cmake-utils_use_enable jpeg2k JASPER) |
105 | $(cmake-utils_use_enable lcms LCMS) |
106 | $(cmake-utils_use_enable examples EXAMPLES) |
107 | $(cmake-utils_use_enable demosaic DEMOSAIC_PACK_GPL2) |
108 | $(cmake-utils_use_enable demosaic DEMOSAIC_PACK_GPL3) |
109 | -DDEMOSAIC_PACK_GPL2_PATH="${WORKDIR}/${MY_PN}-demosaic-pack-GPL2-${MY_PV}" |
110 | -DDEMOSAIC_PACK_GPL3_PATH="${WORKDIR}/${MY_PN}-demosaic-pack-GPL3-${MY_PV}" |
111 | ) |
112 | cmake-multilib_src_configure |
113 | } |