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.
52 lines
1.0 KiB
52 lines
1.0 KiB
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
|
inherit qmake-utils toolchain-funcs xdg
|
||
|
|
||
|
DESCRIPTION="Open source, multi-platform generator of the Mandelbrot family fractals"
|
||
7 years ago
|
HOMEPAGE="https://fraqtive.mimec.org/"
|
||
12 years ago
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
7 years ago
|
IUSE="cpu_flags_x86_sse2"
|
||
12 years ago
|
|
||
5 years ago
|
BDEPEND="
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
DEPEND="
|
||
7 years ago
|
dev-qt/qtcore:5
|
||
|
dev-qt/qtgui:5
|
||
|
dev-qt/qtopengl:5
|
||
4 years ago
|
dev-qt/qtxml:5
|
||
10 years ago
|
virtual/glu
|
||
12 years ago
|
"
|
||
5 years ago
|
RDEPEND="${DEPEND}"
|
||
12 years ago
|
|
||
5 years ago
|
PATCHES=( "${FILESDIR}/${P}-qt-includes.patch" )
|
||
7 years ago
|
|
||
5 years ago
|
src_configure() {
|
||
10 years ago
|
tc-export PKG_CONFIG
|
||
|
sed -i -e "s|-lGLU|$( ${PKG_CONFIG} --libs glu )|g" src/src.pro || die
|
||
12 years ago
|
local conf="release"
|
||
|
|
||
10 years ago
|
if use cpu_flags_x86_sse2; then
|
||
12 years ago
|
conf="$conf sse2"
|
||
|
else
|
||
|
conf="$conf no-sse2"
|
||
|
fi
|
||
|
|
||
5 years ago
|
echo "CONFIG += $conf" > config.pri
|
||
|
echo "PREFIX = ${EPREFIX}/usr" >> config.pri
|
||
12 years ago
|
# Don't strip wrt #252096
|
||
5 years ago
|
echo "QMAKE_STRIP =" >> config.pri
|
||
12 years ago
|
|
||
7 years ago
|
eqmake5
|
||
10 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake INSTALL_ROOT="${D}" install
|
||
12 years ago
|
}
|