Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 288842
Collapse All | Expand All

(-)scribus-1.3.5.1.ebuild (-6 / +11 lines)
Lines 3-10 Link Here
3
# $Header: $
3
# $Header: $
4
4
5
EAPI="2"
5
EAPI="2"
6
6
NEED_PYTHON="2.6"
7
inherit cmake-utils multilib
7
inherit cmake-utils multilib python
8
8
9
DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux."
9
DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux."
10
HOMEPAGE="http://www.scribus.net/"
10
HOMEPAGE="http://www.scribus.net/"
Lines 13-21 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
16
IUSE="cairo cups debug +podofo python spell"
16
IUSE="cairo cups debug +podofo spell"
17
17
18
COMMONDEPEND="
18
COMMONDEPEND="dev-libs/openssl
19
	dev-libs/boost
19
	dev-libs/boost
20
	dev-libs/libxml2
20
	dev-libs/libxml2
21
	media-libs/fontconfig
21
	media-libs/fontconfig
Lines 28-34 Link Here
28
	sys-libs/zlib
28
	sys-libs/zlib
29
	x11-libs/qt-core:4
29
	x11-libs/qt-core:4
30
	x11-libs/qt-gui:4
30
	x11-libs/qt-gui:4
31
	x11-libs/qt-sql:4
31
	x11-libs/qt-sql[postgres]:4
32
	x11-libs/qt-xmlpatterns:4
32
	x11-libs/qt-xmlpatterns:4
33
	cairo? ( x11-libs/cairo[X,svg] )
33
	cairo? ( x11-libs/cairo[X,svg] )
34
	podofo? ( app-text/podofo )
34
	podofo? ( app-text/podofo )
Lines 67-72 Link Here
67
}
67
}
68
68
69
src_configure() {
69
src_configure() {
70
	# scribus 1.3.5.x requires python 2.x, it does not work with python 3.x
71
	python_version
72
70
	# cairo can be used as replacement instead of qt arthur
73
	# cairo can be used as replacement instead of qt arthur
71
	mycmakeargs="${mycmakeargs}
74
	mycmakeargs="${mycmakeargs}
72
		-D2GEOM_BUILD_SHARED=ON
75
		-D2GEOM_BUILD_SHARED=ON
Lines 78-85 Link Here
78
		-DWANT_NORPATH=ON
81
		-DWANT_NORPATH=ON
79
		-DWANT_QTARTHUR=ON
82
		-DWANT_QTARTHUR=ON
80
		-DWANT_QT3SUPPORT=OFF
83
		-DWANT_QT3SUPPORT=OFF
84
		-DHAVE_PYTHON=ON
85
		-DPYTHON_LIBRARY=/usr/lib/libpython${PYVER}.so
86
		-DPYTHON_INCLUDE_PATH=/usr/include/python${PYVER}
81
		$(cmake-utils_use_has podofo)
87
		$(cmake-utils_use_has podofo)
82
		$(cmake-utils_use_has python)
83
		$(cmake-utils_use_has spell ASPELL)
88
		$(cmake-utils_use_has spell ASPELL)
84
		$(cmake-utils_use_want cairo)"
89
		$(cmake-utils_use_want cairo)"
85
90

Return to bug 288842