summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-12-29 20:50:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-12-29 20:50:03 +0000
commit97e414a85c021a5175b0f8633bd02e0eedc07eb4 (patch)
tree682bb89d1d13d47ad55a982210e4a2b745b1c8fe /games-arcade
parentstable x86, bug 298765 (diff)
downloadgentoo-2-97e414a85c021a5175b0f8633bd02e0eedc07eb4.tar.gz
gentoo-2-97e414a85c021a5175b0f8633bd02e0eedc07eb4.tar.bz2
gentoo-2-97e414a85c021a5175b0f8633bd02e0eedc07eb4.zip
add music use flag to control the dep for playing background music (bug #298129)
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/jumpnbump/ChangeLog9
-rw-r--r--games-arcade/jumpnbump/jumpnbump-1.50-r1.ebuild9
-rw-r--r--games-arcade/jumpnbump/metadata.xml3
3 files changed, 15 insertions, 6 deletions
diff --git a/games-arcade/jumpnbump/ChangeLog b/games-arcade/jumpnbump/ChangeLog
index bff704891761..e6186edec879 100644
--- a/games-arcade/jumpnbump/ChangeLog
+++ b/games-arcade/jumpnbump/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/jumpnbump
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/jumpnbump/ChangeLog,v 1.17 2009/04/14 22:32:08 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/jumpnbump/ChangeLog,v 1.18 2009/12/29 20:50:03 mr_bones_ Exp $
+
+ 29 Dec 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ jumpnbump-1.50-r1.ebuild, metadata.xml:
+ add music use flag to control the dep for playing background music (bug
+ #298129)
14 Apr 2009; Tristan Heaven <nyhm@gentoo.org> jumpnbump-1.50-r1.ebuild:
Run eautoreconf after autotools patch, bug #255858
diff --git a/games-arcade/jumpnbump/jumpnbump-1.50-r1.ebuild b/games-arcade/jumpnbump/jumpnbump-1.50-r1.ebuild
index 71e1744f674f..9f88400f135c 100644
--- a/games-arcade/jumpnbump/jumpnbump-1.50-r1.ebuild
+++ b/games-arcade/jumpnbump/jumpnbump-1.50-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/jumpnbump/jumpnbump-1.50-r1.ebuild,v 1.12 2009/11/07 00:19:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/jumpnbump/jumpnbump-1.50-r1.ebuild,v 1.13 2009/12/29 20:50:03 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
@@ -13,12 +13,13 @@ SRC_URI="http://www.jumpbump.mine.nu/port/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE="X fbcon kde svga tk"
+IUSE="X fbcon kde svga tk +music"
DEPEND="X? ( x11-libs/libXext )
kde? ( kde-base/kdialog )
media-libs/sdl-mixer
- media-libs/libsdl
+ music? ( media-libs/sdl-mixer[mikmod] )
+ media-libs/libsdl[audio,joystick,video]
media-libs/sdl-net"
RDEPEND="${DEPEND}
tk? (
@@ -37,7 +38,7 @@ src_prepare() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- # clean up a bit. It leave a dep on Xdialog but ignore that.
+ # clean up a bit. It leaves a dep on Xdialog but ignore that.
use fbcon || rm -f "${D}${GAMES_BINDIR}/jumpnbump.fbcon"
use kde || rm -f "${D}${GAMES_BINDIR}/jumpnbump-kdialog"
use svga || rm -f "${D}${GAMES_BINDIR}/jumpnbump.svgalib"
diff --git a/games-arcade/jumpnbump/metadata.xml b/games-arcade/jumpnbump/metadata.xml
index d3c2cc926f0b..658a1ecd0c6d 100644
--- a/games-arcade/jumpnbump/metadata.xml
+++ b/games-arcade/jumpnbump/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+<use>
+ <flag name="music">Enable playing of background music</flag>
+</use>
</pkgmetadata>