diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/excido | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-arcade/excido')
-rw-r--r-- | games-arcade/excido/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/excido/excido-0.1.5c-r2.ebuild | 43 | ||||
-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 | 5 |
5 files changed, 116 insertions, 0 deletions
diff --git a/games-arcade/excido/Manifest b/games-arcade/excido/Manifest new file mode 100644 index 000000000000..109adaf35683 --- /dev/null +++ b/games-arcade/excido/Manifest @@ -0,0 +1 @@ +DIST excido-0.1.5c-src.tar.bz2 2981629 SHA256 d53bcaf4e18265ece7c4206c91cdf26682ff1aeba917cb9d5bd2f4218ce364ef SHA512 9e1b98ed31eac735087f451c466d0e0d1b885ad5336f7994abf8f844b1c27cc24e90048306ffd62864fa5ab2bada6744b4b54991c6eb9b22624af20c645e02d7 WHIRLPOOL b85063e7b934953c3302bcc7ba1abc6c54263554b304844d059060c03a3fa486f21d9f7c3f1e96ad3441955b09e3ca2dd30b3bf3b4580f2007afaf11b74dc891 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..daf4feaa722a --- /dev/null +++ b/games-arcade/excido/excido-0.1.5c-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ppc 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..d3c2cc926f0b --- /dev/null +++ b/games-arcade/excido/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |