blob: e6600649886763babd8445c34f8e9af0be7aabcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fraqtive/fraqtive-0.4.5.ebuild,v 1.1 2010/12/05 12:02:09 xarthisius Exp $
EAPI=3
inherit qt4-r2
DESCRIPTION="Fraqtive is a KDE-based program for interactively drawing Mandelbrot and Julia fractals"
HOMEPAGE="http://fraqtive.mimec.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="sse2"
DEPEND="x11-libs/qt-core:4
x11-libs/qt-gui:4
x11-libs/qt-opengl:4"
RDEPEND="${DEPEND}"
src_prepare() {
local conf="release"
if use sse2; then
conf="$conf sse2"
else
conf="$conf no-sse2"
fi
echo "CONFIG += $conf" > "${S}"/config.pri
echo "PREFIX = ${EPREFIX}/usr" >> "${S}"/config.pri
# Don't strip wrt #252096
echo "QMAKE_STRIP =" >> "${S}"/config.pri
}
|