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

Collapse All | Expand All

(-)/mnt/repos/gentoo/app-office/scribus/scribus-9999.ebuild (-6 / +7 lines)
Lines 1-11 Link Here
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
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
3
4
EAPI=7
4
EAPI=7
5
5
6
PYTHON_COMPAT=( python3_{6,7} )
6
PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
7
PYTHON_REQ_USE="tk?"
7
PYTHON_REQ_USE="tk?"
8
inherit cmake-utils desktop flag-o-matic python-single-r1 subversion xdg
8
inherit cmake desktop flag-o-matic python-single-r1 subversion xdg
9
9
10
DESCRIPTION="Desktop publishing (DTP) and layout program"
10
DESCRIPTION="Desktop publishing (DTP) and layout program"
11
HOMEPAGE="https://www.scribus.net/"
11
HOMEPAGE="https://www.scribus.net/"
Lines 77-83 Link Here
77
)
77
)
78
78
79
src_prepare() {
79
src_prepare() {
80
	cmake-utils_src_prepare
80
	default
81
	_CMAKE_SRC_PREPARE_HAS_RUN=1
81
82
82
	rm -r codegen/cheetah scribus/third_party/hyphen || die
83
	rm -r codegen/cheetah scribus/third_party/hyphen || die
83
84
Lines 123-133 Link Here
123
		-DWITH_PODOFO=$(usex pdf)
124
		-DWITH_PODOFO=$(usex pdf)
124
		-DWANT_NOTEMPLATES=$(usex !templates)
125
		-DWANT_NOTEMPLATES=$(usex !templates)
125
	)
126
	)
126
	cmake-utils_src_configure
127
	cmake_src_configure
127
}
128
}
128
129
129
src_install() {
130
src_install() {
130
	cmake-utils_src_install
131
	cmake_src_install
131
132
132
	if ! use tk; then
133
	if ! use tk; then
133
		rm "${ED}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die
134
		rm "${ED}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die

Return to bug 691684