summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Fortino (nfortino) <nfortino@gmail.com>2009-03-16 20:57:49 +0000
committerNick Fortino (nfortino) <nfortino@gmail.com>2009-03-16 20:57:49 +0000
commit2db2940f7a221e9fcc71bb1d60479c7bb12d43c7 (patch)
treeb6dccb5742be275dc1cfb218e51fd2843e459b3b
parentgames-fps/uhexen2-cvs: Update ebuild to use EAPI 2. Thanks to Cristian Rupper... (diff)
downloadsunrise-2db2940f7a221e9fcc71bb1d60479c7bb12d43c7.tar.gz
sunrise-2db2940f7a221e9fcc71bb1d60479c7bb12d43c7.tar.bz2
sunrise-2db2940f7a221e9fcc71bb1d60479c7bb12d43c7.zip
games-fps/uhexen2: Update ebuild to use EAPI 2. Thanks to Cristian Ruppert and Thomas Sachau for review
svn path=/sunrise/; revision=8090
-rw-r--r--games-fps/uhexen2/ChangeLog5
-rw-r--r--games-fps/uhexen2/Manifest4
-rw-r--r--games-fps/uhexen2/uhexen2-1.4.3.ebuild16
3 files changed, 13 insertions, 12 deletions
diff --git a/games-fps/uhexen2/ChangeLog b/games-fps/uhexen2/ChangeLog
index ef0553a64..52cf98518 100644
--- a/games-fps/uhexen2/ChangeLog
+++ b/games-fps/uhexen2/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Mar 2009; Nick Fortino (nfortino) <nfortino@gmail.com>
+ uhexen2-1.4.3.ebuild:
+ Update ebuild to use EAPI 2. Thanks to Cristian Ruppert and Thomas Sachau
+ for review
+
20 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
uhexen2-1.4.4_pre4.ebuild:
Drop default pkg_config and add die statement
diff --git a/games-fps/uhexen2/Manifest b/games-fps/uhexen2/Manifest
index b2fd5264a..bc9460f56 100644
--- a/games-fps/uhexen2/Manifest
+++ b/games-fps/uhexen2/Manifest
@@ -2,7 +2,7 @@ DIST gamedata-all-1.19a.tgz 3703488 RMD160 3dad3b4b3aa80fb595749a6768376a245db89
DIST hexen2source-1.4.3.tgz 2173736 RMD160 fd60113c5a6e6406ae21fdc13fa1704103f9ec4a SHA1 152da07cbd14bdaf33d1878851049c66db657363 SHA256 bbb9ffb5380b57be7dd7fecbbd9bba71846f2f17d5614b670e1df13710f7af0d
DIST hexen2source-1.4.4-pre4.tgz 2327143 RMD160 4f56fcf2f1cac59689e5fad8d7b0d5507ed68f42 SHA1 7b4a177579acde8888f181dcd4e3b855c2d04eac SHA256 10ec0c18b2ac36e2e2bc336ef7ec0f8c2f1acbd3df39687ac079f10f4b23f3ee
DIST hexenworld-pakfiles-0.15.tgz 4948641 RMD160 bbc3d2368b01d60accf457b42f9ed5d247f94d1b SHA1 a7600b80b4205788b64fb57191e194c28b55b522 SHA256 49462cdf984deee7350d03c7d192d1c34d682647ffc9d06de4308e0a7c71c4d9
-EBUILD uhexen2-1.4.3.ebuild 12815 RMD160 179002c8860860cad875553a5a45612477ae0fa2 SHA1 c7c8be31f46a06f28bc00babad853c794016dd03 SHA256 768deb1e3c618f3e4ecf09f06871464f273a64afbf919970fd700e49289e1ba9
+EBUILD uhexen2-1.4.3.ebuild 12594 RMD160 282cb8bff6c4126f2b9970c1630b7d91c645db61 SHA1 7eaa6fc233a43ba40356a39dc3506a0ff7571fa4 SHA256 dac3270f24f749257d5bbfc5d3ad3fe6bb45616d757676047e1da420b855391e
EBUILD uhexen2-1.4.4_pre4.ebuild 12314 RMD160 5235d0078d8c683a1db31086a7130025d48a8fc4 SHA1 1a027c4be68a784cbd350ec38af8c161956b7e3f SHA256 8e3532605dcd04eb22ddee427272c6ce693172b6d59612bbd98fcb0057e1faa5
-MISC ChangeLog 2997 RMD160 abf0bb1a742eb04b459e35eeda79f517195a29bf SHA1 745b4d24340da29752b9d5301e0826282674aa9e SHA256 f2ead0f894029a08ef78cc8edacbb42e2394d12f1a747bdeab5918ae3460e778
+MISC ChangeLog 3171 RMD160 f425319880c326acb018aacfed730d03811b4e3e SHA1 edfc9865a833c303d0c9171dab143b6535fbf7e6 SHA256 3a72eed812f54fb5c66cd02707b422985945f732c891aeec28c8dde86de86473
MISC metadata.xml 1145 RMD160 de493008e9d152ce14f697a699c76c2b26a27f0f SHA1 141679fce22f9ade0526683fd3f0c9a3d45affb6 SHA256 21538f19a45e5c7aa5de068e825448a82c41da477576529d2b7bda8b672a761c
diff --git a/games-fps/uhexen2/uhexen2-1.4.3.ebuild b/games-fps/uhexen2/uhexen2-1.4.3.ebuild
index c16f09b0d..136f6291e 100644
--- a/games-fps/uhexen2/uhexen2-1.4.3.ebuild
+++ b/games-fps/uhexen2/uhexen2-1.4.3.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 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."