From a9ffa101146fce1d11bc429af7e1bcb631aa0d7c Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Tue, 10 Jun 2008 00:40:13 +0000 Subject: use slotted deps for qt for bug #217170 (Portage version: 2.1.4.4) --- games-kids/cubetest/ChangeLog | 8 ++++++-- games-kids/cubetest/cubetest-0.9.4.ebuild | 19 ++++++++++--------- 2 files changed, 16 insertions(+), 11 deletions(-) (limited to 'games-kids/cubetest') diff --git a/games-kids/cubetest/ChangeLog b/games-kids/cubetest/ChangeLog index 9b18589c21f9..3d37cbc2abbb 100644 --- a/games-kids/cubetest/ChangeLog +++ b/games-kids/cubetest/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-kids/cubetest -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/ChangeLog,v 1.9 2007/02/05 21:24:17 mr_bones_ Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/ChangeLog,v 1.10 2008/06/10 00:40:13 mr_bones_ Exp $ + + 10 Jun 2008; Michael Sterrett + cubetest-0.9.4.ebuild: + use slotted deps for qt for bug #217170 05 Feb 2007; Michael Sterrett cubetest-0.9.4.ebuild: diff --git a/games-kids/cubetest/cubetest-0.9.4.ebuild b/games-kids/cubetest/cubetest-0.9.4.ebuild index 4614bfc6f02b..fb667d8b86f3 100644 --- a/games-kids/cubetest/cubetest-0.9.4.ebuild +++ b/games-kids/cubetest/cubetest-0.9.4.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/cubetest-0.9.4.ebuild,v 1.4 2007/02/05 21:24:17 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/cubetest-0.9.4.ebuild,v 1.5 2008/06/10 00:40:13 mr_bones_ Exp $ -inherit qt4 eutils games +EAPI=1 +inherit eutils games DESCRIPTION="A program to train your spatial insight" HOMEPAGE="http://www.vandenoever.info/software/cubetest/" @@ -13,19 +14,19 @@ SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="" -DEPEND="$(qt4_min_version 4)" +DEPEND="x11-libs/qt:4" pkg_setup() { games_pkg_setup - if has_version ">=x11-libs/qt-4.2.2" ; then - if ! built_with_use x11-libs/qt qt3support ; then - eerror "${PN} requires qt3support" - die "rebuild >=x11-libs/qt-4.2.2 with the qt3support USE flag" - fi + if ! built_with_use --missing true "x11-libs/qt:4" qt3support ; then + eerror "${PN} requires qt3support" + die "rebuild x11-libs/qt:4 with the qt3support USE flag" fi } src_unpack() { + local i + unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-build.patch -- cgit v1.2.3-65-gdbad