1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit qmake-utils toolchain-funcs xdg
8 DESCRIPTION="Open source, multi-platform generator of the Mandelbrot family fractals"
9 HOMEPAGE="https://fraqtive.mimec.org/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="cpu_flags_x86_sse2"
28 PATCHES=( "${FILESDIR}/${P}-qt-includes.patch" )
32 sed -i -e "s|-lGLU|$( ${PKG_CONFIG} --libs glu )|g" src/src.pro || die
35 if use cpu_flags_x86_sse2; then
41 echo "CONFIG += $conf" > config.pri
42 echo "PREFIX = ${EPREFIX}/usr" >> config.pri
43 # Don't strip wrt #252096
44 echo "QMAKE_STRIP =" >> config.pri
50 emake INSTALL_ROOT="${D}" install