/[gentoo-x86]/x11-misc/fraqtive/fraqtive-0.4.5.ebuild
Gentoo

Contents of /x11-misc/fraqtive/fraqtive-0.4.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jul 1 23:53:09 2014 UTC (2 months, 2 weeks ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Add virtual/glu dependency (bug #515008).

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/fraqtive/fraqtive-0.4.5.ebuild,v 1.4 2013/03/02 23:48:22 hwoarang Exp $
4
5 EAPI=4
6
7 inherit eutils gnome2-utils qt4-r2
8
9 DESCRIPTION="an open source, multi-platform generator of the Mandelbrot family fractals"
10 HOMEPAGE="http://fraqtive.mimec.org/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="sse2"
17
18 RDEPEND="dev-qt/qtcore:4
19 dev-qt/qtgui:4
20 dev-qt/qtopengl:4"
21 DEPEND="${RDEPEND}"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-qt-4.8.patch
25
26 local conf="release"
27
28 if use sse2; then
29 conf="$conf sse2"
30 else
31 conf="$conf no-sse2"
32 fi
33
34 echo "CONFIG += $conf" > "${S}"/config.pri
35 echo "PREFIX = ${EPREFIX}/usr" >> "${S}"/config.pri
36 # Don't strip wrt #252096
37 echo "QMAKE_STRIP =" >> "${S}"/config.pri
38 }
39
40 pkg_preinst() {
41 gnome2_icon_savelist
42 }
43
44 pkg_postinst() {
45 gnome2_icon_cache_update
46 }
47
48 pkg_postrm() {
49 gnome2_icon_cache_update
50 }

  ViewVC Help
Powered by ViewVC 1.1.20