summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-02-09 18:38:01 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-02-09 18:38:01 +0000
commit8dc6870b9958395262bffc07a9bd7787278402a3 (patch)
tree420081e59e01d27bdcca7642fd0f5c6bd63bcbb2 /games-arcade/ultrastar-ng
parentpackage no longer includes resizefs man page, so drop `rm` (diff)
downloadgentoo-2-8dc6870b9958395262bffc07a9bd7787278402a3.tar.gz
gentoo-2-8dc6870b9958395262bffc07a9bd7787278402a3.tar.bz2
gentoo-2-8dc6870b9958395262bffc07a9bd7787278402a3.zip
EAPI=2; use-based deps; songs version bump
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-arcade/ultrastar-ng')
-rw-r--r--games-arcade/ultrastar-ng/ChangeLog8
-rw-r--r--games-arcade/ultrastar-ng/metadata.xml4
-rw-r--r--games-arcade/ultrastar-ng/ultrastar-ng-0.2.1-r1.ebuild33
3 files changed, 21 insertions, 24 deletions
diff --git a/games-arcade/ultrastar-ng/ChangeLog b/games-arcade/ultrastar-ng/ChangeLog
index 32df12020383..d0711a8a7992 100644
--- a/games-arcade/ultrastar-ng/ChangeLog
+++ b/games-arcade/ultrastar-ng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/ultrastar-ng
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.5 2008/02/09 21:43:14 mr_bones_ Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.6 2009/02/09 18:38:01 mr_bones_ Exp $
+
+ 09 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> metadata.xml,
+ ultrastar-ng-0.2.1-r1.ebuild:
+ EAPI=2; use-based deps; songs version bump
09 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
-ultrastar-ng-0.1.4.ebuild, -ultrastar-ng-0.2.1.ebuild,
diff --git a/games-arcade/ultrastar-ng/metadata.xml b/games-arcade/ultrastar-ng/metadata.xml
index e9131ecb6160..3471d6abf080 100644
--- a/games-arcade/ultrastar-ng/metadata.xml
+++ b/games-arcade/ultrastar-ng/metadata.xml
@@ -6,7 +6,7 @@
UltraStar-ng : The free Linux karaoke game
</longdescription>
<use>
- <flag name="novideo">Disable smpeg video support</flag>
- <flag name="songs">Build with few demo songs</flag>
+ <flag name="video">Enable smpeg video support</flag>
+ <flag name="songs">Install a few demo songs</flag>
</use>
</pkgmetadata>
diff --git a/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1-r1.ebuild b/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1-r1.ebuild
index 5abc53ff4f96..a5cab825822b 100644
--- a/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1-r1.ebuild
+++ b/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1-r1.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1-r1.ebuild,v 1.5 2008/02/09 21:43:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1-r1.ebuild,v 1.6 2009/02/09 18:38:01 mr_bones_ Exp $
+EAPI=2
inherit eutils games
MY_PN=UltraStar-ng
MY_P=${MY_PN}-${PV}
SONGS_PN=ultrastar-songs
-SONGS_P=${SONGS_PN}-1
+SONGS_P=${SONGS_PN}-2
DESCRIPTION="SingStar GPL clone"
HOMEPAGE="http://sourceforge.net/projects/ultrastar-ng/"
@@ -21,12 +22,13 @@ LICENSE="GPL-2
)"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="novideo opengl xine debug alsa gstreamer portaudio songs"
+IUSE="+video opengl xine debug alsa gstreamer portaudio +songs"
RDEPEND="gnome-base/librsvg
>=dev-libs/boost-1.34
x11-libs/pango
- media-libs/sdl-image
+ media-libs/libsdl[opengl?]
+ media-libs/sdl-image[jpeg,png]
media-libs/sdl-gfx
xine? ( media-libs/xine-lib )
!xine? ( media-libs/gstreamer )
@@ -37,26 +39,19 @@ RDEPEND="gnome-base/librsvg
alsa? ( media-libs/alsa-lib )
portaudio? ( media-libs/portaudio )
gstreamer? ( >=media-libs/gstreamer-0.10 )
- !novideo? ( media-libs/smpeg )"
+ video? ( media-libs/smpeg )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/${MY_P}
-pkg_setup() {
- games_pkg_setup
- if use opengl && ! built_with_use media-libs/libsdl opengl ; then
- eerror "opengl flag set, but libsdl wasn't build with opengl support"
- fi
-}
-
-src_compile() {
+src_configure() {
local myconf
- if use novideo; then
- myconf="--with-video=disable"
- else
+ if use video; then
myconf="--with-video=smpeg"
+ else
+ myconf="--with-video=disable"
fi
if use opengl; then
myconf="$myconf --with-graphic-driver=opengl"
@@ -74,9 +69,7 @@ src_compile() {
$(use_enable debug) \
$(use_enable portaudio record-portaudio) \
$(use_enable gstreamer record-gst) \
- $(use_enable alsa record-alsa) \
- || die
- emake || die "emake failed"
+ $(use_enable alsa record-alsa)
}
src_install() {