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

(-)a/app-office/scribus/scribus-9999.ebuild (-8 / +3 lines)
Lines 80-97 PATCHES=( Link Here
80
	"${FILESDIR}"/${PN}-1.5.6-findhyphen.patch
80
	"${FILESDIR}"/${PN}-1.5.6-findhyphen.patch
81
)
81
)
82
82
83
CMAKE_BUILD_TYPE="Release"
84
83
src_prepare() {
85
src_prepare() {
84
	cmake_src_prepare
86
	cmake_src_prepare
85
87
86
	rm -r codegen/cheetah scribus/third_party/hyphen || die
88
	rm -r codegen/cheetah scribus/third_party/hyphen || die
87
89
88
	cat > cmake/modules/FindZLIB.cmake <<- EOF || die
89
	find_package(PkgConfig)
90
	pkg_check_modules(ZLIB minizip zlib)
91
	SET( ZLIB_LIBRARY \${ZLIB_LIBRARIES} )
92
	SET( ZLIB_INCLUDE_DIR \${ZLIB_INCLUDE_DIRS} )
93
	MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR )
94
	EOF
95
	sed \
90
	sed \
96
		-e "/^\s*unzip\.[ch]/d" \
91
		-e "/^\s*unzip\.[ch]/d" \
97
		-e "/^\s*ioapi\.[ch]/d" \
92
		-e "/^\s*ioapi\.[ch]/d" \
Lines 115-120 src_configure() { Link Here
115
		-DHAVE_PYTHON=ON
110
		-DHAVE_PYTHON=ON
116
		-DWANT_DISTROBUILD=ON
111
		-DWANT_DISTROBUILD=ON
117
		-DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/
112
		-DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/
113
		-DPython3_EXECUTABLE="${PYTHON}"
118
		-DWITH_BOOST=$(usex boost)
114
		-DWITH_BOOST=$(usex boost)
119
		-DWANT_DEBUG=$(usex debug)
115
		-DWANT_DEBUG=$(usex debug)
120
		-DWANT_NOEXAMPLES=$(usex !examples)
116
		-DWANT_NOEXAMPLES=$(usex !examples)
121
- 

Return to bug 691684