summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-09-12 14:38:59 +0000
committerTristan Heaven <tristan@gentoo.org>2008-09-12 14:38:59 +0000
commite1530acbd81ff9a4afebf6a6e49981114dc53656 (patch)
tree006579782f2356727dc1cc9def3569c052c3ca69 /games-action/btanks
parentClean up the misleading usage of USE=threads by separating the safe and exper... (diff)
downloadhistorical-e1530acbd81ff9a4afebf6a6e49981114dc53656.tar.gz
historical-e1530acbd81ff9a4afebf6a6e49981114dc53656.tar.bz2
historical-e1530acbd81ff9a4afebf6a6e49981114dc53656.zip
Version bump
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'games-action/btanks')
-rw-r--r--games-action/btanks/ChangeLog8
-rw-r--r--games-action/btanks/Manifest15
-rw-r--r--games-action/btanks/btanks-0.8.7686.ebuild56
-rw-r--r--games-action/btanks/files/btanks-0.8.7686-scons-blows.patch24
4 files changed, 101 insertions, 2 deletions
diff --git a/games-action/btanks/ChangeLog b/games-action/btanks/ChangeLog
index faeebc8d29fb..f68ea327ed76 100644
--- a/games-action/btanks/ChangeLog
+++ b/games-action/btanks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/btanks
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.13 2008/08/04 20:47:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/ChangeLog,v 1.14 2008/09/12 14:38:58 nyhm Exp $
+
+*btanks-0.8.7686 (12 Sep 2008)
+
+ 12 Sep 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/btanks-0.8.7686-scons-blows.patch, +btanks-0.8.7686.ebuild:
+ Version bump
*btanks-0.8.7479 (04 Aug 2008)
diff --git a/games-action/btanks/Manifest b/games-action/btanks/Manifest
index f34621b92fee..5c215b2ce83b 100644
--- a/games-action/btanks/Manifest
+++ b/games-action/btanks/Manifest
@@ -1,10 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX btanks-0.7.5800-gcc43.patch 2093 RMD160 feaaf84c116a115f58cfcb5b9a386f08c000c158 SHA1 b862defe2b1327378cecb2cfc0f3664c699363a0 SHA256 f1fef6ad7e7196e3f2db6590832abe557ef1c9e3d52f789009018ba4d7a7b754
AUX btanks-0.7.5800-scons-blows.patch 1397 RMD160 c7bd6b710bbe2f158eb08266a35add5a82843cea SHA1 8083911d08a001ba107af85bdce7a842a9bfc4ec SHA256 b5bfba498922828dd43a989c5b6361c6e75ed1c90000b4cdab49cd0ec80a68b5
AUX btanks-0.8.7479-build.patch 1301 RMD160 d7f7a8caf9acff921e50ef361e0ddbba5cf9482c SHA1 fab5669443499b9cddcb9b8bca920b91f54dc1b5 SHA256 5032fcf196022c2f6ecabce077de0ff7b9341dd8625f5eea580b668a2a8e6535
AUX btanks-0.8.7479-scons-blows.patch 863 RMD160 403a061752f5a673960033b193eb0f2ab2df0ca5 SHA1 56fba72fe0915232b6a9a247ef00cc9367fa62a5 SHA256 2392dc642379477ed69e535c7dd12e2b103d74a303816b542d0ffe3d8e4f6001
+AUX btanks-0.8.7686-scons-blows.patch 807 RMD160 ee7973c0b608ed2068b5e2b12dfb194e7ee1affe SHA1 8ca79d57b05d29d6fe4621d7aceea2e365ea6ed7 SHA256 b7f5ce583f52ce45d7c515ff73e8afdca4a8a95b079fcbc171ec07233e7ff700
DIST btanks-0.7.5800.tar.bz2 56610996 RMD160 101da9fe749a80456c675ca9dc6f26ca3fb53038 SHA1 3892249c71130847756290b48ae0181b9ee6ddbf SHA256 1c82a2a1d1acd9bba7498be6623ad94a05783aba23fb0ac84330049a02107c2f
DIST btanks-0.8.7479.tar.bz2 59417541 RMD160 9dcd92b185967b0d31fc385c0f847fe2ded2b8e3 SHA1 0e444af751cac7b86a10270ea514145ad2fb7a36 SHA256 c838043669b8f91c50205820a4f17a0ff1ed0fe5a51f2402866d07b5e03bbd44
+DIST btanks-0.8.7686.tar.bz2 59601972 RMD160 4aba37bf06f36aa01f01a6f0b4920805c9e89c26 SHA1 912a0f1a66d60edfca47c4e86fd112d4778fb961 SHA256 5ac3f3b7aefb9f39cbefa1d108b00afb88b2aebf14681d69ed807fb49a2ed174
EBUILD btanks-0.7.5800.ebuild 1473 RMD160 b705ab754af768808e12497b2129568e928edf43 SHA1 b4309f4805939b17d23195e064cf432030645c23 SHA256 49b8de37eed786a2bec0be88851276382f8db951523a1b1abc07c112fc8ac92b
EBUILD btanks-0.8.7479.ebuild 1527 RMD160 97c189e9236450a563819583e2bbc05196cb6a51 SHA1 b8db52b7372713c13d4de8da11f55d07d687a818 SHA256 01910d1a274679d8145f2657661e23dc3d3447236a5a87f4c558b1eaa9962dd9
-MISC ChangeLog 2467 RMD160 36829f1c61dab497e6836bb36809d07a3dfd56b6 SHA1 8a771bf2a8e4d59f511291e5e7efa59cde677f58 SHA256 fb428855b54e9c9dc3392a8811de9ff02adc8b3fecc102df2c6b0b31d75bf702
+EBUILD btanks-0.8.7686.ebuild 1482 RMD160 a87d224f3924bcb8e262ce3d9d52b9cc2882c362 SHA1 d886e042616b19ba23cf7ed5d3bb8bd5a6116226 SHA256 b3a8f832297f987325518f004ed28d00bd5f05c565dae7b4f341bd12a4dca675
+MISC ChangeLog 2627 RMD160 e7ebb347faf6f8145b892f07742af65d13a73fda SHA1 6fccda6f64af918c96ed2c26e207d142726fee2e SHA256 9e155bf61fd4e7a085c72a9c3d0b9e4a9e50b25553c7fa9d76e45c0b85a9487f
MISC metadata.xml 602 RMD160 7bcf0da779e8e1cc2a225f25cba147e7d743d671 SHA1 2a04ca616e925cb64cd5df0f4dd96e1512b4aeb0 SHA256 f2fba9fde47806ea5f4d7a16dfe1a5edd4869619118f28a30a91ec8a629cfb2c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjKfwoACgkQdz7hIScOUREnHgCgg7PXUcqDCbvU9jAYRHnySObD
+aOEAnAm/7zFM9jAe1RS/GCAff6DSkJ0U
+=WMe4
+-----END PGP SIGNATURE-----
diff --git a/games-action/btanks/btanks-0.8.7686.ebuild b/games-action/btanks/btanks-0.8.7686.ebuild
new file mode 100644
index 000000000000..80e4439b3200
--- /dev/null
+++ b/games-action/btanks/btanks-0.8.7686.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v 1.1 2008/09/12 14:38:58 nyhm Exp $
+
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="Fast 2D tank arcade game with multiplayer and split-screen modes"
+HOMEPAGE="http://btanks.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/lua-5.1
+ media-libs/openal
+ media-libs/libsdl
+ media-libs/libvorbis
+ virtual/opengl
+ dev-libs/expat
+ media-libs/smpeg
+ media-libs/sdl-image"
+DEPEND="${RDEPEND}
+ dev-util/scons
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-scons-blows.patch
+}
+
+src_compile() {
+ scons \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ prefix="${GAMES_PREFIX}" \
+ lib_dir="$(games_get_libdir)"/${PN} \
+ plugins_dir="$(games_get_libdir)"/${PN} \
+ resources_dir="${GAMES_DATADIR}"/${PN} \
+ || die "scons failed"
+}
+
+src_install() {
+ dogamesbin build/release/engine/btanks || die "dogamesbin failed"
+ newgamesbin build/release/editor/bted btanksed || die "newgamesbin failed"
+ exeinto "$(games_get_libdir)"/${PN}
+ doexe build/release/*/*.so || die "doexe failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data || die "doins failed"
+ newicon engine/src/bt.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Battle Tanks"
+ dodoc ChangeLog *.txt
+ prepgamesdirs
+}
diff --git a/games-action/btanks/files/btanks-0.8.7686-scons-blows.patch b/games-action/btanks/files/btanks-0.8.7686-scons-blows.patch
new file mode 100644
index 000000000000..81ef87bfed24
--- /dev/null
+++ b/games-action/btanks/files/btanks-0.8.7686-scons-blows.patch
@@ -0,0 +1,24 @@
+--- SConstruct
++++ SConstruct
+@@ -90,19 +90,9 @@
+ #env.Append(CPPDEFINES = ['NDEBUG'])
+
+ else:
+- if env['gcc_visibility']:
+- env.Append(CCFLAGS=['-fvisibility=hidden']);
+- env.Append(CXXFLAGS=['-fvisibility-inlines-hidden', '-fvisibility=hidden']);
+-
+- if debug:
+- env.Append(CCFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
+- env.Append(CPPFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
+- else:
+- env.Append(CCFLAGS=['-O3'])
+- env.Append(CPPFLAGS=['-O3'])
+
+- env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
+- env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
++ env.Append(CPPFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
++ env.Append(CCFLAGS=['-Wall', '-pedantic', '-Wno-long-long', '-pthread'])
+
+
+ conf_env = env.Clone()