diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-03-21 19:16:07 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-03-21 19:16:07 +0000 |
commit | 5d69ab51fd28961fd43b7e7646768b5a6dcbcb25 (patch) | |
tree | 5323292fcb46269f7dbbafe5a15ee399ad74675e /Lua/dists/gentoo/ultrastardx-9999.ebuild | |
parent | 220ae11b40e104d09e2c1ac08203c2a631294d99 (diff) | |
download | usdx-5d69ab51fd28961fd43b7e7646768b5a6dcbcb25.tar.gz usdx-5d69ab51fd28961fd43b7e7646768b5a6dcbcb25.tar.xz usdx-5d69ab51fd28961fd43b7e7646768b5a6dcbcb25.zip |
lua stuff moved to experimental folder
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1642 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua/dists/gentoo/ultrastardx-9999.ebuild')
-rw-r--r-- | Lua/dists/gentoo/ultrastardx-9999.ebuild | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/Lua/dists/gentoo/ultrastardx-9999.ebuild b/Lua/dists/gentoo/ultrastardx-9999.ebuild new file mode 100644 index 00000000..7b092919 --- /dev/null +++ b/Lua/dists/gentoo/ultrastardx-9999.ebuild @@ -0,0 +1,74 @@ +# 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/freetype + 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 +} |