summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-10-02 08:01:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-10-02 08:01:14 +0000
commit03d458f55f697212e46f3e13045a6ebbfcd57bfd (patch)
tree0ae76c6350f6d0cc4887c97917c38fbd78a42546 /games-arcade
parentMask the win32codecs directories from revdep-rebuild. Bug #139166. (diff)
downloadgentoo-2-03d458f55f697212e46f3e13045a6ebbfcd57bfd.tar.gz
gentoo-2-03d458f55f697212e46f3e13045a6ebbfcd57bfd.tar.bz2
gentoo-2-03d458f55f697212e46f3e13045a6ebbfcd57bfd.zip
add freealut dep; fix wrapper (bug #149589)
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/gish-demo/ChangeLog6
-rw-r--r--games-arcade/gish-demo/files/digest-gish-demo-1.0.02
-rwxr-xr-xgames-arcade/gish-demo/files/gish-wrapper1
-rw-r--r--games-arcade/gish-demo/gish-demo-1.0.0.ebuild25
4 files changed, 25 insertions, 9 deletions
diff --git a/games-arcade/gish-demo/ChangeLog b/games-arcade/gish-demo/ChangeLog
index 1bdfded83847..b767bb06ed16 100644
--- a/games-arcade/gish-demo/ChangeLog
+++ b/games-arcade/gish-demo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/gish-demo
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/ChangeLog,v 1.10 2006/09/29 22:02:26 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/ChangeLog,v 1.11 2006/10/02 08:01:14 mr_bones_ Exp $
+
+ 02 Oct 2006; Michael Sterrett <mr_bones_@gentoo.org> files/gish-wrapper,
+ gish-demo-1.0.0.ebuild:
+ add freealut dep; fix wrapper (bug #149589)
29 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org>
gish-demo-1.0.0.ebuild:
diff --git a/games-arcade/gish-demo/files/digest-gish-demo-1.0.0 b/games-arcade/gish-demo/files/digest-gish-demo-1.0.0
index 31c5a2ab20d1..7b93f203a18e 100644
--- a/games-arcade/gish-demo/files/digest-gish-demo-1.0.0
+++ b/games-arcade/gish-demo/files/digest-gish-demo-1.0.0
@@ -1 +1,3 @@
MD5 0dbed978d02733c81e256058b4f295ff gishdemo-1.0.0.tar.gz 13637244
+RMD160 c52fbf33295fe62d7789a62665bc9a55f0b66a23 gishdemo-1.0.0.tar.gz 13637244
+SHA256 b0e985a65e446d06c73a28493faa3714431d5ae49d1ab6dbeea03f1b0eefe8ee gishdemo-1.0.0.tar.gz 13637244
diff --git a/games-arcade/gish-demo/files/gish-wrapper b/games-arcade/gish-demo/files/gish-wrapper
index 691f1ba52118..7f9f4ad53e48 100755
--- a/games-arcade/gish-demo/files/gish-wrapper
+++ b/games-arcade/gish-demo/files/gish-wrapper
@@ -1,3 +1,4 @@
#!/bin/sh
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:."
+export LD_PRELOAD=/usr/lib/libalut.so.0
exec ./gish "$@"
diff --git a/games-arcade/gish-demo/gish-demo-1.0.0.ebuild b/games-arcade/gish-demo/gish-demo-1.0.0.ebuild
index 1ac183bdc5de..268977b36cb5 100644
--- a/games-arcade/gish-demo/gish-demo-1.0.0.ebuild
+++ b/games-arcade/gish-demo/gish-demo-1.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/gish-demo-1.0.0.ebuild,v 1.11 2006/09/29 22:02:26 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/gish-demo/gish-demo-1.0.0.ebuild,v 1.12 2006/10/02 08:01:14 mr_bones_ Exp $
inherit eutils multilib games
@@ -11,11 +11,13 @@ SRC_URI="ftp://demos.garagegames.com/gish/gishdemo-${PV}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* ~amd64 x86"
-RESTRICT="strip"
IUSE=""
+RESTRICT="strip"
+QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/gish-demo/gish"
RDEPEND="media-libs/libsdl
media-libs/openal
+ media-libs/freealut
virtual/opengl
media-libs/libvorbis
amd64? (
@@ -30,19 +32,26 @@ pkg_setup() {
has_multilib_profile && ABI="x86"
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ find . -type f -print0 | xargs -0 chmod a-x
+ chmod a+x gish
+}
+
src_install() {
local dir=${GAMES_PREFIX_OPT}/${PN}
- dodir ${dir} ${GAMES_BINDIR}
+ dodir "${dir}" "${GAMES_BINDIR}"
cp -pPR * "${D}"/${dir}/
- games_make_wrapper gish ./gish-wrapper ${dir}
+ games_make_wrapper gish ./gish-wrapper "${dir}"
# looks like when they built the game they accidently
# linked it against openssl ... lets fake it
- dosym /$(get_libdir)/libc.so.6 ${dir}/libssl.so.4
- dosym /$(get_libdir)/libc.so.6 ${dir}/libcrypto.so.4
- exeinto ${dir}
- doexe ${FILESDIR}/gish-wrapper
+ dosym /$(get_libdir)/libc.so.6 "${dir}"/libssl.so.4
+ dosym /$(get_libdir)/libc.so.6 "${dir}"/libcrypto.so.4
+ exeinto "${dir}"
+ doexe "${FILESDIR}"/gish-wrapper
prepgamesdirs
}