diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-05-12 13:35:58 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-05-12 13:35:58 +0000 |
commit | 9784ac8d65947b781173b9ab50b44d84e88996f9 (patch) | |
tree | 9a4dcb1e6f8abb84105299677477e74961cc6c7b /games-simulation/bcs-demo | |
parent | new gnat.eclass - libs are making use of split gnat-xxx compilers now (diff) | |
download | historical-9784ac8d65947b781173b9ab50b44d84e88996f9.tar.gz historical-9784ac8d65947b781173b9ab50b44d84e88996f9.tar.bz2 historical-9784ac8d65947b781173b9ab50b44d84e88996f9.zip |
Fixed dependencies for modular X and changed to use binary libopenal.so.0 instead of the system one, for compatibility with the new split openal/freealut.
Package-Manager: portage-2.1_pre10-r5
Diffstat (limited to 'games-simulation/bcs-demo')
-rw-r--r-- | games-simulation/bcs-demo/ChangeLog | 7 | ||||
-rw-r--r-- | games-simulation/bcs-demo/Manifest | 23 | ||||
-rw-r--r-- | games-simulation/bcs-demo/bcs-demo-1.3.ebuild | 34 | ||||
-rw-r--r-- | games-simulation/bcs-demo/files/digest-bcs-demo-1.3 | 3 |
4 files changed, 51 insertions, 16 deletions
diff --git a/games-simulation/bcs-demo/ChangeLog b/games-simulation/bcs-demo/ChangeLog index 6865401ce8ee..032807a4d366 100644 --- a/games-simulation/bcs-demo/ChangeLog +++ b/games-simulation/bcs-demo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-simulation/bcsdemo # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/ChangeLog,v 1.2 2006/04/18 13:18:45 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/ChangeLog,v 1.3 2006/05/12 13:35:58 wolf31o2 Exp $ + + 12 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> bcs-demo-1.3.ebuild: + Fixed dependencies for modular X and changed to use binary libopenal.so.0 + instead of the system one, for compatibility with the new split + openal/freealut. 18 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> bcs-demo-1.3.ebuild: Changed to use GAMES_CHECK_LICENSE and some general cleanup. diff --git a/games-simulation/bcs-demo/Manifest b/games-simulation/bcs-demo/Manifest index 7d385a7a1482..71ff88e42e3c 100644 --- a/games-simulation/bcs-demo/Manifest +++ b/games-simulation/bcs-demo/Manifest @@ -1,12 +1,17 @@ -MD5 b689622f6e1e9bbb35557d7c85580570 ChangeLog 925 -RMD160 f67ab5cdcc7cb7f4e65721fbe879ade4b9ae7545 ChangeLog 925 -SHA256 221334d711af553eddc022cf39a14cd64f26356a689b9db6ae3be7aa7e2949ce ChangeLog 925 -MD5 7668eb1a45d0d6b57182c66f041dc861 bcs-demo-1.3.ebuild 959 -RMD160 261d7c7318b5fee5006ecadc1d2779224a2371e0 bcs-demo-1.3.ebuild 959 -SHA256 bafdde94abc0d253f0902e33659e77077000e55a5ca2ce2073e21c966c888678 bcs-demo-1.3.ebuild 959 -MD5 3cdac98990ccc852a46b0af51c6f9e53 files/digest-bcs-demo-1.3 241 -RMD160 800a6d29c74d80503d754764f961cdfa9bac2c2b files/digest-bcs-demo-1.3 241 -SHA256 91d49a243dc1a4c4913bf894d9fc900ab893ef8107538f6779aca860344d4484 files/digest-bcs-demo-1.3 241 +DIST bcsdemo_v1_3.sh.bin 5965217 RMD160 ee9af7683c389b2ed211a9c7db8fd7a94c135480 SHA256 1e23f1fd2ec95e27c56037761c25e3af1ef1f23365540434b12e8b31527dbad7 size 5965217 +DIST openal-alan-hack-0.0.1.tar.gz 86168 RMD160 edaa7fe9715837a340c7cb96585707557481c8a3 SHA256 86e09a5d43461031094c1a09382b369c6f8e231e644dde9d98b7b35fb2e0767a size 86168 +EBUILD bcs-demo-1.3.ebuild 1603 RMD160 220f66fbadea2b776c086ab32b3172e68cbc2d01 SHA1 b76de9866541cb1acde28b5f97aeed0e38a89ddb SHA256 a3a3163a91c9fbb742485a8815e0f32a01ab576ff40fc63708451591e0f0ae05 size 1603 +MD5 970d9b8cba20036d77bea3e3b9063464 bcs-demo-1.3.ebuild 1603 +RMD160 220f66fbadea2b776c086ab32b3172e68cbc2d01 bcs-demo-1.3.ebuild 1603 +SHA256 a3a3163a91c9fbb742485a8815e0f32a01ab576ff40fc63708451591e0f0ae05 bcs-demo-1.3.ebuild 1603 +MISC ChangeLog 1162 RMD160 c249590fc9f705669d922cab72d298d4756b6ea4 SHA1 693b15a317c12612a5729cb9b6aa36fd1f3fbb62 SHA256 0b2cfc5453f6dd9d58ba47c5563ea37078eae93a020cee139415fe3cb8679f31 size 1162 +MD5 345a624357a57b9f2c9154703eca4a8b ChangeLog 1162 +RMD160 c249590fc9f705669d922cab72d298d4756b6ea4 ChangeLog 1162 +SHA256 0b2cfc5453f6dd9d58ba47c5563ea37078eae93a020cee139415fe3cb8679f31 ChangeLog 1162 +MISC metadata.xml 1472 RMD160 05bb71142dff98db07d2c396af32dcbd59564f2b SHA1 416a7393042529c5d3829be62dd43c2c8b7c67ba SHA256 dd29bbc15158e44b505bf49b30c9aa1c8a55846b9fd259563b5af18d1e361c9e size 1472 MD5 87a3fa62f18149f5154f7ede9cc1fee5 metadata.xml 1472 RMD160 05bb71142dff98db07d2c396af32dcbd59564f2b metadata.xml 1472 SHA256 dd29bbc15158e44b505bf49b30c9aa1c8a55846b9fd259563b5af18d1e361c9e metadata.xml 1472 +MD5 69f01af924c0142eb169859efaaa4252 files/digest-bcs-demo-1.3 506 +RMD160 3b5caf930f8c7c162e8d4ad5851c4ba0d1291e0f files/digest-bcs-demo-1.3 506 +SHA256 3c4e9f32b2220f33ca17694ccfad1a76cc7559856c4e6aaae5d7810a90ef4aba files/digest-bcs-demo-1.3 506 diff --git a/games-simulation/bcs-demo/bcs-demo-1.3.ebuild b/games-simulation/bcs-demo/bcs-demo-1.3.ebuild index ac04f71028f5..28a4013b0112 100644 --- a/games-simulation/bcs-demo/bcs-demo-1.3.ebuild +++ b/games-simulation/bcs-demo/bcs-demo-1.3.ebuild @@ -1,19 +1,33 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/bcs-demo-1.3.ebuild,v 1.2 2006/04/18 13:18:45 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/bcs-demo/bcs-demo-1.3.ebuild,v 1.3 2006/05/12 13:35:58 wolf31o2 Exp $ inherit eutils games DESCRIPTION="design and build bridges and then stress test them with trains" HOMEPAGE="http://garagegames.com/pg/product/view.php?id=17" -SRC_URI="ftp://ggdev-1.homelan.com/bcs/bcsdemo_v${PV/./_}.sh.bin" +SRC_URI="ftp://ggdev-1.homelan.com/bcs/bcsdemo_v${PV/./_}.sh.bin + http://www.highprogrammer.com/alan/pfx2/openal-alan-hack-0.0.1.tar.gz" LICENSE="BCS" SLOT="0" KEYWORDS="-* x86" IUSE="" -RDEPEND="media-libs/openal" +RDEPEND="sys-libs/glibc + virtual/opengl + x86? ( + media-libs/libsdl + || ( + ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp ) + virtual/x11 ) ) + amd64? ( + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-sdl )" S=${WORKDIR} @@ -22,17 +36,25 @@ dir=${GAMES_PREFIX_OPT}/${PN} Ddir=${D}/${dir} src_unpack() { - unpack_makeself + unpack_makeself bcsdemo_v${PV/./_}.sh.bin + unpack openal-alan-hack-0.0.1.tar.gz } src_install() { dodir ${dir} ${GAMES_BINDIR} tar -zxf bcsdemo.tar.gz -C ${Ddir} || die "extracting bcsdemo.tar.gz" + rm -f ${Ddir}/bcs-linux-openal-fixer.sh exeinto ${dir} - doexe bin/Linux/x86/rungame.sh || die - dosym ${dir}/rungame.sh ${GAMES_BINDIR}/bcs-demo +# doexe bin/Linux/x86/rungame.sh || die +# exeinto ${dir}/lib + mv ${Ddir}/bcs ${Ddir}/bcs-bin + newexe libopenal.so.0.0.6 libopenal.so.0 || die + echo '#!/bin/bash' >> ${Ddir}/bcs + echo 'LD_PRELOAD="./libopenal.so.0" ./bcs-bin' >> ${Ddir}/bcs + fperms 750 ${dir}/bcs + games_make_wrapper bcs-demo ./bcs "${dir}" "${dir}" insinto ${dir} doins *.cfg || die diff --git a/games-simulation/bcs-demo/files/digest-bcs-demo-1.3 b/games-simulation/bcs-demo/files/digest-bcs-demo-1.3 index 04b96f1ac1ef..3a2f6baa88d7 100644 --- a/games-simulation/bcs-demo/files/digest-bcs-demo-1.3 +++ b/games-simulation/bcs-demo/files/digest-bcs-demo-1.3 @@ -1,3 +1,6 @@ MD5 ed370f8925f573429ffd810703149ca8 bcsdemo_v1_3.sh.bin 5965217 RMD160 ee9af7683c389b2ed211a9c7db8fd7a94c135480 bcsdemo_v1_3.sh.bin 5965217 SHA256 1e23f1fd2ec95e27c56037761c25e3af1ef1f23365540434b12e8b31527dbad7 bcsdemo_v1_3.sh.bin 5965217 +MD5 5c61c76b265fbd6e5f5c133a60348b01 openal-alan-hack-0.0.1.tar.gz 86168 +RMD160 edaa7fe9715837a340c7cb96585707557481c8a3 openal-alan-hack-0.0.1.tar.gz 86168 +SHA256 86e09a5d43461031094c1a09382b369c6f8e231e644dde9d98b7b35fb2e0767a openal-alan-hack-0.0.1.tar.gz 86168 |