diff options
author | Tristan Heaven <tristan@gentoo.org> | 2006-11-13 14:17:04 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2006-11-13 14:17:04 +0000 |
commit | 927d9ea36d47abf3dbaaa36fb8ef7cf96dba5968 (patch) | |
tree | 4a0438d3a309d1fc9e1fe9430b599dbade046dcd /games-sports/ultimatestunts | |
parent | Added usb-dub0700 DVB_CARDS entry. (diff) | |
download | historical-927d9ea36d47abf3dbaaa36fb8ef7cf96dba5968.tar.gz historical-927d9ea36d47abf3dbaaa36fb8ef7cf96dba5968.tar.bz2 historical-927d9ea36d47abf3dbaaa36fb8ef7cf96dba5968.zip |
Version bump
Package-Manager: portage-2.1.2_rc1-r6
Diffstat (limited to 'games-sports/ultimatestunts')
6 files changed, 196 insertions, 5 deletions
diff --git a/games-sports/ultimatestunts/ChangeLog b/games-sports/ultimatestunts/ChangeLog index 0be82bde80ff..1437bc4e0ade 100644 --- a/games-sports/ultimatestunts/ChangeLog +++ b/games-sports/ultimatestunts/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-sports/ultimatestunts # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.9 2006/10/26 19:12:27 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.10 2006/11/13 14:17:04 nyhm Exp $ + +*ultimatestunts-0.6.3 (13 Nov 2006) + + 13 Nov 2006; Tristan Heaven <nyhm@gentoo.org> + +files/ultimatestunts-0.6.3-freealut.patch, + +files/ultimatestunts-0.6.3-paths.patch, +ultimatestunts-0.6.3.ebuild: + Version bump 26 Oct 2006; Michael Sterrett <mr_bones_@gentoo.org> ultimatestunts-0.6.2.ebuild: diff --git a/games-sports/ultimatestunts/Manifest b/games-sports/ultimatestunts/Manifest index 98b52bf64027..5d5da651ba3b 100644 --- a/games-sports/ultimatestunts/Manifest +++ b/games-sports/ultimatestunts/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX ultimatestunts-0.6.1-64bits.patch 447 RMD160 1a9733e7cfe39dc40f1364b2d0346b7e50aaaf47 SHA1 508e2013d4200573c162d608de6e7868be462087 SHA256 95e854737e6c3b567db6b87740b07e6b9659a33ceb9fd574b45185ad56083c02 MD5 5c17cd6b82de4a6dcd1c83415a2fa05e files/ultimatestunts-0.6.1-64bits.patch 447 RMD160 1a9733e7cfe39dc40f1364b2d0346b7e50aaaf47 files/ultimatestunts-0.6.1-64bits.patch 447 @@ -22,8 +25,17 @@ AUX ultimatestunts-0.6.2-paths.patch 971 RMD160 192be2964670c6385ecd9fedbf64f86a MD5 72a9c6f064603fd1223a1e822e8ef95b files/ultimatestunts-0.6.2-paths.patch 971 RMD160 192be2964670c6385ecd9fedbf64f86a6dec0892 files/ultimatestunts-0.6.2-paths.patch 971 SHA256 f1a356523fd4fdd53b66f40793aa14f64eebc408186409e1f2a51df6c46cecb1 files/ultimatestunts-0.6.2-paths.patch 971 +AUX ultimatestunts-0.6.3-freealut.patch 1771 RMD160 4a1d02bb6c8a176ed9cce1ceb0f937ff26f5ed12 SHA1 fea15bcf1c307e3e7ca98d86078cbcfa49b0c814 SHA256 c8e863c7c062ed16bc7f8f9e892e4db358732f68599ab93fb04634426c0f206d +MD5 a2622cce3548c5ec0aa946b7452dcc7c files/ultimatestunts-0.6.3-freealut.patch 1771 +RMD160 4a1d02bb6c8a176ed9cce1ceb0f937ff26f5ed12 files/ultimatestunts-0.6.3-freealut.patch 1771 +SHA256 c8e863c7c062ed16bc7f8f9e892e4db358732f68599ab93fb04634426c0f206d files/ultimatestunts-0.6.3-freealut.patch 1771 +AUX ultimatestunts-0.6.3-paths.patch 971 RMD160 192be2964670c6385ecd9fedbf64f86a6dec0892 SHA1 5b0f901f7192e608448f3732a357dfa0c491c718 SHA256 f1a356523fd4fdd53b66f40793aa14f64eebc408186409e1f2a51df6c46cecb1 +MD5 72a9c6f064603fd1223a1e822e8ef95b files/ultimatestunts-0.6.3-paths.patch 971 +RMD160 192be2964670c6385ecd9fedbf64f86a6dec0892 files/ultimatestunts-0.6.3-paths.patch 971 +SHA256 f1a356523fd4fdd53b66f40793aa14f64eebc408186409e1f2a51df6c46cecb1 files/ultimatestunts-0.6.3-paths.patch 971 DIST ultimatestunts-srcdata-0611.tar.gz 23171268 RMD160 4ca3d691fe05bfa714129ad7eaeb358e1c4b2f02 SHA1 25a69c70346dd2ca1394645f03224927a86bd511 SHA256 d1ac09ad03e7b81611b014bdef5956910be01e53cab7b0bafdfbfe7047547fe7 DIST ultimatestunts-srcdata-0621.tar.gz 25355968 RMD160 5b65bf35dcefaa5036b382c9b3edb5974471a1f9 SHA1 c99cd8d94ead4eaf3d080f6dc2e64417df6faef1 SHA256 363e1bc582cc3417dfbc2b629da502ce9b3151c1a83a5d54841f4112bfde7be3 +DIST ultimatestunts-srcdata-0631.tar.gz 13298201 RMD160 7dbe0b7cfecb2c6ae3157e0164534407d9235463 SHA1 2b1ac41cfdf788a7673ad1fc8935c93370a968bb SHA256 132fa493d5322dff50a6b14c6e833fbf3535e575e4fd2e21cf0b3172763d84cb EBUILD ultimatestunts-0.6.1-r1.ebuild 1740 RMD160 48f5fdf1e5374a3ec509ea6a73ec929961d8159b SHA1 87f8876a96dc6a22bcd39bdc8920db707db56af2 SHA256 b908fba13fcbbb8a849351cc68171c046b23e7b7895e9438b8194bc14b7acaf5 MD5 8ad84dcf54980e34322669a5afedb168 ultimatestunts-0.6.1-r1.ebuild 1740 RMD160 48f5fdf1e5374a3ec509ea6a73ec929961d8159b ultimatestunts-0.6.1-r1.ebuild 1740 @@ -32,10 +44,14 @@ EBUILD ultimatestunts-0.6.2.ebuild 1408 RMD160 993bd69d16c50b18435924f8f683854b0 MD5 b3bf0675cfa3631a6d62878a2256cc55 ultimatestunts-0.6.2.ebuild 1408 RMD160 993bd69d16c50b18435924f8f683854b064395d4 ultimatestunts-0.6.2.ebuild 1408 SHA256 409189fabf5887dfbb68377e8badeb6b011cc592700085faf945af36b45eed48 ultimatestunts-0.6.2.ebuild 1408 -MISC ChangeLog 2103 RMD160 3d0dd01bbc19ea8e1c0814f3d31ed785fda8f4f4 SHA1 9cdb420ab5bd84c56a78234a84aee13b2ca5dcd3 SHA256 5cfd7eece4e20c0d1f1756924e68b528eb57914a0c69f3702e9c19e6324d7888 -MD5 010b776885fbfc3403f88142a640a03f ChangeLog 2103 -RMD160 3d0dd01bbc19ea8e1c0814f3d31ed785fda8f4f4 ChangeLog 2103 -SHA256 5cfd7eece4e20c0d1f1756924e68b528eb57914a0c69f3702e9c19e6324d7888 ChangeLog 2103 +EBUILD ultimatestunts-0.6.3.ebuild 1390 RMD160 bc080b2f65af7b94fcbd9f57fab1be8392e796fd SHA1 ffabd6287f07c45044f84397de4f6576b17dcb2f SHA256 60a9a68ca6322dd4e300d8b6bd42dc740115725e22510dcf0719e6d89ee70d58 +MD5 2ccd0ed5af2ec7a6d7c05fa7cf3884be ultimatestunts-0.6.3.ebuild 1390 +RMD160 bc080b2f65af7b94fcbd9f57fab1be8392e796fd ultimatestunts-0.6.3.ebuild 1390 +SHA256 60a9a68ca6322dd4e300d8b6bd42dc740115725e22510dcf0719e6d89ee70d58 ultimatestunts-0.6.3.ebuild 1390 +MISC ChangeLog 2319 RMD160 b0e604bcde5daad8d172d29be156148f397c5e52 SHA1 6dcedbd65e9a19b84117c6c598baf12e61c77bc8 SHA256 8c9dac85e043d04fff3d271cac15084d5e5b235a4e48c4adb7872101d8fc190f +MD5 0bf70a525f562b100145326ea49caca3 ChangeLog 2319 +RMD160 b0e604bcde5daad8d172d29be156148f397c5e52 ChangeLog 2319 +SHA256 8c9dac85e043d04fff3d271cac15084d5e5b235a4e48c4adb7872101d8fc190f ChangeLog 2319 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -46,3 +62,13 @@ SHA256 0fdb950d0d96f2474d5c64453e07b0af33719300beae42c2dbc14f0147103e4a files/di MD5 fcd8b94c2978939d6b7536fa6b916339 files/digest-ultimatestunts-0.6.2 289 RMD160 a85a9b71a0ebe8ea6c5b0c226d9edef4f7f21500 files/digest-ultimatestunts-0.6.2 289 SHA256 71461b6c3079833bf9193baad5e3992e0e544a2259c50f0b5b2b8d346921fc6e files/digest-ultimatestunts-0.6.2 289 +MD5 9013aee7ea56506e95b548a15693e74e files/digest-ultimatestunts-0.6.3 289 +RMD160 9fe946c19f75dd5259aaac14c49bbbe2d914ea52 files/digest-ultimatestunts-0.6.3 289 +SHA256 fadad69f3b0dead86c0eee385efd6e7a39c078821dd432963b3ff0cf29d87013 files/digest-ultimatestunts-0.6.3 289 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFWH5mdz7hIScOURERAvgYAJ9kHV/BR+N6OmmSmqQPGYt1l+jvlQCfdasw +P60EEqBFYTvAKy52fe3xYyo= +=iAp9 +-----END PGP SIGNATURE----- diff --git a/games-sports/ultimatestunts/files/digest-ultimatestunts-0.6.3 b/games-sports/ultimatestunts/files/digest-ultimatestunts-0.6.3 new file mode 100644 index 000000000000..1a169152b7e3 --- /dev/null +++ b/games-sports/ultimatestunts/files/digest-ultimatestunts-0.6.3 @@ -0,0 +1,3 @@ +MD5 4b20bf56049b5d36358f0c12e9991d52 ultimatestunts-srcdata-0631.tar.gz 13298201 +RMD160 7dbe0b7cfecb2c6ae3157e0164534407d9235463 ultimatestunts-srcdata-0631.tar.gz 13298201 +SHA256 132fa493d5322dff50a6b14c6e833fbf3535e575e4fd2e21cf0b3172763d84cb ultimatestunts-srcdata-0631.tar.gz 13298201 diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.6.3-freealut.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.6.3-freealut.patch new file mode 100644 index 000000000000..2ecc58f602b1 --- /dev/null +++ b/games-sports/ultimatestunts/files/ultimatestunts-0.6.3-freealut.patch @@ -0,0 +1,56 @@ +--- configure.ac ++++ configure.ac +@@ -129,7 +129,7 @@ + dnl Check openAL audio library (currently default) + dnl ------------------------ + AC_CHECK_HEADER(AL/al.h, AC_DEFINE([OPENAL_HEADER], [], [OpenAL headers])) +-AC_CHECK_LIB(openal, alGetError, soundlibs="-lopenal $soundlibs";AC_DEFINE([HAVE_LIBOPENAL], [], [OpenAL Lib])) ++AC_CHECK_LIB(openal, alGetError, soundlibs="-lopenal -lalut $soundlibs";AC_DEFINE([HAVE_LIBOPENAL], [], [OpenAL Lib])) + + if test "x$soundlibs" = "x" ; then + +--- ultimatestunts/sndsample.cpp ++++ ultimatestunts/sndsample.cpp +@@ -96,10 +96,7 @@ + //data (and default values) + void *wave = NULL; + ALsizei +- format = AL_FORMAT_MONO16, +- size = 0, +- bits = 0, +- freq = 44100; ++ size = 0; + + CString extension = realfile.mid(realfile.length() - 4); + extension.toLower(); +@@ -108,7 +105,7 @@ + { + //the loading proc + ALboolean (*alutLoadVorbis)(ALuint, ALvoid *, ALint) = +- (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress((ALubyte *) VORBISFUNC); ++ (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress(VORBISFUNC); + + if(alutLoadVorbis == NULL) + { +@@ -134,7 +131,7 @@ + { + //the loading proc + ALboolean (*alutLoadMP3)(ALuint, ALvoid *, ALint) = +- (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress((ALubyte *) MP3FUNC); ++ (ALboolean (*)(ALuint, ALvoid *, ALint))alGetProcAddress(MP3FUNC); + + if(alutLoadMP3 == NULL) + { +@@ -158,9 +155,9 @@ + } + else //default: load as wave file + { +- alGenBuffers(1, &m_Buffer); +- alutLoadWAV(realfile.c_str(), &wave, &format, &size, &bits, &freq); +- alBufferData(m_Buffer, format, wave, size, freq); ++ m_Buffer = alutCreateBufferFromFile(realfile.c_str()); ++ if(m_Buffer == AL_NONE) ++ printf("%s\n", alutGetErrorString(alutGetError())); + } + + free(wave); diff --git a/games-sports/ultimatestunts/files/ultimatestunts-0.6.3-paths.patch b/games-sports/ultimatestunts/files/ultimatestunts-0.6.3-paths.patch new file mode 100644 index 000000000000..36a677db5f3c --- /dev/null +++ b/games-sports/ultimatestunts/files/ultimatestunts-0.6.3-paths.patch @@ -0,0 +1,35 @@ +--- configure.ac ++++ configure.ac +@@ -210,9 +210,9 @@ + dnl ------------------ + dnl The directory locations + dnl ------------------ +-usdatadir="${prefix}/share/ultimatestunts/" ++usdatadir="${datadir}/ultimatestunts/" + +-AC_DEFINE_UNQUOTED([PREFIXDIR], ["$prefix"], [Prefix dir]) ++AC_DEFINE_UNQUOTED([PREFIXDIR], ["$sysconfdir"], [Prefix dir]) + + AC_SUBST(netlibs) + AC_SUBST(soundlibs) + +--- data/Makefile.am ++++ data/Makefile.am +@@ -1,4 +1,4 @@ +-usdatadir=@usdatadir@ ++usdatadir=$(DESTDIR)/@usdatadir@ + + install: + $(mkinstalldirs) ${usdatadir} + +--- shared/usmisc.cpp ++++ shared/usmisc.cpp +@@ -42,7 +42,7 @@ + printf("prefix = %s\n", prefixdir.c_str()); + + std::vector<CString> locations; +- locations.push_back(prefixdir + "/etc/ultimatestunts.conf"); ++ locations.push_back(prefixdir + "/ultimatestunts.conf"); + locations.push_back("/etc/ultimatestunts.conf"); + locations.push_back("/usr/local/etc/ultimatestunts.conf"); + locations.push_back("./ultimatestunts.conf"); diff --git a/games-sports/ultimatestunts/ultimatestunts-0.6.3.ebuild b/games-sports/ultimatestunts/ultimatestunts-0.6.3.ebuild new file mode 100644 index 000000000000..4106ed0240ff --- /dev/null +++ b/games-sports/ultimatestunts/ultimatestunts-0.6.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.6.3.ebuild,v 1.1 2006/11/13 14:17:04 nyhm Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" +inherit autotools eutils versionator games + +MY_P=${PN}-srcdata-$(replace_all_version_separators)1 +DESCRIPTION="Remake of the famous Stunts game" +HOMEPAGE="http://www.ultimatestunts.nl/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="media-libs/libsdl + media-libs/sdl-image + media-libs/openal + media-libs/freealut + virtual/opengl + virtual/glu + x11-libs/libSM + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXt + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + dev-util/cvs + sys-devel/gettext" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch \ + "${FILESDIR}"/${P}-freealut.patch \ + "${FILESDIR}"/${P}-paths.patch + + autopoint -f || die "autopoint failed" + AT_M4DIR=m4 eautoreconf +} + +src_compile() { + egamesconf $(use_enable nls) || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + make_desktop_entry ustunts "Ultimate Stunts" + dodoc AUTHORS README + + rm -rf $(find "${D}" -name CVS) + prepgamesdirs +} |