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