/[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.2 - (hide annotations) (download)
Sat Jul 21 18:53:25 2012 UTC (2 years, 5 months ago) by hasufell
Branch: MAIN
Changes since 1.1: +20 -6 lines
eapi bump, fix compilation for qt-4.8 wrt #427412, update icon cache

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 hasufell 1.2 # Copyright 1999-2012 Gentoo Foundation
2 xarthisius 1.1 # Distributed under the terms of the GNU General Public License v2
3 hasufell 1.2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/fraqtive/fraqtive-0.4.5.ebuild,v 1.1 2010/12/05 12:02:09 xarthisius Exp $
4 xarthisius 1.1
5 hasufell 1.2 EAPI=4
6 xarthisius 1.1
7 hasufell 1.2 inherit eutils gnome2-utils qt4-r2
8 xarthisius 1.1
9     DESCRIPTION="Fraqtive is a KDE-based program for interactively drawing Mandelbrot and Julia 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 hasufell 1.2 RDEPEND="x11-libs/qt-core:4
19 xarthisius 1.1 x11-libs/qt-gui:4
20     x11-libs/qt-opengl:4"
21 hasufell 1.2 DEPEND="${RDEPEND}"
22 xarthisius 1.1
23     src_prepare() {
24 hasufell 1.2 epatch "${FILESDIR}"/${P}-qt-4.8.patch
25    
26 xarthisius 1.1 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 hasufell 1.2
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