summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-08 21:56:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-08 21:56:40 +0000
commitd104bf966177be3eb740dbd7c62cb20f592ac673 (patch)
tree4a6761cc7d1ad25c076d624bc1718f82935de43a /games-rpg
parentFix dependency on tuxonice-userui-0.7.2 for TOI 3.0-rc7 based kernels. (diff)
downloadhistorical-d104bf966177be3eb740dbd7c62cb20f592ac673.tar.gz
historical-d104bf966177be3eb740dbd7c62cb20f592ac673.tar.bz2
historical-d104bf966177be3eb740dbd7c62cb20f592ac673.zip
EAPI=2; add use-based dep for media-libs/sdl-mixer
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/xu4/ChangeLog7
-rw-r--r--games-rpg/xu4/Manifest4
-rw-r--r--games-rpg/xu4/xu4-0.9.ebuild20
3 files changed, 14 insertions, 17 deletions
diff --git a/games-rpg/xu4/ChangeLog b/games-rpg/xu4/ChangeLog
index 15be8ab6be74..04e46554fa45 100644
--- a/games-rpg/xu4/ChangeLog
+++ b/games-rpg/xu4/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/xu4
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/xu4/ChangeLog,v 1.5 2006/12/21 23:29:29 tupone Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/xu4/ChangeLog,v 1.6 2009/01/08 21:56:40 mr_bones_ Exp $
+
+ 08 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> xu4-0.9.ebuild:
+ EAPI=2; add use-based dep for media-libs/sdl-mixer
21 Dec 2006; <tupone@gentoo.org> xu4-0.9.ebuild:
Detect timidity enabled sdl-mixer. Fix bug #68259 by Marc Benstein
diff --git a/games-rpg/xu4/Manifest b/games-rpg/xu4/Manifest
index 413eb11ca2ea..39363798ec08 100644
--- a/games-rpg/xu4/Manifest
+++ b/games-rpg/xu4/Manifest
@@ -2,6 +2,6 @@ AUX 0.9-savegame.patch 1861 RMD160 8246605a0dcf36769d6e4c4c0356a38d21f95728 SHA1
DIST u4upgrad.zip 632072 RMD160 863f4626089ad511a1b4dc60f9115c5f8a5b6a70 SHA1 052fb6ef53a689576d7a8148acb3380e859504d2 SHA256 400ac37311f3be74c1b2d7836561b2ead2b146f5162586865b0f4881225cca58
DIST ultima4-1.01.zip 537487 RMD160 9711d2b1041d7d5577fed09d5271bcdeab9f1fdc SHA1 e8b633cefb107caaf618171652c92684261b54c2 SHA256 ec84ef08e9e38156622300065aa62260276fc8f1c1ff2774f7916e7c10db40dc
DIST xu4-0.9.tar.gz 320090 RMD160 2129a2bd7e8789ffa901082c248957335b1e5e9d SHA1 6103c3903aeb771da946af5dfac6d83549de6f01 SHA256 26d7a957411e98474d3a06a0bf63a683208d3c35c0cf7afe90db992a934b0bf3
-EBUILD xu4-0.9.ebuild 1997 RMD160 568f8346ba7e6eabc2c0c3b79ad80f084e71d138 SHA1 f42e130a8e22e15498eadc8fbe91b65389c8f19c SHA256 3e8ae41191120fc7ed373384d2975c4f608c142011973d2c137c4a62c09fc6cd
-MISC ChangeLog 670 RMD160 a27eda02a0903fdf66a75ec79d6f49e419c4899d SHA1 71ebfda1eec31b50fdf928c102c92e0854a047c3 SHA256 b708c21b1cdf273ede3872a376e9f8c5af576ee29c3107d0d903dd18cb6787b5
+EBUILD xu4-0.9.ebuild 1807 RMD160 e07af0f7ad4d8c5f8c44b83494a2e2d25a8bf8ff SHA1 1e6e44eb94e2f1e46891a01ae26fff0215cd3984 SHA256 44238404d265cee8ccd422fae16462b8f95948b70d63e28d8196c0f8c1950e60
+MISC ChangeLog 798 RMD160 387a63498a9869d5f99b5829adb4039b99282c72 SHA1 e9e4a295bca505e6da5ac3e5dc0eeac28ea2b180 SHA256 83ec01c11b23178e63936c7717087fda186807a9633b397f367830f8d2cd305b
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-rpg/xu4/xu4-0.9.ebuild b/games-rpg/xu4/xu4-0.9.ebuild
index 1f9bbd13005a..007f14db36de 100644
--- a/games-rpg/xu4/xu4-0.9.ebuild
+++ b/games-rpg/xu4/xu4-0.9.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/xu4/xu4-0.9.ebuild,v 1.7 2007/10/30 06:59:17 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/xu4/xu4-0.9.ebuild,v 1.8 2009/01/08 21:56:40 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="A remake of the computer game Ultima IV"
@@ -12,25 +13,17 @@ SRC_URI="mirror://sourceforge/xu4/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc ~amd64"
+KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="dev-libs/libxml2
- media-libs/sdl-mixer
+ media-libs/sdl-mixer[timidity]
media-libs/libsdl"
DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}/u4
-pkg_setup() {
- if ! built_with_use media-libs/sdl-mixer timidity ; then
- eerror "${PN} needs sdl-mixer compiled with timidity use-flag enabled!"
- die "sdl-mixer without timidity detected"
- fi
- games_pkg_setup
-}
-
src_unpack() {
# xu4 will read the data files right out of the zip files
# but we want the docs from the original.
@@ -42,7 +35,8 @@ src_unpack() {
mkdir u4-dos
cd u4-dos
unzip -q ../ultima4.zip || die "unzip failed"
- cd "${S}"
+}
+src_prepare() {
epatch "${FILESDIR}/${PV}-savegame.patch"
sed -i \
-e "s:/usr/local/lib/u4:$(games_get_libdir)/u4:" src/u4file.c \