Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/oyranos: ChangeLog oyranos-0.9.0.ebuild
Date: Sun, 04 Nov 2012 16:28:39
Message-Id: 20121104162822.23A16215FF@flycatcher.gentoo.org
1 xmw 12/11/04 16:28:22
2
3 Modified: ChangeLog
4 Added: oyranos-0.9.0.ebuild
5 Log:
6 Version bump with upstream fixes (thanks Andreas Sturmlechner, bug 440838)
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
9
10 Revision Changes Path
11 1.5 media-libs/oyranos/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/oyranos/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/oyranos/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/oyranos/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/oyranos/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 4 Nov 2012 11:26:02 -0000 1.4
24 +++ ChangeLog 4 Nov 2012 16:28:21 -0000 1.5
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-libs/oyranos
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/oyranos/ChangeLog,v 1.4 2012/11/04 11:26:02 xmw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/oyranos/ChangeLog,v 1.5 2012/11/04 16:28:21 xmw Exp $
30 +
31 +*oyranos-0.9.0 (04 Nov 2012)
32 +
33 + 04 Nov 2012; Michael Weber <xmw@g.o> +oyranos-0.9.0.ebuild,
34 + +files/oyranos-0.9.0-array.patch, +files/oyranos-0.9.0-buildsystem.patch,
35 + +files/oyranos-0.9.0-png.patch:
36 + Version bump with upstream fixes (thanks Andreas Sturmlechner, bug 440838)
37
38 *oyranos-0.4.0-r1 (04 Nov 2012)
39
40
41
42
43 1.1 media-libs/oyranos/oyranos-0.9.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/oyranos/oyranos-0.9.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/oyranos/oyranos-0.9.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: oyranos-0.9.0.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/oyranos/oyranos-0.9.0.ebuild,v 1.1 2012/11/04 16:28:21 xmw Exp $
53
54 EAPI=4
55
56 inherit eutils toolchain-funcs
57
58 DESCRIPTION="colour management system allowing to share various settings across applications and services"
59 HOMEPAGE="http://www.oyranos.org/"
60 SRC_URI="mirror://sourceforge/oyranos/Oyranos/Oyranos%200.4/${P}.tar.bz2"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="X doc static-libs test xinerama"
66
67 RDEPEND="<app-admin/elektra-0.8.3
68 dev-libs/libxml2
69 dev-libs/yajl
70 media-gfx/exiv2
71 media-libs/lcms:0
72 media-libs/libpng:0
73 media-libs/libraw
74 >=media-libs/libXcm-0.5.1
75 X? ( x11-libs/fltk:1
76 x11-libs/libXfixes
77 x11-libs/libXrandr
78 x11-libs/libXxf86vm
79 xinerama? ( x11-libs/libXinerama ) )"
80 DEPEND="${RDEPEND}
81 app-doc/doxygen
82 media-gfx/graphviz
83 test? ( media-libs/icc-profiles-basiccolor-printing2009
84 media-libs/icc-profiles-openicc )"
85
86 RESTRICT="test"
87
88 src_prepare() {
89 einfo remove bundled elektra yajl
90 rm -rf elektra* yajl || die
91 #keep bundled libXNVCtrl
92
93 epatch "${FILESDIR}"/${P}-buildsystem.patch
94 epatch "${FILESDIR}"/${P}-png.patch
95 epatch "${FILESDIR}"/${P}-array.patch
96
97 if ! use X ; then
98 sed -e '/FLTK_GUI =/s:=.*:=:' \
99 -i makefile.in || die
100 fi
101
102 sed -e '/^#include/s:kdb.h:elektra-kdb.h:' \
103 -i test.c test2.cpp oyranos_elektra.c || die
104 }
105
106 src_configure() {
107 tc-export CC CXX
108 econf --prefix=/usr \
109 --enable-verbose \
110 $(use_with X x) \
111 $(use_enable X libX11) \
112 $(use_enable X libXext) \
113 $(use_enable X libXrandr) \
114 $(use_enable X libXxf86vm) \
115 $(use_enable X fltk) \
116 $(use_enable static-libs static) \
117 $(use_enable xinerama libXinerama)
118 }
119
120 src_compile() {
121 emake all
122 use X && emake oforms
123 emake docu
124 }
125
126 src_install() {
127 emake DESTDIR="${D}" docdir=${EPREFIX}/usr/share/doc/${P} install-main
128
129 if ! use doc ; then
130 rm -rf "${ED}/usr/share/doc/${P}/html" || die
131 fi
132 }