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

Collapse All | Expand All

(-)file_not_specified_in_diff (-13 / +15 lines)
Line  Link Here
0
-- fracplanet-0.4.0.ebuild
0
++ fracplanet-0.4.0.ebuild
Lines 1-9 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
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
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fracplanet/fracplanet-0.4.0.ebuild,v 1.1 2009/12/17 18:59:35 ssuominen Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fracplanet/fracplanet-0.4.0.ebuild,v 1.1 2009/12/17 18:59:35 ssuominen Exp $
4
4
5
EAPI=2
5
EAPI=4
6
inherit qt4
6
inherit qt4-r2
7
7
8
DESCRIPTION="Fractal planet and terrain generator"
8
DESCRIPTION="Fractal planet and terrain generator"
9
HOMEPAGE="http://sourceforge.net/projects/fracplanet/"
9
HOMEPAGE="http://sourceforge.net/projects/fracplanet/"
Lines 14-39 Link Here
14
KEYWORDS="~amd64 ~x86"
14
KEYWORDS="~amd64 ~x86"
15
IUSE=""
15
IUSE=""
16
16
17
RDEPEND="x11-libs/qt-gui:4
17
RDEPEND="dev-libs/boost
18
	x11-libs/qt-opengl:4
18
	virtual/glu
19
	dev-libs/boost"
19
	virtual/opengl
20
	x11-libs/qt-core:4
21
	x11-libs/qt-gui:4
22
	x11-libs/qt-opengl:4"
20
DEPEND="${RDEPEND}
23
DEPEND="${RDEPEND}
21
	dev-libs/libxslt"
24
	dev-libs/libxslt"
22
25
23
S=${WORKDIR}/${PN}
26
S=${WORKDIR}/${PN}
24
27
25
src_configure() {
28
PATCHES=( "${FILESDIR}/${P}-gold.patch" )
26
	eqmake4
27
}
28
29
29
src_compile() {
30
src_compile(){
30
	xsltproc -stringparam version ${PV} -html htm_to_qml.xsl fracplanet.htm \
31
	xsltproc -stringparam version ${PV} -html htm_to_qml.xsl fracplanet.htm \
31
		| sed 's/"/\\"/g' | sed 's/^/"/g' | sed 's/$/\\n"/g'> usage_text.h
32
		| sed 's/"/\\"/g' | sed 's/^/"/g' | sed 's/$/\\n"/g'> usage_text.h
32
	emake || die
33
	qt4-r2_src_compile
33
}
34
}
34
35
35
src_install() {
36
src_install() {
36
	dobin ${PN} || die
37
	dobin ${PN}
38
	doman man/man1/${PN}.1
37
	dodoc BUGS NEWS README THANKS TODO
39
	dodoc BUGS NEWS README THANKS TODO
38
	dohtml *.{css,htm}
40
	dohtml *.{css,htm}
39
}
41
}

Return to bug 409775