diff options
-rw-r--r-- | dev-util/bam/Manifest | 5 | ||||
-rw-r--r-- | dev-util/bam/bam-0.4.0.ebuild | 52 | ||||
-rw-r--r-- | dev-util/bam/files/0.4.0/Makefile | 22 | ||||
-rw-r--r-- | dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch | 11 | ||||
-rw-r--r-- | dev-util/bam/metadata.xml | 10 | ||||
-rw-r--r-- | games-action/teeworlds/Manifest | 9 | ||||
-rw-r--r-- | games-action/teeworlds/files/0.6.1/01-use-system-wavpack.patch | 103 | ||||
-rw-r--r-- | games-action/teeworlds/files/0.6.1/02-fixed-wavpack-sound-loading.patch | 109 | ||||
-rw-r--r-- | games-action/teeworlds/files/0.6.1/03-use-system-pnglite.patch | 112 | ||||
-rw-r--r-- | games-action/teeworlds/files/teeworlds-init.d | 40 | ||||
-rw-r--r-- | games-action/teeworlds/files/teeworlds.xpm | 229 | ||||
-rw-r--r-- | games-action/teeworlds/files/teeworlds_srv.cfg | 7 | ||||
-rw-r--r-- | games-action/teeworlds/metadata.xml | 15 | ||||
-rw-r--r-- | games-action/teeworlds/teeworlds-0.6.1.ebuild | 99 |
14 files changed, 0 insertions, 823 deletions
diff --git a/dev-util/bam/Manifest b/dev-util/bam/Manifest deleted file mode 100644 index e83f90b..0000000 --- a/dev-util/bam/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX 0.4.0/Makefile 503 RMD160 e57e7375359b7929a265889c3399eb94c6566f13 SHA1 3bf35cd432b39af6e9cf8c29b7f21ef3f7b84376 SHA256 d725c3d5fc8a62df8e3d7bf75b1542fdf8e0a596d9e00afbde9c22581021994f -AUX 0.4.0/bam-0.4.0-test.py.patch 266 RMD160 6255d35e6577513067156bc3af61e9fdf996a32e SHA1 b20f1f9a941c6676683770cfe53417690c54294d SHA256 2dfcdd5720681f62001e33aaeb240df4a66f294b99b2c3edc44acd0afc8b214c -DIST bam-0.4.0.tar.bz2 164033 RMD160 ae09aa5ff63a62211ab93c37a415e31231858617 SHA1 5dad113e38ba89384d842655eb477834285c216b SHA256 56030670aa21e227ce0a00f1ee0c9b5129469a6e69e7b67c3dd459d2fce6207d -EBUILD bam-0.4.0.ebuild 1066 RMD160 6fdaf5d1f40b3d7f2bbdb712731d0d9b5cc01857 SHA1 e61b50ba2b224cb98dbddd0c9356ba3158e3b776 SHA256 8f07b103cdc822151ddc7693e9ec39310374cb1356dc7ce6f156eb1f57f4e933 -MISC metadata.xml 257 RMD160 224ee82bfe66c5da4a2dc1dd697b1782e7f03cb9 SHA1 6b583c76750b206bd133403d1a4685a14f8e6b95 SHA256 45f231de4d8bc5ed6309ba83d2eb9a06b8e13f828d7b74e909a144439356cd62 diff --git a/dev-util/bam/bam-0.4.0.ebuild b/dev-util/bam/bam-0.4.0.ebuild deleted file mode 100644 index 7a8780f..0000000 --- a/dev-util/bam/bam-0.4.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/bam-0.3.2.ebuild,v 1.1 2010/03/24 23:25:56 volkmar Exp $ - -EAPI=3 - -PYTHON_DEPEND="2" - -inherit eutils python - -DESCRIPTION="Fast and flexible Lua-based build system" -HOMEPAGE="http://matricks.github.com/bam/" -SRC_URI="http://github.com/downloads/matricks/${PN}/${P}.tar.bz2" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -RDEPEND="dev-lang/lua" -DEPEND="${RDEPEND} - doc? ( dev-lang/python ) - test? ( dev-lang/python )" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - cp "${FILESDIR}"/${PV}/Makefile "${S}"/Makefile || die "cp failed" - - epatch "${FILESDIR}"/${PV}/${P}-test.py.patch - - python_convert_shebangs -r 2 . -} - -src_compile() { - emake ${PN} || die - - if use doc; then - $(PYTHON) scripts/gendocs.py || die "doc generation failed" - fi -} - -src_install() { - dobin ${PN} || die - - if use doc; then - dohtml docs/${PN}{.html,_logo.png} || die "dohtml failed" - fi -} diff --git a/dev-util/bam/files/0.4.0/Makefile b/dev-util/bam/files/0.4.0/Makefile deleted file mode 100644 index 27f35b4..0000000 --- a/dev-util/bam/files/0.4.0/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -LIBS += -lm -lpthread -llua -TARGETS = txt2c internal_base bam -BAM_OBJ = $(patsubst %.c,%.o,$(wildcard src/*.c)) -TXT2C_LUA = $(wildcard src/*.lua) - -all: $(TARGETS) - -txt2c: src/tools/txt2c - -internal_base: src/internal_base.h - -src/internal_base.h: - src/tools/txt2c $(TXT2C_LUA) > src/internal_base.h - -bam: txt2c internal_base $(BAM_OBJ) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BAM_OBJ) $(LIBS) - -test: $(TARGETS) - python scripts/test.py - -clean: - rm -f $(BAM_OBJ) $(TARGETS) src/internal_base.h src/tools/txt2c diff --git a/dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch b/dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch deleted file mode 100644 index 5ea2acd..0000000 --- a/dev-util/bam/files/0.4.0/bam-0.4.0-test.py.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- scripts/test.py.old 2010-03-22 19:23:23.000000000 +0100 -+++ scripts/test.py 2010-03-22 19:23:43.000000000 +0100 -@@ -178,6 +178,8 @@ - print "FAILED TESTS:" - for t in failed_tests: - print "\t"+t -+ sys.exit(1) - else: - print "ALL TESTS PASSED!" -+ sys.exit(0) - diff --git a/dev-util/bam/metadata.xml b/dev-util/bam/metadata.xml deleted file mode 100644 index d44dc8e..0000000 --- a/dev-util/bam/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>volkmar@gentoo.org</email> - <name>Mounir Lamouri</name> - </maintainer> -</pkgmetadata> - diff --git a/games-action/teeworlds/Manifest b/games-action/teeworlds/Manifest deleted file mode 100644 index 901004e..0000000 --- a/games-action/teeworlds/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -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-init.d 999 RMD160 da2cf805857287eead6165d6f7b5b38d77c6b46e SHA1 b4cb80d6d5d3f0cc11447a1ba37e02078dc1f325 SHA256 4ed6b064b1ca4f2399e2947344302e37a517a2da3cf8a86a798962b03229ecf2 -AUX teeworlds.xpm 8755 RMD160 193fdeda1094ceb8ec3024c19f0055cbcd7025b8 SHA1 b11127bda7913ff9b11db47a8fcfeee1980fb785 SHA256 9263fc8d5364e1439f3fa60a42c64e63434992bb483ffd8ef81fcdde282d424b -AUX teeworlds_srv.cfg 193 RMD160 256e8dee12d3f6bf4653bbe52443f9277c39425e SHA1 0552d6fb7551f5e0fb5c4ba047ec2d7d42b44429 SHA256 9c00eca2c72d02893c288282793b81abb472ee0a7302847e472e964179339687 -DIST teeworlds-0.6.1-source.tar.gz 8599538 RMD160 38ea0148ce9caf296403774b8b395df462e564ea SHA1 27f74db7c035143c7b539acc7aab7fb825b972ab SHA256 6328d48fb98d451af8e1dba0999190496e851842c84e4594d413b79aca67b908 -EBUILD teeworlds-0.6.1.ebuild 2107 RMD160 5638e9a9b711d2110c87a01cf20494d80006aa7d SHA1 157e201c60548b5a204f3845298426a033dbaba4 SHA256 850ba4bcba64b952d23732701e4c3fec1c90b815ee73eea9d43865464cc26163 -MISC metadata.xml 484 RMD160 dfbbfc75411d0fc95419578681ca40c406903c42 SHA1 36e4e93ad44397fa511e0cae57a4c4ba56ddb7af SHA256 09f837e2ed7381ebc170fe24a97364c2b3fd977a23d98cc20c68f40f25de02b6 diff --git a/games-action/teeworlds/files/0.6.1/01-use-system-wavpack.patch b/games-action/teeworlds/files/0.6.1/01-use-system-wavpack.patch deleted file mode 100644 index 3a1944d..0000000 --- a/games-action/teeworlds/files/0.6.1/01-use-system-wavpack.patch +++ /dev/null @@ -1,103 +0,0 @@ -Use system wavpack. Based on patch from Gentoo Bugzilla - -From: Azamat H. Hackimov <azamat.hackimov@gmail.com> - -https://bugs.gentoo.org/show_bug.cgi?id=363395 ---- - - bam.lua | 15 +++++++++++++-- - src/engine/client/sound.cpp | 10 +++++++++- - 2 files changed, 22 insertions(+), 3 deletions(-) - - -diff --git a/bam.lua b/bam.lua -index 5699251..ce24cff 100644 ---- a/bam.lua -+++ b/bam.lua -@@ -9,6 +9,7 @@ config = NewConfig() - config:Add(OptCCompiler("compiler")) - config:Add(OptTestCompileC("stackprotector", "int main(){return 0;}", "-fstack-protector -fstack-protector-all")) - config:Add(OptLibrary("zlib", "zlib.h", false)) -+config:Add(OptLibrary("wavpack", "wavpack/wavpack.h", false)) - config:Add(SDL.OptFind("sdl", true)) - config:Add(FreeType.OptFind("freetype", true)) - config:Finalize("config.lua") -@@ -165,7 +166,7 @@ function build(settings) - end - - -- compile zlib if needed -- if config.zlib.value == 1 then -+ if config.zlib.value == true then - settings.link.libs:Add("z") - if config.zlib.include_path then - settings.cc.includes:Add(config.zlib.include_path) -@@ -176,8 +177,18 @@ function build(settings) - settings.cc.includes:Add("src/engine/external/zlib") - end - -+ if config.wavpack.value == true then -+ settings.link.libs:Add("wavpack") -+ if config.wavpack.include_path then -+ settings.cc.includes:Add(config.wavpack.include_path) -+ end -+ wavpack = {} -+ else -+ wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c")) -+ settings.cc.includes:Add("src/engine/external/") --The header is wavpack/wavpack.h so include the external folder -+ 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 -diff --git a/src/engine/client/sound.cpp b/src/engine/client/sound.cpp -index c2ca91f..f356e34 100644 ---- a/src/engine/client/sound.cpp -+++ b/src/engine/client/sound.cpp -@@ -10,7 +10,7 @@ - #include "sound.h" - - extern "C" { // wavpack -- #include <engine/external/wavpack/wavpack.h> -+ #include <wavpack/wavpack.h> - } - #include <math.h> - -@@ -333,19 +333,25 @@ int CSound::LoadWV(const char *pFilename) - if(!m_pStorage) - return -1; - -+ #ifndef WAVPACK_H - ms_File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL); - if(!ms_File) - { - dbg_msg("sound/wv", "failed to open file. filename='%s'", pFilename); - return -1; - } -+ #endif - - SampleID = AllocID(); - if(SampleID < 0) - return -1; - pSample = &m_aSamples[SampleID]; - -+ #ifndef WAVPACK_H - pContext = WavpackOpenFileInput(ReadData, aError); -+ #else -+ pContext = WavpackOpenFileInput(pFilename, aError, 0, 0); -+ #endif - if (pContext) - { - int m_aSamples = WavpackGetNumSamples(pContext); -@@ -401,8 +407,10 @@ int CSound::LoadWV(const char *pFilename) - dbg_msg("sound/wv", "failed to open %s: %s", pFilename, aError); - } - -+ #ifndef WAVPACK_H - io_close(ms_File); - ms_File = NULL; -+ #endif - - if(g_Config.m_Debug) - dbg_msg("sound/wv", "loaded %s", pFilename); diff --git a/games-action/teeworlds/files/0.6.1/02-fixed-wavpack-sound-loading.patch b/games-action/teeworlds/files/0.6.1/02-fixed-wavpack-sound-loading.patch deleted file mode 100644 index b129aaf..0000000 --- a/games-action/teeworlds/files/0.6.1/02-fixed-wavpack-sound-loading.patch +++ /dev/null @@ -1,109 +0,0 @@ -Fixing wavpack sound loading. Based on Gentoo Bugzilla - -From: Azamat H. Hackimov <azamat.hackimov@gmail.com> - -https://bugs.gentoo.org/show_bug.cgi?id=363395 ---- - - src/engine/client/sound.cpp | 56 ++++++++++++++++++++++++++++++++++++++----- - 1 files changed, 50 insertions(+), 6 deletions(-) - - -diff --git a/src/engine/client/sound.cpp b/src/engine/client/sound.cpp -index f356e34..b55a798 100644 ---- a/src/engine/client/sound.cpp -+++ b/src/engine/client/sound.cpp -@@ -50,6 +50,54 @@ struct CVoice - int m_X, m_Y; - } ; - -+#ifdef WAVPACK_H -+static int32_t ReadBytes(void *pFile, void *pBuffer, int32_t Size) -+{ -+ return (int32_t)io_read((IOHANDLE)pFile, pBuffer, Size); -+} -+static uint32_t GetPos(void *pFile) -+{ -+ return (uint32_t)io_tell((IOHANDLE)pFile); -+} -+static int SetPosAbs(void *pFile, uint32_t Offset) -+{ -+ return io_seek((IOHANDLE)pFile, Offset, IOSEEK_START); -+} -+static int SetPosRel(void *pFile, int32_t Offset, int Mode) -+{ -+ switch(Mode) -+ { -+ case SEEK_SET: -+ Mode = IOSEEK_START; -+ break; -+ case SEEK_CUR: -+ Mode = IOSEEK_CUR; -+ break; -+ case SEEK_END: -+ Mode = IOSEEK_END; -+ } -+ return io_seek((IOHANDLE)pFile, Offset, Mode); -+} -+ -+//TODO: Fix if 'real' functionality is needed by the wavpack header -+static int PushBackByte(void *pFile, int Char) -+{ -+ return io_seek((IOHANDLE)pFile, -1, IOSEEK_CUR); -+} -+static uint32_t GetLength(void *pFile) -+{ -+ return (uint32_t)io_length((IOHANDLE)pFile); -+} -+// Essentially assuming this to always be true, should fix if this isn't the case -+static int CanSeek(void *pFile) -+{ -+ return pFile != NULL; -+} -+static WavpackStreamReader CWavpackReader = { -+ ReadBytes, GetPos, SetPosAbs, SetPosRel, PushBackByte, GetLength, CanSeek, 0 -+}; -+#endif -+ - static CSample m_aSamples[NUM_SAMPLES] = { {0} }; - static CVoice m_aVoices[NUM_VOICES] = { {0} }; - static CChannel m_aChannels[NUM_CHANNELS] = { {255, 0} }; -@@ -333,14 +381,12 @@ int CSound::LoadWV(const char *pFilename) - if(!m_pStorage) - return -1; - -- #ifndef WAVPACK_H - ms_File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL); - if(!ms_File) - { - dbg_msg("sound/wv", "failed to open file. filename='%s'", pFilename); - return -1; - } -- #endif - - SampleID = AllocID(); - if(SampleID < 0) -@@ -350,7 +396,7 @@ int CSound::LoadWV(const char *pFilename) - #ifndef WAVPACK_H - pContext = WavpackOpenFileInput(ReadData, aError); - #else -- pContext = WavpackOpenFileInput(pFilename, aError, 0, 0); -+ pContext = WavpackOpenFileInputEx(&CWavpackReader, ms_File, 0, aError, 0, 0); - #endif - if (pContext) - { -@@ -404,13 +450,11 @@ int CSound::LoadWV(const char *pFilename) - } - else - { -- dbg_msg("sound/wv", "failed to open %s: %s", pFilename, aError); -+ dbg_msg("sound/wv", "failed to open '%s': %s", pFilename, aError); - } - -- #ifndef WAVPACK_H - io_close(ms_File); - ms_File = NULL; -- #endif - - if(g_Config.m_Debug) - dbg_msg("sound/wv", "loaded %s", pFilename); diff --git a/games-action/teeworlds/files/0.6.1/03-use-system-pnglite.patch b/games-action/teeworlds/files/0.6.1/03-use-system-pnglite.patch deleted file mode 100644 index 998a086..0000000 --- a/games-action/teeworlds/files/0.6.1/03-use-system-pnglite.patch +++ /dev/null @@ -1,112 +0,0 @@ -Use system pnglite. Based on Gentoo Bugzilla - -From: Azamat H. Hackimov <azamat.hackimov@gmail.com> - -https://bugs.gentoo.org/show_bug.cgi?id=363395 ---- - - bam.lua | 33 +++++++++++++++++++++------------ - src/engine/client/graphics.cpp | 2 +- - src/tools/dilate.cpp | 2 +- - src/tools/tileset_borderfix.cpp | 2 +- - 4 files changed, 24 insertions(+), 15 deletions(-) - - -diff --git a/bam.lua b/bam.lua -index ce24cff..46b8e42 100644 ---- a/bam.lua -+++ b/bam.lua -@@ -9,6 +9,7 @@ config = NewConfig() - config:Add(OptCCompiler("compiler")) - config:Add(OptTestCompileC("stackprotector", "int main(){return 0;}", "-fstack-protector -fstack-protector-all")) - config:Add(OptLibrary("zlib", "zlib.h", false)) -+config:Add(OptLibrary("pnglite", "pnglite.h", false)) - config:Add(OptLibrary("wavpack", "wavpack/wavpack.h", false)) - config:Add(SDL.OptFind("sdl", true)) - config:Add(FreeType.OptFind("freetype", true)) -@@ -177,26 +178,34 @@ function build(settings) - settings.cc.includes:Add("src/engine/external/zlib") - end - -+ -- build game components -+ engine_settings = settings:Copy() -+ server_settings = engine_settings:Copy() -+ client_settings = engine_settings:Copy() -+ launcher_settings = engine_settings:Copy() -+ -+ if config.pnglite.value == true 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 -+ - if config.wavpack.value == true then -- settings.link.libs:Add("wavpack") -+ client_settings.link.libs:Add("wavpack") - if config.wavpack.include_path then -- settings.cc.includes:Add(config.wavpack.include_path) -+ client_settings.cc.includes:Add(config.wavpack.include_path) - end - wavpack = {} - else - wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c")) -- settings.cc.includes:Add("src/engine/external/") --The header is wavpack/wavpack.h so include the external folder -+ client_settings.cc.includes:Add("src/engine/external/") --The header is wavpack/wavpack.h so include the external folder - end - -- -- build the small libraries -- pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c")) -- -- -- build game components -- engine_settings = settings:Copy() -- server_settings = engine_settings:Copy() -- client_settings = engine_settings:Copy() -- launcher_settings = engine_settings:Copy() -- - if family == "unix" then - if platform == "macosx" then - client_settings.link.frameworks:Add("OpenGL") -diff --git a/src/engine/client/graphics.cpp b/src/engine/client/graphics.cpp -index d1f0b8a..f654e87 100644 ---- a/src/engine/client/graphics.cpp -+++ b/src/engine/client/graphics.cpp -@@ -20,7 +20,7 @@ - #endif - - #include <base/system.h> --#include <engine/external/pnglite/pnglite.h> -+#include <pnglite.h> - - #include <engine/shared/config.h> - #include <engine/graphics.h> -diff --git a/src/tools/dilate.cpp b/src/tools/dilate.cpp -index eb770a9..cbd7a3e 100644 ---- a/src/tools/dilate.cpp -+++ b/src/tools/dilate.cpp -@@ -2,7 +2,7 @@ - /* If you are missing that file, acquire a complete release at teeworlds.com. */ - #include <base/system.h> - #include <base/math.h> --#include <engine/external/pnglite/pnglite.h> -+#include <pnglite.h> - - typedef struct - { -diff --git a/src/tools/tileset_borderfix.cpp b/src/tools/tileset_borderfix.cpp -index 0facb9a..ab36292 100644 ---- a/src/tools/tileset_borderfix.cpp -+++ b/src/tools/tileset_borderfix.cpp -@@ -1,7 +1,7 @@ - /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ - /* If you are missing that file, acquire a complete release at teeworlds.com. */ - #include <base/system.h> --#include <engine/external/pnglite/pnglite.h> -+#include <pnglite.h> - - typedef struct - { diff --git a/games-action/teeworlds/files/teeworlds-init.d b/games-action/teeworlds/files/teeworlds-init.d deleted file mode 100644 index 1c4badd..0000000 --- a/games-action/teeworlds/files/teeworlds-init.d +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE=/var/run/teeworlds.pid -GAME_DIRECTORY=/usr/games/bin -CONFIG=/etc/teeworlds/teeworlds_srv.cfg - -depend() { - use dns logger net -} - -checkconfig() { - if [ ! -e ${CONFIG} ] ; then - eerror "You need an ${CONFIG} config file to run TeeWorlds" - return 1 - fi -} - -start() { - ebegin "Starting TeeWorlds" - start-stop-daemon --start --background --pidfile "${PIDFILE}" \ - --make-pidfile -d ${GAME_DIRECTORY} --user games \ - --exec ${GAME_DIRECTORY}/teeworlds_srv -- -f ${CONFIG} - eend $? -} - -reload() { - ebegin "Reloading TeeWorlds configs and restarting processes" - start-stop-daemon --stop --oknodo --user games \ - --pidfile "${PIDFILE}" --signal HUP \ - --exec ${GAME_DIRECTORY}/teeworlds_srv -- -f ${CONFIG} - eend $? -} - -stop() { - ebegin "Stopping TeeWorlds" - start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" - eend $? -} diff --git a/games-action/teeworlds/files/teeworlds.xpm b/games-action/teeworlds/files/teeworlds.xpm deleted file mode 100644 index 056b408..0000000 --- a/games-action/teeworlds/files/teeworlds.xpm +++ /dev/null @@ -1,229 +0,0 @@ -/* XPM */ -static char *teeworlds_2[] = { -/* columns rows colors chars-per-pixel */ -"48 48 175 2 ", -" c #015800F7003A", -". c #094F067B0130", -"X c #0CC509B203CC", -"o c #0E8F0C8D0848", -"O c #11FB0CC70303", -"+ c #169610100202", -"@ c #1ABB129202E3", -"# c #151511110909", -"$ c #1D1D17170A0A", -"% c #1E1E18180E0E", -"& c #21A216960283", -"* c #248B19800505", -"= c #2B211CA20360", -"- c #24241E1E1111", -"; c #292920200D0D", -": c #345F23CE0404", -"> c #3C3C28C20336", -", c #353525250909", -"< c #2BAC23A41394", -"1 c #2B2B25251818", -"2 c #36362B2B1414", -"3 c #38382F2F1F1F", -"4 c #3D3D31311A1A", -"5 c #383831312222", -"6 c #42422E2E0505", -"7 c #464630300303", -"8 c #4ACA32320202", -"9 c #505036360202", -"0 c #5C1C3D3D03C4", -"q c #56563B3B0B0B", -"w c #464637371B1B", -"e c #424237372323", -"r c #44C53BBC29AA", -"t c #5CDD40400E0E", -"y c #5C5C41411212", -"u c #64E542C20404", -"i c #6A6A46C70182", -"p c #6D6D49490303", -"a c #74744D4D0202", -"s c #70704C4C0F0F", -"d c #7E7E54540303", -"f c #7DFE54540B0B", -"g c #68684B4B1616", -"h c #4D4D40402626", -"j c #4D4D41412B2B", -"k c #5F5F4B4B2323", -"l c #515144442A2A", -"z c #5C5C4C0C2BEC", -"x c #5D5D4E4E3232", -"c c #666654542E2E", -"v c #6A6A59033636", -"b c #6F6F5E5E3E3E", -"n c #747461613D3D", -"m c #747463E443C4", -"M c #747465654949", -"N c #808055550000", -"B c #848458580101", -"V c #8A8A5C5C0000", -"C c #818156560A0A", -"Z c #87875E5E1414", -"A c #85855E5E1B1B", -"S c #909060600101", -"D c #9A9A66660000", -"F c #961662E30A8B", -"G c #898961611919", -"H c #909061611010", -"J c #9B9B6B6B1717", -"K c #A8A86F6F0101", -"L c #A0A06B6B0E0E", -"P c #AC2C72720000", -"I c #B7B77A7A0101", -"U c #BDBD7D7D0000", -"Y c #B5B576760909", -"T c #A1A16F6F1919", -"R c #A2A272721F1F", -"E c #AAAA76761D1D", -"W c #ABAB79FA1D9E", -"Q c #B7B77A7A1111", -"! c #A2A273732121", -"~ c #ADAD7B7B2323", -"^ c #B6B67F7F2121", -"/ c #A1A17E7E3838", -"( c #C0C07F7F0D0D", -") c #83836DEE4343", -"_ c #929278784444", -"` c #828272725050", -"' c #BDBD80801414", -"] c #CF4F89090000", -"[ c #C69382B50CDA", -"{ c #C94985050E8F", -"} c #D3D38C360000", -"| c #D8D88F8F0000", -" . c #C5C585051494", -".. c #CB8B874710D1", -"X. c #CEAC8A6813AD", -"o. c #C7C788881919", -"O. c #D18E8D4A16A7", -"+. c #D3938F4F18B9", -"@. c #D67792331B5E", -"#. c #D9D995951E81", -"$. c #E76799190000", -"%. c #EBEB9BDB0000", -"&. c #F574A2220000", -"*. c #FC3BA6E60000", -"=. c #FEFEA8B40027", -"-. c #FE64AC450C3F", -";. c #FEFEAEEE1292", -":. c #FEFEB0B01717", -">. c #FEFEB3331E1E", -",. c #C3C38A8A24A5", -"<. c #D4D492922020", -"1. c #DB6997252076", -"2. c #DDDD99A72278", -"3. c #E18B9D4725F3", -"4. c #E3639F4928A9", -"5. c #E666A2342B06", -"6. c #EA3FA5FB2E84", -"7. c #FEFEB43321A2", -"8. c #FEFEB7772B6B", -"9. c #FEFEB8B82F2F", -"0. c #EBEBA7A73086", -"q. c #EE87AA433300", -"w. c #F0F0ACAC3535", -"e. c #EDEDB1B13B3B", -"r. c #FEFEBABA348A", -"t. c #FEFEBD563C09", -"y. c #9E9E84844F4F", -"u. c #9D9D86865656", -"i. c #9D9D86865959", -"p. c #B4338F0F43C4", -"a. c #AEAE8F8F5353", -"s. c #B0B095955D5D", -"d. c #AFAF95956161", -"f. c #AFAF99996A6A", -"g. c #B5B599996262", -"h. c #BEBEA0A06363", -"j. c #C8C8A3A35A5A", -"k. c #D3D3ABAB5B5B", -"l. c #FEFEBF694298", -"z. c #C0C0A2A26666", -"x. c #CDCDAB00650F", -"c. c #CCCCAD2D6CED", -"v. c #DDDDB5B56666", -"b. c #DBDBB7B76E6E", -"n. c #C0C0AAAA7B7B", -"m. c #CECEB1B17777", -"M. c #D7D7B6B67575", -"N. c #DD5DBABA7676", -"B. c #DC86BCBC7C26", -"V. c #EFEFBFBF6060", -"C. c #FEFEC2974C77", -"Z. c #FEFEC5455353", -"A. c #FEDCC79A5A70", -"S. c #FEFEC8FD5E17", -"D. c #FEFECB01641F", -"F. c #FEFECDBE6C01", -"G. c #E7E7C0C07373", -"H. c #EDEDC56F7474", -"J. c #EA6AC5C57C7C", -"K. c #EEEEC9C97D7D", -"L. c #FEECCFAC71E0", -"P. c #FEFED12E75C9", -"I. c #FEF4D31E7BD7", -"U. c #EEEECACA8080", -"Y. c #FEE7D5DD83CB", -"T. c #F5F5D1D18A8A", -"R. c #FEFED7D7897D", -"E. c #FEFED94C8DB2", -"W. c #EBEBCDCD9191", -"Q. c #F5F5D3D39090", -"!. c #FEFEDB79940E", -"~. c #FEE1DE039B6B", -"^. c #FEFEDFDFA0F6", -"/. c #FEFEE0E0A3A3", -"(. c None", -/* pixels */ -"(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.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=.=.=.=.=.=.=.=.a O (.(.(.(.(.(.(.(.(.", -"(.(.(.(.(.(.(. X F #.1.3.4.5.6.q.w.w.0.R , @ S =.=.=.=.=.=.=.=.=.=.&.8 * . . (.(.(.(.(.(.(.(.", -"(.(.(.(.(.(. X Q +.@.#.3.4.4.6.w.w.w.0.6.4.E , 0 =.=.=.=.=.=.=.=.U = g 6.,.t X (.(.(.(.(.(.(.", -"(.(.(.(.(.(.X C O.+.@.#.#.4.4.6.6.6.6.6.5.3.3.<.> i =.=.=.=.=.] 6 * ! 6.5.5.3.Z O X (.(.(.(.(.(.", -"(.(.(.(.(. . Q { O.+.#.#.3.3.4.5.5.5.4.3.3.2.#.o.X %.=.| B : @ G 4.5.5.3.3.2.#.s = (.(.(.(.(.(.", -"(.(.(.(.(. . [ { O.O.+.#.#.2.3.3.3.4.3.2.2.#.@.+.: & O @ q R 2.3.3.3.3.2.2.#.#. .. (.(.(.(.(.", -"(.(.(.(.(. Y [ { X.O.@.@.#.#.2.2.2.#.#.#.@.+.X.= C Q +.@.#.#.1.2.2.2.#.#.@.+.O.O (.(.(.(.(.", -"(.(.(.(.(. . u [ { { X.O.O.@.@.@.@.@.@.@.+.O.O.F X [ X.O.O.@.@.@.@.@.@.@.+.O.X.L . (.(.(.(.(.", -"(.(.(.(.(.(. . u Y { { X.X.X.O.+.+.O.O.O.X.Q 0 X F [ { ..X.X.O.O.O.O.O.O.X. .f . (.(.(.(.(.(.", -"(.(.(.(.(.(.(. O & = = = = = = = = = X X = = = = = = = = = = = @ . (.(.(.(.(.(.(.", -"(.(.(.(.(.(.(.(. (.(.(.(.(.(.(.(.", -"(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.", -"(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.", -"(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(." -}; diff --git a/games-action/teeworlds/files/teeworlds_srv.cfg b/games-action/teeworlds/files/teeworlds_srv.cfg deleted file mode 100644 index dc67562..0000000 --- a/games-action/teeworlds/files/teeworlds_srv.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# sample Teeworlds server config file -# see http://www.teeworlds.com/?page=docs&wiki=ServerSettings for details -sv_gametype dm -sv_map dm1 -sv_name gentoo-teeworlds -sv_register 1 -sv_scorelimit 20
\ No newline at end of file diff --git a/games-action/teeworlds/metadata.xml b/games-action/teeworlds/metadata.xml deleted file mode 100644 index 08e4071..0000000 --- a/games-action/teeworlds/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>no-herd</herd> -<maintainer> -<email>azamat.hackimov@gmail.com</email> -<name>Azamat H. Hackimov</name> -</maintainer> -<longdescription lang="en"> -Online multi-player platform 2D shooter. -</longdescription> -<longdescription lang="ru"> -Сетевой многопользовательский двумерный шутер. -</longdescription> -</pkgmetadata> diff --git a/games-action/teeworlds/teeworlds-0.6.1.ebuild b/games-action/teeworlds/teeworlds-0.6.1.ebuild deleted file mode 100644 index 21ae766..0000000 --- a/games-action/teeworlds/teeworlds-0.6.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2011 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.2 2010/04/04 13:51:12 hwoarang Exp $ - -EAPI=3 - -PYTHON_DEPEND="2" - -inherit eutils python games - -REVISION="b177-r50edfd37" - -DESCRIPTION="Online multi-player platform 2D shooter" -HOMEPAGE="http://www.teeworlds.com/" -SRC_URI="http://www.teeworlds.com/files/${P}-source.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-util/bam-0.4.0" - -S=${WORKDIR}/${PN}-${REVISION}-source - -pkg_setup() { - python_set_active_version 2 - games_pkg_setup -} - -src_prepare() { - # 01 & 02 from pull request: https://github.com/oy/teeworlds/pull/493 - EPATCH_SOURCE="${FILESDIR}/${PV}" EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \ - epatch -} - -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}/data - doins -r data/* || die "doins failed" - else - insinto "${GAMES_DATADIR}"/${PN}/data/maps - doins -r data/maps/* || die "doins failed" - fi - newinitd "${FILESDIR}"/${PN}-init.d ${PN} - insinto "/etc/${PN}" - doins "${FILESDIR}"/teeworlds_srv.cfg - - dodoc readme.txt || die "dodoc failed" - - prepgamesdirs -} |