Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447246 | Differences between
and this patch

Collapse All | Expand All

(-)media-libs/oyranos/oyranos-0.9.4.ebuild (-8 / +36 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/oyranos/oyranos-0.9.4.ebuild,v 1.2 2013/04/12 23:54:12 xmw Exp $
3
# $Header: $
4
4
5
EAPI=5
5
EAPI=5
6
6
Lines 9-24 Link Here
9
DESCRIPTION="colour management system allowing to share various settings across applications and services"
9
DESCRIPTION="colour management system allowing to share various settings across applications and services"
10
HOMEPAGE="http://www.oyranos.org/"
10
HOMEPAGE="http://www.oyranos.org/"
11
SRC_URI="mirror://sourceforge/oyranos/Oyranos/Oyranos%200.4/${P}.tar.bz2"
11
SRC_URI="mirror://sourceforge/oyranos/Oyranos/Oyranos%200.4/${P}.tar.bz2"
12
if [[ ${PV} == "9999" ]] ; then
13
        EGIT_REPO_URI="git://www.oyranos.org/git/oyranos"
14
        inherit git-2
15
        SRC_URI=""
16
	KEYWORDS=""
17
else
18
        SRC_URI="mirror://sourceforge/oyranos/Oyranos/Oyranos%200.4/${P}.tar.bz2"
19
	KEYWORDS="~amd64 ~x86"
20
fi
12
21
13
LICENSE="BSD"
22
LICENSE="BSD"
14
SLOT="0"
23
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
16
IUSE="X cairo cups doc exif fltk qt4 raw test"
24
IUSE="X cairo cups doc exif fltk qt4 raw test"
17
25
18
RDEPEND=">=app-admin/elektra-0.8.3-r1
26
RDEPEND="=app-admin/elektra-0.7*
19
	dev-libs/libxml2
27
	dev-libs/libxml2
20
	dev-libs/yajl
28
	dev-libs/yajl
21
	media-gfx/exiv2
29
	media-gfx/exiv2
30
	media-libs/icc-profiles-basiccolor-printing2009
31
	media-libs/icc-profiles-openicc
22
	|| ( media-libs/lcms:0 media-libs/lcms:2 )
32
	|| ( media-libs/lcms:0 media-libs/lcms:2 )
23
	media-libs/libpng:0
33
	media-libs/libpng:0
24
	media-libs/libraw
34
	media-libs/libraw
Lines 35-50 Link Here
35
	raw? ( media-libs/libraw )"
45
	raw? ( media-libs/libraw )"
36
DEPEND="${RDEPEND}
46
DEPEND="${RDEPEND}
37
	app-doc/doxygen
47
	app-doc/doxygen
38
	media-gfx/graphviz
48
	media-gfx/graphviz"
39
	test? ( media-libs/icc-profiles-basiccolor-printing2009
40
		media-libs/icc-profiles-openicc )"
41
49
42
#RESTRICT="test"
50
#RESTRICT="test"
43
51
44
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindElektra FindXcm FindCUPS"
52
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindXcm FindCUPS"
45
53
46
src_prepare() {
54
src_prepare() {
47
	epatch "${FILESDIR}/${P}"-buildsystem.patch
55
	epatch "${FILESDIR}/${PN}"-0.9.4-buildsystem-r1.patch
56
57
	if [[ ${PV} != "9999" ]] ; then
58
		#upstream(ed) fixes, be more verbose, better xrandr handling
59
		epatch "${FILESDIR}/${P}"-fix-array-access.patch \
60
			"${FILESDIR}/${P}"-fix-oyRankMap-helper-functions-crashes.patch \
61
			"${FILESDIR}/${P}"-fix-oyStringSegment-crash.patch \
62
			"${FILESDIR}/${P}"-be-more-verbose.patch \
63
			"${FILESDIR}/${P}"-use-more-internal-xrandr-info.patch \
64
			"${FILESDIR}/${P}"-set-xcalib-to-screen-if-ge-xrandr-12.patch \
65
			"${FILESDIR}/${P}"-fix-double-object-release.patch \
66
			"${FILESDIR}/${P}"-omit-profile-with-error.patch \
67
			"${FILESDIR}/${P}"-fix-typos-and-grammar.patch
68
69
		#upstream fix for QA notice, gentoo bug 464254
70
		epatch "${FILESDIR}/${P}"-fix-runpaths.patch
71
72
		#fix really ugly and prominently visible typo (solved in 0.9.5)
73
		sed -e 's/Promt/Prompt/' \
74
			-i src/liboyranos_config/oyranos_texts.c po/*.{po,pot} settings/*xml || die
75
	fi
48
76
49
	if use fltk ; then
77
	if use fltk ; then
50
		#src/examples does not include fltk flags
78
		#src/examples does not include fltk flags

Return to bug 447246