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

(-)/var/package-manager/portage/app-office/scribus/scribus-1.4.2-r3.ebuild (-9 / +10 lines)
Lines 5-13 Link Here
5
EAPI=5
5
EAPI=5
6
6
7
PYTHON_COMPAT=( python{2_6,2_7} )
7
PYTHON_COMPAT=( python{2_6,2_7} )
8
PYTHON_REQ_USE=tk
8
PYTHON_REQ_USE="tk?"
9
9
10
inherit cmake-utils fdo-mime multilib python-single-r1
10
inherit cmake-utils fdo-mime python-single-r1
11
11
12
DESCRIPTION="Desktop publishing (DTP) and layout program"
12
DESCRIPTION="Desktop publishing (DTP) and layout program"
13
HOMEPAGE="http://www.scribus.net/"
13
HOMEPAGE="http://www.scribus.net/"
Lines 16-22 Link Here
16
LICENSE="GPL-2"
16
LICENSE="GPL-2"
17
SLOT="0"
17
SLOT="0"
18
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
18
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
19
IUSE="aspell cairo debug examples hunspell +minimal +pdf templates"
19
IUSE="aspell cairo debug examples hunspell imaging +minimal +pdf templates tk"
20
20
21
# a=$(ls resources/translations/po/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'); echo ${a}
21
# a=$(ls resources/translations/po/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'); echo ${a}
22
IUSE_LINGUAS=" af ar bg br ca cs_CZ cy da_DK de de_1901 de_CH el en_AU en_GB en_US es_ES et eu fi fr gl hu id it ja ko lt_LT nb_NO nl pl_PL pt pt_BR ru sa sk_SK sl sq sr sv th_TH tr uk zh_CN zh_TW"
22
IUSE_LINGUAS=" af ar bg br ca cs_CZ cy da_DK de de_1901 de_CH el en_AU en_GB en_US es_ES et eu fi fr gl hu id it ja ko lt_LT nb_NO nl pl_PL pt pt_BR ru sa sk_SK sl sq sr sv th_TH tr uk zh_CN zh_TW"
Lines 26-32 Link Here
26
26
27
COMMON_DEPEND="
27
COMMON_DEPEND="
28
	${PYTHON_DEPS}
28
	${PYTHON_DEPS}
29
	virtual/python-imaging[tk,${PYTHON_USEDEP}]
30
	dev-libs/boost
29
	dev-libs/boost
31
	dev-libs/hyphen
30
	dev-libs/hyphen
32
	dev-libs/libxml2
31
	dev-libs/libxml2
Lines 43-49 Link Here
43
	cairo? ( x11-libs/cairo[X,svg] )
42
	cairo? ( x11-libs/cairo[X,svg] )
44
	pdf? ( app-text/podofo )
43
	pdf? ( app-text/podofo )
45
	aspell? ( app-text/aspell )
44
	aspell? ( app-text/aspell )
46
	hunspell? ( app-text/hunspell )"
45
	hunspell? ( app-text/hunspell )
46
	imaging? ( virtual/python-imaging[tk?,${PYTHON_USEDEP}] )
47
"
47
RDEPEND="${COMMON_DEPEND}
48
RDEPEND="${COMMON_DEPEND}
48
	app-text/ghostscript-gpl"
49
	app-text/ghostscript-gpl"
49
DEPEND="${COMMON_DEPEND}
50
DEPEND="${COMMON_DEPEND}
Lines 85-92 Link Here
85
86
86
	local mycmakeargs=(
87
	local mycmakeargs=(
87
		-DHAVE_PYTHON=ON
88
		-DHAVE_PYTHON=ON
88
		-DPYTHON_INCLUDE_PATH=$(python_get_includedir)
89
		-DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
89
		-DPYTHON_LIBRARY="${EPREFIX}/usr/$(get_libdir)/lib${EPYTHON}.so"
90
		-DPYTHON_LIBRARY="$(python_get_library_path)"
90
		-DWANT_NORPATH=ON
91
		-DWANT_NORPATH=ON
91
		-DWANT_QTARTHUR=ON
92
		-DWANT_QTARTHUR=ON
92
		-DWANT_QT3SUPPORT=OFF
93
		-DWANT_QT3SUPPORT=OFF
Lines 98-106 Link Here
98
		$(cmake-utils_use_want debug DEBUG)
99
		$(cmake-utils_use_want debug DEBUG)
99
		$(cmake-utils_use_want minimal NOHEADERINSTALL)
100
		$(cmake-utils_use_want minimal NOHEADERINSTALL)
100
		$(cmake-utils_use_want hunspell HUNSPELL)
101
		$(cmake-utils_use_want hunspell HUNSPELL)
102
		$(cmake-utils_use_want !examples NOEXAMPLES)
103
		$(cmake-utils_use_want !templates NOTEMPLATES)
101
		)
104
		)
102
	use examples || mycmakeargs+=( -DWANT_NOEXAMPLES=ON)
103
	use templates || mycmakeargs+=( -DWANT_NOTEMPLATES=ON)
104
	cmake-utils_src_configure
105
	cmake-utils_src_configure
105
}
106
}
106
107

Return to bug 476930