summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-06-18 00:11:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-06-18 00:11:43 +0000
commit553ff54c0538166b2bb35efd6ca552248e2a3c08 (patch)
treec79e15023a30cce92e5ce28b6bc24fdd9a42dd52 /games-action
parentadd missing test to IUSE (diff)
downloadhistorical-553ff54c0538166b2bb35efd6ca552248e2a3c08.tar.gz
historical-553ff54c0538166b2bb35efd6ca552248e2a3c08.tar.bz2
historical-553ff54c0538166b2bb35efd6ca552248e2a3c08.zip
old
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'games-action')
-rw-r--r--games-action/teeworlds/ChangeLog8
-rw-r--r--games-action/teeworlds/Manifest7
-rw-r--r--games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch10
-rw-r--r--games-action/teeworlds/files/teeworlds-0.5.2-system-libs.patch53
-rw-r--r--games-action/teeworlds/files/teeworlds-0.5.2-wavpack.patch57
-rw-r--r--games-action/teeworlds/teeworlds-0.5.2.ebuild104
6 files changed, 8 insertions, 231 deletions
diff --git a/games-action/teeworlds/ChangeLog b/games-action/teeworlds/ChangeLog
index 0e70bf2f6402..d71f3ec344a7 100644
--- a/games-action/teeworlds/ChangeLog
+++ b/games-action/teeworlds/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/teeworlds
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/teeworlds/ChangeLog,v 1.8 2012/06/15 15:41:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/teeworlds/ChangeLog,v 1.9 2012/06/18 00:11:43 mr_bones_ Exp $
+
+ 18 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/teeworlds-0.5.2-gcc46.patch, -files/teeworlds-0.5.2-system-libs.patch,
+ -files/teeworlds-0.5.2-wavpack.patch, -teeworlds-0.5.2.ebuild,
+ teeworlds-0.6.1.ebuild:
+ old
15 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org> teeworlds-0.6.1.ebuild:
use makeopts_jobs (bug #421173)
diff --git a/games-action/teeworlds/Manifest b/games-action/teeworlds/Manifest
index b3275190de50..cf2e6f41a4e5 100644
--- a/games-action/teeworlds/Manifest
+++ b/games-action/teeworlds/Manifest
@@ -1,15 +1,10 @@
AUX 0.6.1/01-use-system-wavpack.patch 3063 RMD160 b660e44cc888d606bfbe3e43a5c0e3a5cd7d065a SHA1 13596a8da27de3c1713b9519566b91e3ff9238ae SHA256 2475275f1dd8264cb9e880bfccca13951a9bcdfbee24c4c9953e830cdf6a5180
AUX 0.6.1/02-fixed-wavpack-sound-loading.patch 2905 RMD160 cd090c942e755a36fc2ce661deb00995fece1f84 SHA1 66c03ce5f9755e0525d5da9c4c8c3b02b6ab0126 SHA256 4da6873dff90d89ea786daa1f9d67e38cd7038860eb45e655401d94c692e25cf
AUX 0.6.1/03-use-system-pnglite.patch 3935 RMD160 a060bb0ecb92727a160fe62bab1880c14ad37666 SHA1 8f3584bd8e462cd13f318d33b50bef9442773b00 SHA256 e035cb3074de6c8bc95c7e8486baa51fd2c85b10f2f8badbeb91253cb6721415
-AUX teeworlds-0.5.2-gcc46.patch 263 RMD160 c57014900e7f7933b2516ec4e37bbb1ffd3177c6 SHA1 10d55b860e3c251d69be1c3727c3597a24eadb3f SHA256 04e9c02c36885677845bd83fbdac02a216c5ee32f677d0fe4a510537420b15fe
-AUX teeworlds-0.5.2-system-libs.patch 1861 RMD160 8d60b4506440fad9907501a340e016e7f68f4385 SHA1 e8113d7f30a7e0866b6e87934f63a2e1bb2dbff7 SHA256 a748535f57b62d056c302c290dd47e29cc7a2e4d5bc345527c5ce70b97ce607b
-AUX teeworlds-0.5.2-wavpack.patch 1347 RMD160 b1f86935b5781306f7adc8a78736d60de2dce848 SHA1 d8ffad789c27b6627a59201904e980aaa2c8f6d4 SHA256 efa498dafb12fb646fc6678592b47eaab8497ecefb2cdc5a0ace663d49eebb3d
AUX teeworlds-init.d 999 RMD160 4ef756e703a1b1e393c8151545394e14e71bbaee SHA1 510fefc159e1783aaed757043e2b42b887d4e6c4 SHA256 8f60b3b2f68d9cfdb279ffbaefd2a6c611d74ce87fc306faaa438dc61732ca3b
AUX teeworlds.xpm 2785 RMD160 f45531cd48dc897b02c73fee5870f703877620da SHA1 1a00d39a748ea006f71f4b7c0ed73015e34a18a0 SHA256 0b31cc3e65ca26676324a7b66de29cb91df90221e28f9e4b5adfec0e37729284
AUX teeworlds_srv.cfg 193 RMD160 256e8dee12d3f6bf4653bbe52443f9277c39425e SHA1 0552d6fb7551f5e0fb5c4ba047ec2d7d42b44429 SHA256 9c00eca2c72d02893c288282793b81abb472ee0a7302847e472e964179339687
-DIST teeworlds-0.5.2-src.tar.gz 6393472 RMD160 12b3384b3059d5ec0ebb437686f613f8d9430e61 SHA1 26d8059b1ad81ca6959b96fd3ff881f9db7550ef SHA256 1811a71bf9a1470c7a69308035744492f3e850aefdd12f1bc223fb85d98cf4c0
DIST teeworlds-0.6.1-source.tar.gz 8599538 RMD160 38ea0148ce9caf296403774b8b395df462e564ea SHA1 27f74db7c035143c7b539acc7aab7fb825b972ab SHA256 6328d48fb98d451af8e1dba0999190496e851842c84e4594d413b79aca67b908
-EBUILD teeworlds-0.5.2.ebuild 2389 RMD160 c11b14424b34682d2a25fa061a08cb321b0a02dd SHA1 b5de3d8ccf765a617dd9c8c158f213c7fa3ed780 SHA256 55a315dcc02532fa9d525ec66497674edb84e901938e1559f11d55483bf7de5e
EBUILD teeworlds-0.6.1.ebuild 2530 RMD160 27ffa9281b233c14f702fe229285bf290decefec SHA1 2be0617798faabc0a3d74ab0911db3778f430169 SHA256 50d0d61d24087828e3b1636067477602c910e591f8d158b211587b6e64d3aa75
-MISC ChangeLog 1962 RMD160 d7ff8baef8ad9f39db15cd2d014ee426e71b1537 SHA1 9292d74c3c2d2ed7c42dcce6014e8acf2e6195a3 SHA256 189d598b0d2bc8e3e573ab3739f2bea7143d18d6cd45015a149b83d3f30b76f5
+MISC ChangeLog 2195 RMD160 03bbce0e587ad62b707dc3a242f2acc7fe5e2f27 SHA1 e8c54a7156b6aa6d10403416361b4b6a1348ea5b SHA256 9afb6d8f718f5fb6a10c3626c6ee57fc8f6899c8ae148860b5a9b9deb675bcc2
MISC metadata.xml 309 RMD160 77d06e39802ded0077343efe4e113a4fc23cbe0d SHA1 479fb96f2b7ad915bee07e5f46e407908bd678d7 SHA256 483d678f443d433b99a05dca001e83ae6f3d9128c2d6236196ec972386ef337a
diff --git a/games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch b/games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch
deleted file mode 100644
index 06f9422a274e..000000000000
--- a/games-action/teeworlds/files/teeworlds-0.5.2-gcc46.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/game/server/entity.hpp.old 2012-03-26 10:32:17.189461453 +0200
-+++ src/game/server/entity.hpp 2012-03-26 10:32:52.176006440 +0200
-@@ -3,6 +3,7 @@
-
- #include <new>
- #include <base/vmath.hpp>
-+#include <cstddef>
-
- #define MACRO_ALLOC_HEAP() \
- public: \
diff --git a/games-action/teeworlds/files/teeworlds-0.5.2-system-libs.patch b/games-action/teeworlds/files/teeworlds-0.5.2-system-libs.patch
deleted file mode 100644
index 2ffb3d566054..000000000000
--- a/games-action/teeworlds/files/teeworlds-0.5.2-system-libs.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- default.bam.orig 2010-03-24 22:16:59.000000000 +0100
-+++ default.bam 2010-03-24 22:17:32.000000000 +0100
-@@ -7,6 +7,8 @@
- config:Add(OptFindCompiler())
- config:Add(OptTestCompileC("stackprotector", "int main(){return 0;}", "-fstack-protector -fstack-protector-all"))
- config:Add(OptFindLibrary("zlib", "zlib.h", false))
-+config:Add(OptFindLibrary("pnglite", "pnglite.h", false))
-+config:Add(OptFindLibrary("wavpack", "wavpack/wavpack.h", false))
- config:Add(SDL.OptFind("sdl", true))
- config:Finalize("config.bam")
-
-@@ -150,9 +152,6 @@
- settings.cc.includes:Add("src/engine/external/zlib")
- end
-
-- -- build the small libraries
-- wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c"))
-- pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c"))
-
- -- build game components
- engine_settings = settings:Copy()
-@@ -160,6 +159,31 @@
- client_settings = engine_settings:Copy()
- launcher_settings = engine_settings:Copy()
-
-+ -- compile pnglite if needed
-+ if config.pnglite.value == 1 then
-+ client_settings.link.libs:Add("pnglite")
-+ if config.pnglite.include_path then
-+ client_settings.cc.includes:Add(config.pnglite.include_path)
-+ end
-+ pnglite = {}
-+ else
-+ pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c"))
-+ client_settings.cc.includes:Add("src/engine/external/pnglite")
-+ end
-+
-+ -- compile wavpack if needed
-+ if config.wavpack.value == 1 then
-+ client_settings.link.libs:Add("wavpack")
-+ if config.wavpack.include_path then
-+ client_settings.cc.includes:Add(config.wavpack.include_path)
-+ end
-+ wavpack = {}
-+ else
-+ wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c"))
-+ client_settings.cc.includes:Add("src/engine/external")
-+ end
-+
-+
- if family == "unix" then
- if platform == "macosx" then
- client_settings.link.frameworks:Add("OpenGL")
diff --git a/games-action/teeworlds/files/teeworlds-0.5.2-wavpack.patch b/games-action/teeworlds/files/teeworlds-0.5.2-wavpack.patch
deleted file mode 100644
index 76a2b6a504cd..000000000000
--- a/games-action/teeworlds/files/teeworlds-0.5.2-wavpack.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/src/engine/client/ec_snd.c b/src/engine/client/ec_snd.c
-index 034dfb2..67e819c 100644
---- a/src/engine/client/ec_snd.c
-+++ b/src/engine/client/ec_snd.c
-@@ -359,19 +359,13 @@
- }
-
-
--static IOHANDLE file = NULL;
--
--static int read_data(void *buffer, int size)
--{
-- return io_read(file, buffer, size);
--}
--
- int snd_load_wv(const char *filename)
- {
- SAMPLE *snd;
- int sid = -1;
- char error[100];
- WavpackContext *context;
-+ char completefilename[512];
-
- /* don't waste memory on sound when we are stress testing */
- if(config.dbg_stress)
-@@ -381,19 +375,13 @@
- if(!sound_enabled)
- return 1;
-
-- file = engine_openfile(filename, IOFLAG_READ); /* TODO: use system.h stuff for this */
-- if(!file)
-- {
-- dbg_msg("sound/wv", "failed to open %s", filename);
-- return -1;
-- }
--
- sid = snd_alloc_id();
- if(sid < 0)
- return -1;
- snd = &samples[sid];
-
-- context = WavpackOpenFileInput(read_data, error);
-+ engine_getpath(completefilename, sizeof(completefilename), filename, IOFLAG_READ);
-+ context = WavpackOpenFileInput(completefilename, error, OPEN_2CH_MAX, 0);
- if (context)
- {
- int samples = WavpackGetNumSamples(context);
-@@ -448,9 +436,6 @@
- dbg_msg("sound/wv", "failed to open %s: %s", filename, error);
- }
-
-- io_close(file);
-- file = NULL;
--
- if(config.debug)
- dbg_msg("sound/wv", "loaded %s", filename);
-
diff --git a/games-action/teeworlds/teeworlds-0.5.2.ebuild b/games-action/teeworlds/teeworlds-0.5.2.ebuild
deleted file mode 100644
index 769d79c74c83..000000000000
--- a/games-action/teeworlds/teeworlds-0.5.2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/teeworlds/teeworlds-0.5.2.ebuild,v 1.4 2012/03/26 08:50:04 tupone Exp $
-
-EAPI=2
-inherit eutils python games
-
-DESCRIPTION="Online multi-player platform 2D shooter"
-HOMEPAGE="http://www.teeworlds.com/"
-SRC_URI="http://www.teeworlds.com/files/${P}-src.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug dedicated"
-
-RDEPEND="
- !dedicated? ( media-libs/pnglite
- media-libs/libsdl[X,audio,opengl,video]
- media-sound/wavpack
- virtual/opengl
- x11-libs/libX11 )
- sys-libs/zlib"
-DEPEND="${RDEPEND}
- =dev-lang/python-2*
- <=dev-util/bam-0.2.0"
-
-S=${WORKDIR}/${P}-src
-
-pkg_setup() {
- python_set_active_version 2
- games_pkg_setup
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-system-libs.patch \
- "${FILESDIR}"/${P}-gcc46.patch \
- "${FILESDIR}"/${P}-wavpack.patch
-
- # fix includes
- sed -i -e "s:.engine/external/pnglite/pnglite.h.:<pnglite.h>:" \
- src/engine/client/ec_gfx.c src/tools/dilate.c \
- src/tools/tileset_borderfix.c \
- || die "sed failed"
- sed -i -e "s:.engine/external/wavpack/wavpack.h.:<wavpack/wavpack.h>:" \
- src/engine/client/ec_snd.c || die "sed failed"
-
- # use ${GAMES_DATADIR} instead of ./data
- sed -i -e \
- "s:^\(#define DATA_DIR\) \"data\":\1 \"${GAMES_DATADIR}/${PN}\":" \
- src/engine/e_engine.c || die "sed failed"
-}
-
-src_configure() {
- bam config || die "bam config failed"
-}
-
-src_compile() {
- local myopt
-
- if use debug; then
- myopt=" server_debug"
- else
- myopt=" server_release"
- fi
- if ! use dedicated; then
- if use debug; then
- myopt+=" client_debug"
- else
- myopt+=" client_release"
- fi
- fi
-
- bam ${myopt} || die "bam failed"
-}
-
-src_install() {
- if use debug; then
- newgamesbin ${PN}_srv_d ${PN}_srv || die "newgamesbin failed"
- else
- dogamesbin ${PN}_srv || die "dogamesbin failed"
- fi
- if ! use dedicated; then
- if use debug; then
- newgamesbin ${PN}_d ${PN} || die "newgamesbin failed"
- else
- dogamesbin ${PN} || die "dogamesbin failed"
- fi
-
- doicon "${FILESDIR}"/${PN}.xpm || die "doicon failed"
- make_desktop_entry ${PN} Teeworlds
-
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r data/* || die "doins failed"
- else
- insinto "${GAMES_DATADIR}"/${PN}/maps
- doins -r data/maps/* || die "doins failed"
- fi
-
- dodoc readme.txt || die "dodoc failed"
-
- prepgamesdirs
-}