summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/uhexen2/ChangeLog5
-rw-r--r--games-fps/uhexen2/Manifest6
-rw-r--r--games-fps/uhexen2/uhexen2-1.4.3.ebuild73
-rw-r--r--games-fps/uhexen2/uhexen2-1.4.4_pre4.ebuild71
4 files changed, 77 insertions, 78 deletions
diff --git a/games-fps/uhexen2/ChangeLog b/games-fps/uhexen2/ChangeLog
index 52cf98518..6bd838310 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: $
+ 06 May 2009; Christian Ruppert <idl0r@gentoo.org> uhexen2-1.4.3.ebuild,
+ uhexen2-1.4.4_pre4.ebuild:
+ Use src_prepare instead of src_unpack, added missing die statements,
+ replaced some elog calls by einfo.
+
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
diff --git a/games-fps/uhexen2/Manifest b/games-fps/uhexen2/Manifest
index bc9460f56..1dc65a8ce 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 12594 RMD160 282cb8bff6c4126f2b9970c1630b7d91c645db61 SHA1 7eaa6fc233a43ba40356a39dc3506a0ff7571fa4 SHA256 dac3270f24f749257d5bbfc5d3ad3fe6bb45616d757676047e1da420b855391e
-EBUILD uhexen2-1.4.4_pre4.ebuild 12314 RMD160 5235d0078d8c683a1db31086a7130025d48a8fc4 SHA1 1a027c4be68a784cbd350ec38af8c161956b7e3f SHA256 8e3532605dcd04eb22ddee427272c6ce693172b6d59612bbd98fcb0057e1faa5
-MISC ChangeLog 3171 RMD160 f425319880c326acb018aacfed730d03811b4e3e SHA1 edfc9865a833c303d0c9171dab143b6535fbf7e6 SHA256 3a72eed812f54fb5c66cd02707b422985945f732c891aeec28c8dde86de86473
+EBUILD uhexen2-1.4.3.ebuild 12631 RMD160 82c6783da79e74c6b1200ae05da9ab63e06eefae SHA1 6daac68311483a6b50ecb3fac0bf2a029f9dc46f SHA256 6abe1bb68d7be4740f3abf8b9062c6ec97d5699000c248dc1e87b5baad1b88bb
+EBUILD uhexen2-1.4.4_pre4.ebuild 12329 RMD160 98a9e8ae8245ef3c6fa9d68992a5c8ad5128c1f7 SHA1 eb902d6341f0b67ba7ce85177dde36e83a89f5ec SHA256 bcee3c0aabea89d133ea59cefdbc94dbcf33c1d6b928b0b7ca33d752aded16b7
+MISC ChangeLog 3383 RMD160 8ae9ba7284aaaacd761aae07804648d0368b1369 SHA1 b525d2144d3aa7015dd9b25e3adef940100ff9b4 SHA256 16270cac980ad1cc90faf4a59a0c1ed0075f83dc237e93dcf6de99b821719521
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 136f6291e..0ea6634e0 100644
--- a/games-fps/uhexen2/uhexen2-1.4.3.ebuild
+++ b/games-fps/uhexen2/uhexen2-1.4.3.ebuild
@@ -68,10 +68,7 @@ pkg_setup() {
use alsa || ewarn "alsa is the recommended sound driver."
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
cd hexen2
epatch "${S}/00_Patches/external-music-file-support.diff"
cd ..
@@ -361,7 +358,7 @@ src_install() {
head -22 "00_Patches/external-music-file-support.diff" > \
"docs/external_music.README" || die "make readme failed"
- dodoc docs/*
+ dodoc docs/* || die "dodoc failed"
if ! use demo ; then
# Install updated game data
@@ -370,7 +367,7 @@ src_install() {
# Patching should really be done by a future "hexen2-data" ebuild.
# But this works for now.
doins "${WORKDIR}"/update_xdelta.sh || die
- dodoc "${WORKDIR}"/*.txt
+ dodoc "${WORKDIR}"/*.txt || die
fi
if use tools ; then
@@ -400,10 +397,10 @@ pkg_postinst() {
games_pkg_postinst
if use demo ; then
- elog "uhexen2 has been compiled specifically to play the demo maps."
- elog "Example command-line:"
- elog " hexen2-demo -width 1024 -height 768 -conwidth 640"
- echo
+ einfo "uhexen2 has been compiled specifically to play the demo maps."
+ einfo "Example command-line:"
+ einfo " hexen2-demo -width 1024 -height 768 -conwidth 640"
+ einfo
else
elog "To play the demo, emerge with the 'demo' USE flag."
elog
@@ -422,39 +419,39 @@ pkg_postinst() {
elog
elog "Example command-line:"
elog " hexen2 -width 1024 -height 768 -conwidth 640"
- echo
+ einfo
fi
if use gtk ; then
- elog "You've also installed a nice graphical launcher. Simply run:"
- elog
- elog " h2launcher"
- elog
- elog "to enjoy it :)"
- echo
+ einfo "You've also installed a nice graphical launcher. Simply run:"
+ einfo
+ einfo " h2launcher"
+ einfo
+ einfo "to enjoy it :)"
+ einfo
fi
if use tools ; then
if use hexenworld; then
- elog "You've also installed some Hexenworld utility:"
- elog
- elog " - hwmquery (console app to query HW master servers)"
- elog " - hwrcon (remote interface to HW rcon command)"
- elog " - hwterm (HW remote console terminal)"
- echo
+ einfo "You've also installed some Hexenworld utility:"
+ einfo
+ einfo " - hwmquery (console app to query HW master servers)"
+ einfo " - hwrcon (remote interface to HW rcon command)"
+ einfo " - hwterm (HW remote console terminal)"
+ einfo
fi
- elog "You've also installed some Hexen2 utility"
- elog "(useful for mod developing)"
- elog
- elog " - dhcc (old progs.dat compiler/decompiler)"
- elog " - genmodel (3-D model grabber)"
- elog " - hcc (HexenC compiler)"
- elog " - hcc_old (old version of HexenC compiler)"
- elog " - jsh2color (light colouring utility)"
- elog " - maputils (Map compiling tools: bspinfo, light, qbsp, vis)"
- elog " - qfiles (build pak files and regenerate bsp models)"
- elog " - bsp2wal (extract all textures from a bsp file)"
- elog " - lmp2pcx (convert hexen2 texture data into pcx and tga)"
- elog
- elog "See relevant documentation for further informations"
- echo
+ einfo "You've also installed some Hexen2 utility"
+ einfo "(useful for mod developing)"
+ einfo
+ einfo " - dhcc (old progs.dat compiler/decompiler)"
+ einfo " - genmodel (3-D model grabber)"
+ einfo " - hcc (HexenC compiler)"
+ einfo " - hcc_old (old version of HexenC compiler)"
+ einfo " - jsh2color (light colouring utility)"
+ einfo " - maputils (Map compiling tools: bspinfo, light, qbsp, vis)"
+ einfo " - qfiles (build pak files and regenerate bsp models)"
+ einfo " - bsp2wal (extract all textures from a bsp file)"
+ einfo " - lmp2pcx (convert hexen2 texture data into pcx and tga)"
+ einfo
+ einfo "See relevant documentation for further informations"
+ einfo
fi
}
diff --git a/games-fps/uhexen2/uhexen2-1.4.4_pre4.ebuild b/games-fps/uhexen2/uhexen2-1.4.4_pre4.ebuild
index 25ba4d560..e82ac97cf 100644
--- a/games-fps/uhexen2/uhexen2-1.4.4_pre4.ebuild
+++ b/games-fps/uhexen2/uhexen2-1.4.4_pre4.ebuild
@@ -48,10 +48,7 @@ DEPEND="${UIDEPEND}
S="${WORKDIR}/hexen2source-${MY_PV}"
dir="${GAMES_DATADIR}/${MY_PN}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
epatch "${S}/00_Patches/midi_with_sdlaudio-test.diff"
cd hexen2
epatch "${S}/00_Patches/external-music-file-support.diff"
@@ -353,7 +350,7 @@ src_install() {
# Patching should really be done by a future "hexen2-data" ebuild.
# But this works for now.
doins "${WORKDIR}"/update_xdelta.sh || die
- dodoc "${WORKDIR}"/*.txt
+ dodoc "${WORKDIR}"/*.txt || die
fi
if use tools ; then
@@ -383,10 +380,10 @@ pkg_postinst() {
games_pkg_postinst
if use demo ; then
- elog "uhexen2 has been compiled specifically to play the demo maps."
- elog "Example command-line:"
- elog " hexen2-demo -width 1024 -height 768 -conwidth 640"
- echo
+ einfo "uhexen2 has been compiled specifically to play the demo maps."
+ einfo "Example command-line:"
+ einfo " hexen2-demo -width 1024 -height 768 -conwidth 640"
+ einfo
else
elog "To play the demo, emerge with the 'demo' USE flag."
elog
@@ -405,39 +402,39 @@ pkg_postinst() {
elog
elog "Example command-line:"
elog " hexen2 -width 1024 -height 768 -conwidth 640"
- echo
+ einfo
fi
if use gtk ; then
- elog "You've also installed a nice graphical launcher. Simply run:"
- elog
- elog " h2launcher"
- elog
- elog "to enjoy it :)"
- echo
+ einfo "You've also installed a nice graphical launcher. Simply run:"
+ einfo
+ einfo " h2launcher"
+ einfo
+ einfo "to enjoy it :)"
+ einfo
fi
if use tools ; then
if use hexenworld; then
- elog "You've also installed some Hexenworld utility:"
- elog
- elog " - hwmquery (console app to query HW master servers)"
- elog " - hwrcon (remote interface to HW rcon command)"
- elog " - hwterm (HW remote console terminal)"
- echo
+ einfo "You've also installed some Hexenworld utility:"
+ einfo
+ einfo " - hwmquery (console app to query HW master servers)"
+ einfo " - hwrcon (remote interface to HW rcon command)"
+ einfo " - hwterm (HW remote console terminal)"
+ einfo
fi
- elog "You've also installed some Hexen2 utility"
- elog "(useful for mod developing)"
- elog
- elog " - dhcc (old progs.dat compiler/decompiler)"
- elog " - genmodel (3-D model grabber)"
- elog " - hcc (HexenC compiler)"
- elog " - hcc_old (old version of HexenC compiler)"
- elog " - jsh2color (light colouring utility)"
- elog " - maputils (Map compiling tools: bspinfo, light, qbsp, vis)"
- elog " - qfiles (build pak files and regenerate bsp models)"
- elog " - bsp2wal (extract all textures from a bsp file)"
- elog " - lmp2pcx (convert hexen2 texture data into pcx and tga)"
- elog
- elog "See relevant documentation for further informations"
- echo
+ einfo "You've also installed some Hexen2 utility"
+ einfo "(useful for mod developing)"
+ einfo
+ einfo " - dhcc (old progs.dat compiler/decompiler)"
+ einfo " - genmodel (3-D model grabber)"
+ einfo " - hcc (HexenC compiler)"
+ einfo " - hcc_old (old version of HexenC compiler)"
+ einfo " - jsh2color (light colouring utility)"
+ einfo " - maputils (Map compiling tools: bspinfo, light, qbsp, vis)"
+ einfo " - qfiles (build pak files and regenerate bsp models)"
+ einfo " - bsp2wal (extract all textures from a bsp file)"
+ einfo " - lmp2pcx (convert hexen2 texture data into pcx and tga)"
+ einfo
+ einfo "See relevant documentation for further informations"
+ einfo
fi
}