summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-11-05 18:16:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-11-05 18:16:42 +0000
commit23485e389bec9a079d7c0e987a80c0c11b4334ab (patch)
treeb4233873241be3673d64ca30d07818e9f12e5437 /games-arcade/ultrastar-ng
parentppc stable, bug #196480 (diff)
downloadgentoo-2-23485e389bec9a079d7c0e987a80c0c11b4334ab.tar.gz
gentoo-2-23485e389bec9a079d7c0e987a80c0c11b4334ab.tar.bz2
gentoo-2-23485e389bec9a079d7c0e987a80c0c11b4334ab.zip
version bump - bug #197876
(Portage version: 2.1.3.16)
Diffstat (limited to 'games-arcade/ultrastar-ng')
-rw-r--r--games-arcade/ultrastar-ng/ChangeLog8
-rw-r--r--games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.13
-rw-r--r--games-arcade/ultrastar-ng/ultrastar-ng-0.2.1.ebuild83
3 files changed, 93 insertions, 1 deletions
diff --git a/games-arcade/ultrastar-ng/ChangeLog b/games-arcade/ultrastar-ng/ChangeLog
index e02137955291..1912313e9c43 100644
--- a/games-arcade/ultrastar-ng/ChangeLog
+++ b/games-arcade/ultrastar-ng/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/ultrastar-ng
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.2 2007/11/02 19:39:37 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.3 2007/11/05 18:16:41 mr_bones_ Exp $
+
+*ultrastar-ng-0.2.1 (05 Nov 2007)
+
+ 05 Nov 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +ultrastar-ng-0.2.1.ebuild:
+ version bump - bug #197876
*ultrastar-ng-0.2.0 (02 Nov 2007)
diff --git a/games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.1 b/games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.1
new file mode 100644
index 000000000000..2b9d255c7fb1
--- /dev/null
+++ b/games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.1
@@ -0,0 +1,3 @@
+MD5 8df1c7ca15f23e215f4741e3a468dd1e UltraStar-ng-0.2.1.tar.gz 1687366
+RMD160 6ab305e67eabda09951a0e459798c7a66e11d801 UltraStar-ng-0.2.1.tar.gz 1687366
+SHA256 a93daad488c07217512fbf6a2f5ded39cf71664736dd3a33a725241838554d6d UltraStar-ng-0.2.1.tar.gz 1687366
diff --git a/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1.ebuild b/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1.ebuild
new file mode 100644
index 000000000000..4b68f15130e9
--- /dev/null
+++ b/games-arcade/ultrastar-ng/ultrastar-ng-0.2.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils games
+
+MY_PN=UltraStar-ng
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="SingStar GPL clone"
+HOMEPAGE="http://sourceforge.net/projects/ultrastar-ng/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="novideo opengl xine debug alsa gstreamer portaudio"
+
+RDEPEND="gnome-base/librsvg
+ dev-libs/boost
+ x11-libs/pango
+ media-libs/sdl-image
+ media-libs/sdl-gfx
+ xine? ( media-libs/xine-lib )
+ !xine? ( media-libs/gstreamer )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ )
+ alsa? ( media-libs/alsa-lib )
+ portaudio? ( media-libs/portaudio )
+ gstreamer? ( >=media-libs/gstreamer-0.10 )
+ !novideo? ( 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
+ if ! built_with_use dev-libs/boost threads ; then
+ eerror "Please emerge dev-libs/boost with USE=threads"
+ fi
+}
+
+src_compile() {
+ local myconf
+
+ if use novideo; then
+ myconf="--with-video=disable"
+ else
+ myconf="--with-video=smpeg"
+ fi
+ if use opengl; then
+ myconf="$myconf --with-graphic-driver=opengl"
+ else
+ myconf="$myconf --with-graphic-driver=sdl"
+ fi
+ if use xine; then
+ myconf="$myconf --with-audio=xine"
+ else
+ myconf="$myconf --with-audio=gstreamer"
+ fi
+
+ egamesconf \
+ ${myconf} \
+ $(use_enable debug) \
+ $(use_enable portaudio record-portaudio) \
+ $(use_enable gstreamer record-gst) \
+ $(use_enable alsa record-alsa) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ keepdir "${GAMES_DATADIR}"/${PN}/songs
+ mv "${D}${GAMES_DATADIR}"/{applications,pixmaps} "${D}"/usr/share/
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}