Add arts USE flag
authorTristan Heaven <tristan@gentoo.org>
Wed, 15 Nov 2006 11:44:57 +0000 (11:44 +0000)
committerTristan Heaven <tristan@gentoo.org>
Wed, 15 Nov 2006 11:44:57 +0000 (11:44 +0000)
Package-Manager: portage-2.1.2_rc1-r7

games-board/ggz-kde-client/ChangeLog
games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild
games-board/ggz-kde-games/ChangeLog
games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild

index 7cb557a60854b558da33105bc7a9f83023c9163e..160079073508b9c681dfb70ec5b717ff7da4ece6 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-board/ggz-kde-client
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ChangeLog,v 1.5 2006/10/17 00:26:16 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ChangeLog,v 1.6 2006/11/15 11:43:12 nyhm Exp $
+
+  15 Nov 2006; Tristan Heaven <nyhm@gentoo.org>
+  ggz-kde-client-0.0.13.ebuild:
+  Add arts USE flag
 
 *ggz-kde-client-0.0.13 (17 Oct 2006)
 
index 267899e8768eea704bfc158dd016c52e6254b40c..a28b886cc1049dc357186f6136d75c4fb34221be 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild,v 1.2 2006/10/17 01:04:44 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild,v 1.3 2006/11/15 11:43:12 nyhm Exp $
 
 inherit eutils kde-functions multilib games
 
@@ -12,10 +12,11 @@ SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~ppc ~x86"
-IUSE=""
+IUSE="arts"
 RESTRICT="userpriv"
 
-DEPEND="~dev-games/ggz-client-libs-${PV}"
+DEPEND="~dev-games/ggz-client-libs-${PV}
+       arts? ( kde-base/arts )"
 
 need-kde 3
 
@@ -36,6 +37,7 @@ src_compile() {
                --libdir=/usr/$(get_libdir) \
                --datadir=/usr/share \
                --disable-debug \
+               $(use_with arts) \
                || die
        emake || die "emake failed"
 }
index 3957d7aa7b76fc2ccdc6542c93803450c2e1a4eb..e9b234e980e3fd74a0c5b842f635613371244130 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-board/ggz-kde-games
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ChangeLog,v 1.5 2006/10/17 01:00:02 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ChangeLog,v 1.6 2006/11/15 11:44:57 nyhm Exp $
+
+  15 Nov 2006; Tristan Heaven <nyhm@gentoo.org> ggz-kde-games-0.0.13.ebuild:
+  Add arts USE flag
 
 *ggz-kde-games-0.0.13 (17 Oct 2006)
 
index 620776dff21d08420bca2e4724c714d5b00404df..3bcd50333d3f08eada9af05f4f6a057ebd74a267 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild,v 1.1 2006/10/17 01:00:02 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild,v 1.2 2006/11/15 11:44:57 nyhm Exp $
 
 inherit kde-functions games
 
@@ -12,10 +12,11 @@ SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~ppc ~x86"
-IUSE=""
+IUSE="arts"
 RESTRICT="userpriv"
 
-DEPEND="~games-board/ggz-kde-client-${PV}"
+DEPEND="~games-board/ggz-kde-client-${PV}
+       arts? ( kde-base/arts )"
 
 src_unpack() {
        unpack ${A}
@@ -29,12 +30,13 @@ src_compile() {
        egamesconf \
                --disable-dependency-tracking \
                --datadir=/usr/share \
+               $(use_with arts) \
                || die
        emake || die "emake failed"
 }
 
 src_install() {
-       if [[ -f "${ROOT}/${GAMES_SYSCONFDIR}"/ggz/ggz.modules ]] ; then
+       if [[ -f ${ROOT}/${GAMES_SYSCONFDIR}/ggz/ggz.modules ]] ; then
                dodir "${GAMES_SYSCONFDIR}"/ggz
                cp {"${ROOT}","${D}"}/"${GAMES_SYSCONFDIR}"/ggz/ggz.modules
        fi