From 4901013b1c91d3ce3815751eb9f7a664f16f2751 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 3 Jun 2021 19:32:20 -0400 Subject: games-arcade/excido: fix direct c++, add desktop file Plus small style perference changes. Signed-off-by: Ionen Wolkens --- games-arcade/excido/excido-0.1.5c-r3.ebuild | 38 ----------------------- games-arcade/excido/excido-0.1.5c-r4.ebuild | 47 +++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 38 deletions(-) delete mode 100644 games-arcade/excido/excido-0.1.5c-r3.ebuild create mode 100644 games-arcade/excido/excido-0.1.5c-r4.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 deleted file mode 100644 index 92458fcc17df..000000000000 --- a/games-arcade/excido/excido-0.1.5c-r3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Fast paced action game" -HOMEPAGE="https://icculus.org/excido/" -SRC_URI="https://icculus.org/excido/${P}-src.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -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/excido-0.1.5c-r4.ebuild b/games-arcade/excido/excido-0.1.5c-r4.ebuild new file mode 100644 index 000000000000..6dd286165633 --- /dev/null +++ b/games-arcade/excido/excido-0.1.5c-r4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs + +DESCRIPTION="Fast paced action game" +HOMEPAGE="https://icculus.org/excido/" +SRC_URI="https://icculus.org/excido/${P}-src.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-games/physfs + media-libs/freealut + media-libs/libsdl[opengl] + media-libs/openal + media-libs/sdl-image[png] + media-libs/sdl-mixer + media-libs/sdl-ttf" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-freealut.patch + "${FILESDIR}"/${P}-build.patch +) + +src_compile() { + tc-export CXX + + emake DATADIR=/usr/share/${PN}/ +} + +src_install() { + dobin ${PN} + + insinto /usr/share/${PN} + doins -r data/. + + dodoc BUGS CHANGELOG HACKING README TODO \ + data/{CREDITS,readme-jf-nebula_sky.txt} keyguide.txt + + make_desktop_entry ${PN} Excido applications-games "Game;ArcadeGame" +} -- cgit v1.2.3-65-gdbad