diff options
author | 2019-04-22 11:21:48 +0200 | |
---|---|---|
committer | 2019-04-22 12:41:20 +0200 | |
commit | 6664dbad282fa7ce931d74f9f1dbe345fad17de0 (patch) | |
tree | 162233f77e0ed529a5bfb372fb7ae57d87df6e41 /x11-misc | |
parent | sys-auth/polkit: Drop 0.115-r2 (diff) | |
download | gentoo-6664dbad282fa7ce931d74f9f1dbe345fad17de0.tar.gz gentoo-6664dbad282fa7ce931d74f9f1dbe345fad17de0.tar.bz2 gentoo-6664dbad282fa7ce931d74f9f1dbe345fad17de0.zip |
x11-misc/fraqtive: EAPI-7 bump, add missing DEPENDs
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/fraqtive/fraqtive-0.4.8-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/x11-misc/fraqtive/fraqtive-0.4.8-r1.ebuild b/x11-misc/fraqtive/fraqtive-0.4.8-r1.ebuild new file mode 100644 index 000000000000..331b0ef776a4 --- /dev/null +++ b/x11-misc/fraqtive/fraqtive-0.4.8-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils toolchain-funcs xdg + +DESCRIPTION="Open source, multi-platform generator of the Mandelbrot family fractals" +HOMEPAGE="https://fraqtive.mimec.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse2" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + virtual/glu +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-qt-includes.patch" ) + +src_configure() { + tc-export PKG_CONFIG + sed -i -e "s|-lGLU|$( ${PKG_CONFIG} --libs glu )|g" src/src.pro || die + local conf="release" + + if use cpu_flags_x86_sse2; then + conf="$conf sse2" + else + conf="$conf no-sse2" + fi + + echo "CONFIG += $conf" > config.pri + echo "PREFIX = ${EPREFIX}/usr" >> config.pri + # Don't strip wrt #252096 + echo "QMAKE_STRIP =" >> config.pri + + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} |