From 4b4340e8a7aa3c0fbd758fd6f0ca0287bbc397af Mon Sep 17 00:00:00 2001 From: tobigun Date: Tue, 9 Sep 2008 14:47:34 +0000 Subject: Gentoo live ebuild and 1.1_alpha ebuild added for testing git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1354 b956fd51-792f-4845-bead-9b4dfca2ff2c --- dists/gentoo/ultrastardx-9999.ebuild | 73 ++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 dists/gentoo/ultrastardx-9999.ebuild (limited to 'dists/gentoo/ultrastardx-9999.ebuild') diff --git a/dists/gentoo/ultrastardx-9999.ebuild b/dists/gentoo/ultrastardx-9999.ebuild new file mode 100644 index 00000000..1048c404 --- /dev/null +++ b/dists/gentoo/ultrastardx-9999.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +inherit subversion eutils games + +SONGS_PKG=USDX-SongPackage +SONGS_VER=01 + +DESCRIPTION="An open-source karaoke game" +HOMEPAGE="http://www.ultrastardeluxe.org/" +ESVN_REPO_URI="https://ultrastardx.svn.sourceforge.net/svnroot/ultrastardx/trunk" +ESVN_PROJECT="ultrastardx" +SRC_URI="songs? ( mirror://sourceforge/${PN}/${SONGS_PKG}-${SONGS_VER}.zip )" + +LICENSE="GPL-2 + songs? ( + CCPL-Attribution-ShareAlike-NonCommercial-2.5 + CCPL-Attribution-NonCommercial-NoDerivs-2.5 + )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="projectm debug songs" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/libsdl + media-libs/sdl-image + media-libs/libpng + =media-libs/portaudio-19* + media-video/ffmpeg + dev-db/sqlite + projectm? ( media-libs/libprojectm )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-lang/fpc-2.2.0" + +S=${WORKDIR}/${P}-src + +pkg_setup() { + games_pkg_setup + built_with_use media-libs/libsdl opengl \ + || die "You need to compile media-libs/libsdl with USE=opengl." +} + +src_unpack() { + unpack ${A} + subversion_src_unpack +} + +src_compile() { + egamesconf \ + $(use_with projectm libprojectM) \ + $(use_enable debug) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + if use songs; then + insinto "${GAMES_DATADIR}"/${PN}/songs + doins -r ${WORKDIR}/Songs/* || die "doins songs failed" + fi + + dodoc AUTHORS.txt ChangeLog.german.txt ChangeLog.txt README.txt + + doicon icons/${PN}-icon.svg + make_desktop_entry ${PN} "UltraStar Deluxe" + + prepgamesdirs +} -- cgit v1.2.3 From 35e0da31ee1a60cdf8b7a1ed09398e8a730341e2 Mon Sep 17 00:00:00 2001 From: tobigun Date: Sat, 25 Oct 2008 18:36:12 +0000 Subject: configure and package description update: - SDL_TTF replaced by freetype - swscale added to debian control file git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1475 b956fd51-792f-4845-bead-9b4dfca2ff2c --- dists/gentoo/ultrastardx-9999.ebuild | 1 + 1 file changed, 1 insertion(+) (limited to 'dists/gentoo/ultrastardx-9999.ebuild') diff --git a/dists/gentoo/ultrastardx-9999.ebuild b/dists/gentoo/ultrastardx-9999.ebuild index 1048c404..7b092919 100644 --- a/dists/gentoo/ultrastardx-9999.ebuild +++ b/dists/gentoo/ultrastardx-9999.ebuild @@ -26,6 +26,7 @@ RDEPEND="virtual/opengl virtual/glu media-libs/libsdl media-libs/sdl-image + media-libs/freetype media-libs/libpng =media-libs/portaudio-19* media-video/ffmpeg -- cgit v1.2.3