/[gentoo-x86]/games-kids/cubetest/cubetest-0.9.4.ebuild
Gentoo

Diff of /games-kids/cubetest/cubetest-0.9.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/cubetest-0.9.4.ebuild,v 1.7 2008/10/07 16:25:23 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/cubetest-0.9.4.ebuild,v 1.8 2009/06/23 16:58:53 mr_bones_ Exp $
4 4
5EAPI=1 5EAPI=2
6inherit eutils qt4 games 6inherit eutils qt4 games
7 7
8DESCRIPTION="A program to train your spatial insight" 8DESCRIPTION="A program to train your spatial insight"
9HOMEPAGE="http://www.vandenoever.info/software/cubetest/" 9HOMEPAGE="http://www.vandenoever.info/software/cubetest/"
10SRC_URI="http://www.vandenoever.info/software/cubetest/${P}.tar.bz2" 10SRC_URI="http://www.vandenoever.info/software/cubetest/${P}.tar.bz2"
12LICENSE="GPL-2" 12LICENSE="GPL-2"
13SLOT="0" 13SLOT="0"
14KEYWORDS="amd64 ~ppc x86" 14KEYWORDS="amd64 ~ppc x86"
15IUSE="" 15IUSE=""
16 16
17RDEPEND="|| ( 17RDEPEND="x11-libs/qt-gui:4
18 ( x11-libs/qt-gui:4 x11-libs/qt-qt3support:4 ) 18 x11-libs/qt-core:4[qt3support]"
19 x11-libs/qt:4
20 )"
21DEPEND="${RDEPEND} 19DEPEND="${RDEPEND}
22 dev-util/pkgconfig" 20 dev-util/pkgconfig"
23 21
24pkg_setup() { 22src_prepare() {
25 games_pkg_setup
26 QT4_BUILT_WITH_USE_CHECK="qt3support" qt4_pkg_setup
27}
28
29src_unpack() {
30 local i 23 local i
31 24
32 unpack ${A}
33 cd "${S}"
34 epatch "${FILESDIR}"/${P}-build.patch 25 epatch "${FILESDIR}"/${P}-build.patch
35 for i in $(find src/ -iname *_moc.cpp) ; do 26 for i in $(find src/ -iname *_moc.cpp) ; do
36 moc ${i/_moc.cpp/.h} -o $i || die 27 moc ${i/_moc.cpp/.h} -o $i || die
37 done 28 done
38} 29}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20