From d0c0ffb7c1064265297be5cd2541253550c0b141 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Mon, 16 Apr 2018 21:40:01 +0200 Subject: games-arcade/excido: Stop using games.eclass Package-Manager: Portage-2.3.28, Repoman-2.3.9 --- games-arcade/excido/excido-0.1.5c-r3.ebuild | 40 ++++++++++++++++++++++ .../excido/files/excido-0.1.5c-build.patch | 4 +-- .../excido/files/excido-0.1.5c-freealut.patch | 4 +-- 3 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 games-arcade/excido/excido-0.1.5c-r3.ebuild (limited to 'games-arcade') diff --git a/games-arcade/excido/excido-0.1.5c-r3.ebuild b/games-arcade/excido/excido-0.1.5c-r3.ebuild new file mode 100644 index 000000000000..cea4558b0b61 --- /dev/null +++ b/games-arcade/excido/excido-0.1.5c-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +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}" + +PATCHES=( + "${FILESDIR}"/${P}-freealut.patch + "${FILESDIR}"/${P}-build.patch +) + +src_compile() { + emake DATADIR=/usr/share/${PN}/ +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins data/* + dodoc BUGS CHANGELOG HACKING README TODO \ + keyguide.txt data/CREDITS data/*.txt +} diff --git a/games-arcade/excido/files/excido-0.1.5c-build.patch b/games-arcade/excido/files/excido-0.1.5c-build.patch index 779d9c3f4066..1735b51ccdfc 100644 --- a/games-arcade/excido/files/excido-0.1.5c-build.patch +++ b/games-arcade/excido/files/excido-0.1.5c-build.patch @@ -1,5 +1,5 @@ ---- Makefile -+++ Makefile +--- a/Makefile ++++ b/Makefile @@ -1,8 +1,8 @@ -CC=g++ -CFLAGS=`sdl-config --cflags` #-g -Wall #-O2 diff --git a/games-arcade/excido/files/excido-0.1.5c-freealut.patch b/games-arcade/excido/files/excido-0.1.5c-freealut.patch index d0538083af1f..c29999fae25d 100644 --- a/games-arcade/excido/files/excido-0.1.5c-freealut.patch +++ b/games-arcade/excido/files/excido-0.1.5c-freealut.patch @@ -1,5 +1,5 @@ ---- src/SoundCore.cpp -+++ src/SoundCore.cpp +--- a/src/SoundCore.cpp ++++ b/src/SoundCore.cpp @@ -352,32 +352,13 @@ PHYSFS_close(filehandle); -- cgit v1.2.3-65-gdbad