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 (-7 / +32 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
else
17
        SRC_URI="mirror://sourceforge/oyranos/Oyranos/Oyranos%200.4/${P}.tar.bz2"
18
fi
12
19
13
LICENSE="BSD"
20
LICENSE="BSD"
14
SLOT="0"
21
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
22
KEYWORDS="~amd64 ~x86"
16
IUSE="X cairo cups doc exif fltk qt4 raw test"
23
IUSE="X cairo cups doc exif fltk qt4 raw test"
17
24
18
RDEPEND=">=app-admin/elektra-0.8.3-r1
25
RDEPEND="=app-admin/elektra-0.7*
19
	dev-libs/libxml2
26
	dev-libs/libxml2
20
	dev-libs/yajl
27
	dev-libs/yajl
21
	media-gfx/exiv2
28
	media-gfx/exiv2
29
	media-libs/icc-profiles-basiccolor-printing2009
30
	media-libs/icc-profiles-openicc
22
	|| ( media-libs/lcms:0 media-libs/lcms:2 )
31
	|| ( media-libs/lcms:0 media-libs/lcms:2 )
23
	media-libs/libpng:0
32
	media-libs/libpng:0
24
	media-libs/libraw
33
	media-libs/libraw
Lines 35-50 Link Here
35
	raw? ( media-libs/libraw )"
44
	raw? ( media-libs/libraw )"
36
DEPEND="${RDEPEND}
45
DEPEND="${RDEPEND}
37
	app-doc/doxygen
46
	app-doc/doxygen
38
	media-gfx/graphviz
47
	media-gfx/graphviz"
39
	test? ( media-libs/icc-profiles-basiccolor-printing2009
40
		media-libs/icc-profiles-openicc )"
41
48
42
#RESTRICT="test"
49
#RESTRICT="test"
43
50
44
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindElektra FindXcm FindCUPS"
51
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindXcm FindCUPS"
45
52
46
src_prepare() {
53
src_prepare() {
47
	epatch "${FILESDIR}/${P}"-buildsystem.patch
54
	epatch "${FILESDIR}/${P}"-buildsystem-r1.patch
55
56
	#upstream(ed) fixes, be more verbose, better xrandr handling
57
	epatch "${FILESDIR}/${P}"-fix-array-access.patch \
58
		"${FILESDIR}/${P}"-fix-oyRankMap-helper-functions-crashes.patch \
59
		"${FILESDIR}/${P}"-fix-oyStringSegment-crash.patch \
60
		"${FILESDIR}/${P}"-be-more-verbose.patch \
61
		"${FILESDIR}/${P}"-use-more-internal-xrandr-info.patch \
62
		"${FILESDIR}/${P}"-set-xcalib-to-screen-if-ge-xrandr-12.patch \
63
		"${FILESDIR}/${P}"-fix-double-object-release.patch \
64
		"${FILESDIR}/${P}"-omit-profile-with-error.patch \
65
		"${FILESDIR}/${P}"-fix-typos-and-grammar.patch
66
67
	#upstream fix for QA notice, gentoo bug 464254
68
	epatch "${FILESDIR}/${P}"-fix-runpaths.patch
69
70
	#fix really ugly and prominently visible typo (solved in 0.9.5)
71
	sed -e 's/Promt/Prompt/' \
72
		-i src/liboyranos_config/oyranos_texts.c po/*.{po,pot} settings/*xml || die
48
73
49
	if use fltk ; then
74
	if use fltk ; then
50
		#src/examples does not include fltk flags
75
		#src/examples does not include fltk flags

Return to bug 447246