From: Tristan Heaven Date: Wed, 15 Nov 2006 11:44:57 +0000 (+0000) Subject: Add arts USE flag X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8715395cfc5544075f77cb4d1344b8f14cc792a9;p=gentoo.git Add arts USE flag Package-Manager: portage-2.1.2_rc1-r7 --- diff --git a/games-board/ggz-kde-client/ChangeLog b/games-board/ggz-kde-client/ChangeLog index 7cb557a60854..160079073508 100644 --- a/games-board/ggz-kde-client/ChangeLog +++ b/games-board/ggz-kde-client/ChangeLog @@ -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 + ggz-kde-client-0.0.13.ebuild: + Add arts USE flag *ggz-kde-client-0.0.13 (17 Oct 2006) diff --git a/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild b/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild index 267899e8768e..a28b886cc104 100644 --- a/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild +++ b/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild @@ -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" } diff --git a/games-board/ggz-kde-games/ChangeLog b/games-board/ggz-kde-games/ChangeLog index 3957d7aa7b76..e9b234e980e3 100644 --- a/games-board/ggz-kde-games/ChangeLog +++ b/games-board/ggz-kde-games/ChangeLog @@ -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 ggz-kde-games-0.0.13.ebuild: + Add arts USE flag *ggz-kde-games-0.0.13 (17 Oct 2006) diff --git a/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild b/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild index 620776dff21d..3bcd50333d3f 100644 --- a/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild +++ b/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild @@ -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