summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Fortino (nfortino) <nfortino@gmail.com>2009-03-16 20:57:34 +0000
committerNick Fortino (nfortino) <nfortino@gmail.com>2009-03-16 20:57:34 +0000
commitbf6f30f2d6f680043893843f382a2cd57c1ab6c9 (patch)
treef7b321cc98c7b2abb406466b54810d35171f453a
parentapp-emulation/xenman: Update ebuild to use EAPI 2. Thanks to Cristian Ruppert... (diff)
downloadsunrise-bf6f30f2d6f680043893843f382a2cd57c1ab6c9.tar.gz
sunrise-bf6f30f2d6f680043893843f382a2cd57c1ab6c9.tar.bz2
sunrise-bf6f30f2d6f680043893843f382a2cd57c1ab6c9.zip
games-fps/uhexen2-cvs: Update ebuild to use EAPI 2. Thanks to Cristian Ruppert and Thomas Sachau for review
svn path=/sunrise/; revision=8089
-rw-r--r--games-fps/uhexen2-cvs/ChangeLog7
-rw-r--r--games-fps/uhexen2-cvs/Manifest4
-rw-r--r--games-fps/uhexen2-cvs/uhexen2-cvs-20080404.ebuild16
3 files changed, 14 insertions, 13 deletions
diff --git a/games-fps/uhexen2-cvs/ChangeLog b/games-fps/uhexen2-cvs/ChangeLog
index 32bbd4ee7..c552eede9 100644
--- a/games-fps/uhexen2-cvs/ChangeLog
+++ b/games-fps/uhexen2-cvs/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for games-fps/uhexen2-cvs
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Mar 2009; Nick Fortino (nfortino) <nfortino@gmail.com>
+ uhexen2-cvs-20080404.ebuild:
+ Update ebuild to use EAPI 2. Thanks to Cristian Ruppert and Thomas Sachau
+ for review
+
31 Aug 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> metadata.xml:
Add local useflags to metadata.xml (GLEP 56)
diff --git a/games-fps/uhexen2-cvs/Manifest b/games-fps/uhexen2-cvs/Manifest
index 7a2f26848..8fff0eabc 100644
--- a/games-fps/uhexen2-cvs/Manifest
+++ b/games-fps/uhexen2-cvs/Manifest
@@ -1,6 +1,6 @@
DIST gamedata-all-1.19a.tgz 3703488 RMD160 3dad3b4b3aa80fb595749a6768376a245db89c12 SHA1 25ce550057c511b5cc2e4372163c0216eac35fcd SHA256 b9b9561b4155bfe3f8005315a7f8f95a567c2ebbcb2a950ad05dcb1702ac68de
DIST hexenworld-pakfiles-0.15.tgz 4948641 RMD160 bbc3d2368b01d60accf457b42f9ed5d247f94d1b SHA1 a7600b80b4205788b64fb57191e194c28b55b522 SHA256 49462cdf984deee7350d03c7d192d1c34d682647ffc9d06de4308e0a7c71c4d9
DIST uhexen2-cvs-20080404.tgz 6434136 RMD160 9d931a13fc7e4c69d4b4183aacda18a76fcd62e6 SHA1 10716270bc65fed4b7484c60b64e71571b47d337 SHA256 5043b8642823a7493b0ff0f6105e79e475b597f9214769efd005366b0e09a172
-EBUILD uhexen2-cvs-20080404.ebuild 12924 RMD160 9eff55ef8e6c21992816237ac5dd1e1a2738de74 SHA1 94eff6d620d3a1643b5c825558307803934d9005 SHA256 95e35ebb89989b122640146e265da0f4b928e58d23ba331b3885bc9f6f8b7a5b
-MISC ChangeLog 9365 RMD160 7ab9e9bc53602a5d58bbc49c5337b0a812e49490 SHA1 90c8b37502d881b6dc79727246191a1006e6c0e4 SHA256 1226b1443101ae18ec897a2aaba4bb2fe8e095a30a4ed5e5726dc932021457dc
+EBUILD uhexen2-cvs-20080404.ebuild 12703 RMD160 6661478561a2c7a12fa4ef30e312add2c9965f48 SHA1 57a206a71e3fdbd7311eb3070477514d30b65273 SHA256 6a765f00aac12c8b33f033be50f4f21b4ea757df4d9a6ee5829777eb121ad711
+MISC ChangeLog 9546 RMD160 051598c9255eeacc05a45094911da457f6af4c0d SHA1 d7fb0fbee821a27cbbf0ae2a5ee9f6dc989dc7fe SHA256 426b22da48b18a6a88ed32712bb1ffdf5dc950d5c528e95a12d9afaf5bbe86ba
MISC metadata.xml 1130 RMD160 a17879b273ebaa4a40d2e28983bc3d879115f63f SHA1 9dd1f9419117a5ef3926d76cabf2acac531ebff4 SHA256 8ac87921b75770f551178a0a713eb32ae84c78248c10f8d43f360d09e31a8078
diff --git a/games-fps/uhexen2-cvs/uhexen2-cvs-20080404.ebuild b/games-fps/uhexen2-cvs/uhexen2-cvs-20080404.ebuild
index b8949ada6..2f448f97d 100644
--- a/games-fps/uhexen2-cvs/uhexen2-cvs-20080404.ebuild
+++ b/games-fps/uhexen2-cvs/uhexen2-cvs-20080404.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
inherit eutils flag-o-matic toolchain-funcs versionator games
DATA_PV="1.19a"
@@ -31,10 +33,10 @@ QA_EXECSTACK="${GAMES_BINDIR:1}/hexen2
${GAMES_BINDIR:1}/glhwcl-demo"
UIDEPEND=">=media-libs/libsdl-1.2.7
- >=media-libs/sdl-mixer-1.2.5
3dfx? ( media-libs/glide-v3 )
alsa? ( >=media-libs/alsa-lib-1.0.7 )
- midi? ( media-sound/timidity++ )
+ midi? ( >=media-libs/sdl-mixer-1.2.5[timidity] )
+ !midi? ( >=media-libs/sdl-mixer-1.2.5 )
opengl? ( virtual/opengl )"
# Launcher depends from GTK+ libs
@@ -57,13 +59,7 @@ dir="${GAMES_DATADIR}/${MY_PN}"
pkg_setup() {
games_pkg_setup
- if use midi ; then
- if ! built_with_use "media-libs/sdl-mixer" timidity ; then
- eerror "Recompile media-libs/sdl-mixer with 'timidity' USE flag."
- die "sdl-mixer without timidity support detected"
- fi
- use sdlaudio && ewarn "MIDI music does not work with sdlaudio."
- else
+ if ! use midi ; then
ewarn "MIDI support disabled! MIDI music won't be played at all."
ewarn "If you want to hear it, recompile this package"
ewarn "with \"midi\" USE flag enabled."