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

Collapse All | Expand All

(-)oyranos-0.9.4-r1.ebuild (-35 / +17 lines)
Lines 8-87 Link Here
8
8
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
if [[ ${PV} == "9999" ]] ; then
12
	EGIT_REPO_URI="git://www.${PN}.org/git/${PN}"
13
	inherit git-2
14
else
15
	SRC_URI="mirror://sourceforge/oyranos/Oyranos/Oyranos%200.4/${P}.tar.bz2"
16
fi
12
17
13
LICENSE="BSD"
18
LICENSE="BSD"
14
SLOT="0"
19
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
20
KEYWORDS=""
16
IUSE="X cairo cups doc exif fltk qt4 raw test"
21
IUSE="X cairo cups doc exif fltk qt4 raw test"
17
22
18
RDEPEND="=app-admin/elektra-0.7*[${MULTILIB_USEDEP}]
23
RDEPEND=">=app-admin/elektra-0.7[${MULTILIB_USEDEP}]
24
	dev-libs/libxml2[${MULTILIB_USEDEP}]
19
	dev-libs/yajl[${MULTILIB_USEDEP}]
25
	dev-libs/yajl[${MULTILIB_USEDEP}]
26
	media-gfx/graphviz
20
	media-libs/icc-profiles-basiccolor-printing2009
27
	media-libs/icc-profiles-basiccolor-printing2009
21
	media-libs/icc-profiles-basiccolor-printing2009
28
	media-libs/icc-profiles-openicc
29
	media-libs/lcms[${MULTILIB_USEDEP}]
30
	media-libs/libpng:0[${MULTILIB_USEDEP}]
22
	>=media-libs/libXcm-0.5.2[${MULTILIB_USEDEP}]
31
	>=media-libs/libXcm-0.5.2[${MULTILIB_USEDEP}]
23
	X? ( x11-libs/libXfixes[${MULTILIB_USEDEP}]
32
	X? ( x11-libs/libXfixes[${MULTILIB_USEDEP}]
24
		x11-libs/libXrandr[${MULTILIB_USEDEP}]
33
		x11-libs/libXrandr[${MULTILIB_USEDEP}]
25
		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
34
		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
26
		x11-libs/libXinerama[${MULTILIB_USEDEP}] )
35
		x11-libs/libXinerama[${MULTILIB_USEDEP}] )
27
	!amd64? (
36
	!amd64? (
28
		dev-libs/libxml2
29
		cairo? ( x11-libs/cairo )
37
		cairo? ( x11-libs/cairo )
30
		cups? ( net-print/cups )
38
		cups? ( net-print/cups )
31
		qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
39
		qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
32
		raw? ( media-libs/libraw )
33
		)
40
		)
34
	amd64? (
41
	amd64? (
35
		abi_x86_64? (
42
		abi_x86_64? (
36
			dev-libs/libxml2
37
			|| ( media-libs/lcms:0 media-libs/lcms:2 )
38
			media-libs/libpng:0
39
			cairo? ( x11-libs/cairo )
43
			cairo? ( x11-libs/cairo )
40
			cups? ( net-print/cups )
44
			cups? ( net-print/cups )
41
			qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
45
			qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
42
			raw? ( media-libs/libraw )
43
		)
46
		)
44
		abi_x86_32? (
47
		abi_x86_32? (
45
			app-emulation/emul-linux-x86-baselibs
46
			cairo? ( app-emulation/emul-linux-x86-gtklibs )
48
			cairo? ( app-emulation/emul-linux-x86-gtklibs )
47
			cups? ( app-emulation/emul-linux-x86-baselibs )
49
			cups? ( app-emulation/emul-linux-x86-baselibs )
48
			qt4? ( app-emulation/emul-linux-x86-qtlibs )
50
			qt4? ( app-emulation/emul-linux-x86-qtlibs )
49
		)
51
		)
50
	)
52
	)
51
	media-gfx/graphviz
53
	exif? ( media-gfx/exiv2[${MULTILIB_USEDEP}] )
52
	exif? ( media-gfx/exiv2 )
54
	fltk? ( x11-libs/fltk:1 )
53
	fltk? ( x11-libs/fltk:1 )"
55
	raw? ( media-libs/libraw[${MULTILIB_USEDEP}] )"
54
DEPEND="${RDEPEND}
56
DEPEND="${RDEPEND}
55
	app-doc/doxygen"
57
	app-doc/doxygen"
56
58
57
RESTRICT="test"
59
RESTRICT="test"
58
REQUIRED_USE="amd64? ( exif? ( !abi_x86_32 )
59
	raw? ( !abi_x86_32 ) )"
60
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindXcm FindCUPS"
60
CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST} FindFltk FindXcm FindCUPS"
61
61
62
src_prepare() {
62
src_prepare() {
63
	einfo remove bundled libs
63
	einfo remove bundled libs
64
	rm -rf elektra* yajl || die
64
	rm -rf elektra* yajl || die
65
65
66
	epatch "${FILESDIR}/${P}"-buildsystem-r1.patch
66
	epatch "${FILESDIR}/${PN}"-9999-buildsystem.patch
67
68
	#upstream(ed) fixes, be more verbose, better xrandr handling
69
	epatch "${FILESDIR}/${P}"-fix-array-access.patch \
70
		"${FILESDIR}/${P}"-fix-oyRankMap-helper-functions-crashes.patch \
71
		"${FILESDIR}/${P}"-fix-oyStringSegment-crash.patch \
72
		"${FILESDIR}/${P}"-be-more-verbose.patch \
73
		"${FILESDIR}/${P}"-use-more-internal-xrandr-info.patch \
74
		"${FILESDIR}/${P}"-set-xcalib-to-screen-if-ge-xrandr-12.patch \
75
		"${FILESDIR}/${P}"-fix-double-object-release.patch \
76
		"${FILESDIR}/${P}"-omit-profile-with-error.patch \
77
		"${FILESDIR}/${P}"-fix-typos-and-grammar.patch
78
79
	#upstream fix for QA notice, gentoo bug 464254
80
	epatch "${FILESDIR}/${P}"-fix-runpaths.patch
81
82
	#fix really ugly and prominently visible typo (solved in 0.9.5)
83
	sed -e 's/Promt/Prompt/' \
84
		-i src/liboyranos_config/oyranos_texts.c po/*.{po,pot} settings/*xml || die
85
67
86
	if use fltk ; then
68
	if use fltk ; then
87
		#src/examples does not include fltk flags
69
		#src/examples does not include fltk flags

Return to bug 497138