You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
924 B
51 lines
924 B
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
|
inherit qmake-utils
|
||
13 years ago
|
|
||
|
DESCRIPTION="Fractal planet and terrain generator"
|
||
8 years ago
|
HOMEPAGE="https://sourceforge.net/projects/fracplanet/"
|
||
13 years ago
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
7 years ago
|
RDEPEND="
|
||
|
dev-libs/boost:=
|
||
11 years ago
|
dev-qt/qtcore:4
|
||
|
dev-qt/qtgui:4
|
||
7 years ago
|
dev-qt/qtopengl:4
|
||
|
virtual/glu
|
||
|
virtual/opengl
|
||
|
"
|
||
13 years ago
|
DEPEND="${RDEPEND}
|
||
|
dev-libs/libxslt"
|
||
|
|
||
|
S=${WORKDIR}/${PN}
|
||
|
|
||
7 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${P}-gold.patch"
|
||
|
"${FILESDIR}/${P}-gcc6.patch"
|
||
|
)
|
||
|
|
||
|
HTML_DOCS=( fracplanet.{htm,css} )
|
||
|
|
||
|
src_configure() {
|
||
|
eqmake4 fracplanet.pro
|
||
|
}
|
||
13 years ago
|
|
||
|
src_compile() {
|
||
|
xsltproc -stringparam version ${PV} -html htm_to_qml.xsl fracplanet.htm \
|
||
7 years ago
|
| sed 's/"/\\"/g' | sed 's/^/"/g' | sed 's/$/\\n"/g'> usage_text.h || die
|
||
|
default
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
12 years ago
|
dobin ${PN}
|
||
|
doman man/man1/${PN}.1
|
||
7 years ago
|
einstalldocs
|
||
13 years ago
|
}
|