diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/excido |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/excido')
-rw-r--r-- | games-arcade/excido/Manifest | 7 | ||||
-rw-r--r-- | games-arcade/excido/excido-0.1.5c-r2.ebuild | 42 | ||||
-rw-r--r-- | games-arcade/excido/files/excido-0.1.5c-build.patch | 29 | ||||
-rw-r--r-- | games-arcade/excido/files/excido-0.1.5c-freealut.patch | 38 | ||||
-rw-r--r-- | games-arcade/excido/metadata.xml | 8 |
5 files changed, 124 insertions, 0 deletions
diff --git a/games-arcade/excido/Manifest b/games-arcade/excido/Manifest new file mode 100644 index 000000000000..47a2d1d549d0 --- /dev/null +++ b/games-arcade/excido/Manifest @@ -0,0 +1,7 @@ +AUX excido-0.1.5c-build.patch 1029 SHA256 539f17d2df6c37d22659f9a68cb0c4ad55316c95e14844e3910985d3f8b69ef9 SHA512 333b34063e3480a80a11af39585fcaa8a203ed3add332f24a57614b96ee64fa06c85158fc62d5ce5bf04ea148bdefceed525e77c6a4949da855e2c34ea023b32 WHIRLPOOL ba535474c3013ee939f3bc31b2cc16bf9a27e5b64555e70d69be9bdabcc88ab5850a0516f641c9f6ccad120c774b3d23381b77368fa2b5526409d07ebb08178f +AUX excido-0.1.5c-freealut.patch 1200 SHA256 59668e957767f873c56c44432b7e0282e4bfca277013ab7f8629cb116a11a3ab SHA512 137f05ed46d3608f8cf773d35389fe914219207a7d36de4d355da93c5d2bc6ea03a802fb00c9f9f4c8429ba2922728597bfff30afb90c03d5712c8f509b1e4c6 WHIRLPOOL 5440d454ae68128a79e10d22a87f6b46c4f6045633c61660deefee9b5144d895289676cde66a669e8ea8398a68c801fae22bd70990c9e37bffa4f6519a5608ba +DIST excido-0.1.5c-src.tar.bz2 2981629 SHA256 d53bcaf4e18265ece7c4206c91cdf26682ff1aeba917cb9d5bd2f4218ce364ef SHA512 9e1b98ed31eac735087f451c466d0e0d1b885ad5336f7994abf8f844b1c27cc24e90048306ffd62864fa5ab2bada6744b4b54991c6eb9b22624af20c645e02d7 WHIRLPOOL b85063e7b934953c3302bcc7ba1abc6c54263554b304844d059060c03a3fa486f21d9f7c3f1e96ad3441955b09e3ca2dd30b3bf3b4580f2007afaf11b74dc891 +EBUILD excido-0.1.5c-r2.ebuild 846 SHA256 afcc5338e26975124da73dcc9c78a12b2a439a1464566cb04610539a7dc43899 SHA512 052673b236288539fb8a968811f2085df8005923a7fc95cbf42df2ee8c5cf806f2a888b6b79ac953f3e70ebc400c320bbb0ef218ab54f5cceb41ea8a584313bc WHIRLPOOL 54c92c3e6934382e83ea36b195e2cc3e60071faffdc3533b8d55a0a9fbd4103d953a64d39853e785571930d735fab5fd72a351d87963730324e1b8ae92a5dca4 +MISC ChangeLog 2509 SHA256 7bdfb96ce444ec57b88e8c59f357be93c6c2a8e234e98919953793af6622f60f SHA512 f9579b2acdab12a3e100d015d7240b5efdb5b3a2c37529342632072db3d7f13f22a3f2a082e05708bbc0a3e5c766fb38decb02d3531167bf2e08870f783bb9ec WHIRLPOOL 8840040d0897da103b46ff9ad967a7914404c743a5c3681e21a1a3eb687343b46f53476cc10096696725e1dcbb4545ce1d2dfb514b2c7dfcab1faa5d4229aad2 +MISC ChangeLog-2015 3055 SHA256 727e3189e5b800307f3a5a36d92a2680a381367b74f5781078360ab38fb20cc9 SHA512 5b81513097d73dfd8e8711d22e9c49674fcf547bbe13f274450b7f1a6f4d37f674aebe3c427258bef95834ebbf1a8a66f7c19928f469028749b03e6249576e74 WHIRLPOOL 6b4a0438ce6b210cc5dbe4de646533161fc8d5077dd82b5e58767f1437fe97337f1c9154c82adc257a1c6f8814cb0c7b60056338d93b99fb95e18f65ad44280f +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-arcade/excido/excido-0.1.5c-r2.ebuild b/games-arcade/excido/excido-0.1.5c-r2.ebuild new file mode 100644 index 000000000000..d87e0a4a853d --- /dev/null +++ b/games-arcade/excido/excido-0.1.5c-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A fast paced action game" +HOMEPAGE="http://icculus.org/excido/" +SRC_URI="http://icculus.org/excido/${P}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-games/physfs + media-libs/libsdl[opengl] + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/sdl-image[png] + media-libs/openal + media-libs/freealut" +RDEPEND=${DEPEND} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-freealut.patch \ + "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + emake DATADIR="${GAMES_DATADIR}"/${PN}/ +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins data/* + dodoc BUGS CHANGELOG HACKING README TODO \ + keyguide.txt data/CREDITS data/*.txt + prepgamesdirs +} diff --git a/games-arcade/excido/files/excido-0.1.5c-build.patch b/games-arcade/excido/files/excido-0.1.5c-build.patch new file mode 100644 index 000000000000..779d9c3f4066 --- /dev/null +++ b/games-arcade/excido/files/excido-0.1.5c-build.patch @@ -0,0 +1,29 @@ +--- Makefile ++++ Makefile +@@ -1,8 +1,8 @@ +-CC=g++ +-CFLAGS=`sdl-config --cflags` #-g -Wall #-O2 ++CXX?=g++ ++CXXFLAGS+=$(shell sdl-config --cflags) #-g -Wall #-O2 + #CFLAGS=`sdl-config --cflags` -I./physfs#-g -Wall #-O2 + OBJS := ${patsubst %.cpp, %.o, ${wildcard src/*.cpp}} +-LIBS = -s -Bstatic `sdl-config --static-libs` -lSDL_image -lSDL_ttf -L. -lphysfs -lopenal -Bdynamic -lGL -lGLU ++LIBS = $(shell sdl-config --libs) -lSDL_image -lSDL_ttf -lphysfs -lopenal -lalut -lGL -lGLU + #LIBS = -s -Bstatic `sdl-config --static-libs` SDL_image/*.o SDL_ttf/*.o -L. physfs/*.o openal/*.o -ljpeg -lpng -ltiff -lfreetype -Bdynamic -lGL -lGLU + PREFIX=/usr/local + BINDIR=$(PREFIX)/bin/ +@@ -16,12 +16,12 @@ + + + .cpp.o: +- $(CC) $(CFLAGS) $(DEFINES) -o ${patsubst %.cpp, %.o, $<} -c $< ++ $(CXX) $(CXXFLAGS) $(DEFINES) -o ${patsubst %.cpp, %.o, $<} -c $< + + all: $(TARGET) + + $(TARGET): $(OBJS) +- $(CC) $(CFLAGS) -o $(TARGET) $(LIBS) $(OBJS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS) + + clean: + rm -f $(OBJS) $(TARGET) diff --git a/games-arcade/excido/files/excido-0.1.5c-freealut.patch b/games-arcade/excido/files/excido-0.1.5c-freealut.patch new file mode 100644 index 000000000000..d0538083af1f --- /dev/null +++ b/games-arcade/excido/files/excido-0.1.5c-freealut.patch @@ -0,0 +1,38 @@ +--- src/SoundCore.cpp ++++ src/SoundCore.cpp +@@ -352,32 +352,13 @@ + + PHYSFS_close(filehandle); + +- ALenum format; +- ALvoid *data; +- ALsizei size,freq; +- ALboolean loop=AL_FALSE; + ALenum error; + + alGetError(); + +- alGenBuffers(1,&newsample.alid); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alGenBuffers\n"); +- PrintALError(error); +- } +- alutLoadWAVMemory((ALbyte*)filedata,&format,&data,&size,&freq,&loop); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alutLoadWAVMemory\n"); +- PrintALError(error); +- } +- alBufferData(newsample.alid,format,data,size,freq); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alBufferData\n"); +- PrintALError(error); +- } +- alutUnloadWAV(format,data,size,freq); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alutUnloadWAV\n"); ++ newsample.alid=alutCreateBufferFromFileImage(filedata, filesize); ++ if(((error=alGetError())!=AL_NO_ERROR)||(newsample.alid==AL_NONE)){ ++ fprintf(stderr,"SoundCore::LoadSample: Error on alutCreateBufferFromFileImage\n"); + PrintALError(error); + } + diff --git a/games-arcade/excido/metadata.xml b/games-arcade/excido/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/excido/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |