From 7b6b2f1a5bd8d40346af26c9180780f8d7c3d9e1 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 2 Nov 2007 19:39:38 +0000 Subject: version bump - ebuild patch from Vincent via bug #197876 (Portage version: 2.1.3.16) --- games-arcade/ultrastar-ng/ChangeLog | 8 ++- .../ultrastar-ng/files/digest-ultrastar-ng-0.2.0 | 3 + .../ultrastar-ng/ultrastar-ng-0.2.0.ebuild | 81 ++++++++++++++++++++++ 3 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.0 create mode 100644 games-arcade/ultrastar-ng/ultrastar-ng-0.2.0.ebuild (limited to 'games-arcade/ultrastar-ng') diff --git a/games-arcade/ultrastar-ng/ChangeLog b/games-arcade/ultrastar-ng/ChangeLog index e47eb7732ef1..e02137955291 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.1 2007/07/06 20:58:10 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/ultrastar-ng/ChangeLog,v 1.2 2007/11/02 19:39:37 mr_bones_ Exp $ + +*ultrastar-ng-0.2.0 (02 Nov 2007) + + 02 Nov 2007; Michael Sterrett + +ultrastar-ng-0.2.0.ebuild: + version bump - ebuild patch from Vincent via bug #197876 *ultrastar-ng-0.1.4 (06 Jul 2007) diff --git a/games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.0 b/games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.0 new file mode 100644 index 000000000000..6d9fdd7fea31 --- /dev/null +++ b/games-arcade/ultrastar-ng/files/digest-ultrastar-ng-0.2.0 @@ -0,0 +1,3 @@ +MD5 e39c8e8eacfe3385fb104cfecfa8f1e3 UltraStar-ng-0.2.0.tar.gz 1684307 +RMD160 c4c8fdb3dbbbc9cc6bc4d50ee8e4c69abd8ce48d UltraStar-ng-0.2.0.tar.gz 1684307 +SHA256 af503f19c211be368df7e061e60a3d749d0da3b185df51a495c04fb4d2313050 UltraStar-ng-0.2.0.tar.gz 1684307 diff --git a/games-arcade/ultrastar-ng/ultrastar-ng-0.2.0.ebuild b/games-arcade/ultrastar-ng/ultrastar-ng-0.2.0.ebuild new file mode 100644 index 000000000000..e452b685a074 --- /dev/null +++ b/games-arcade/ultrastar-ng/ultrastar-ng-0.2.0.ebuild @@ -0,0 +1,81 @@ +# 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 +} + +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 +} -- cgit v1.2.3-65-gdbad