diff options
author | Austin English <wizardedit@gentoo.org> | 2016-10-15 05:38:00 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-10-15 06:08:15 -0500 |
commit | 8b2d43b31cd434601faf4c2e4327a7c23b0d2e95 (patch) | |
tree | ee393c7ae18007489dbdc24ee65f9dbbd65aa29a /games-rpg | |
parent | games-rpg/kqlives: remove deprecated games eclass (diff) | |
download | gentoo-8b2d43b31cd434601faf4c2e4327a7c23b0d2e95.tar.gz gentoo-8b2d43b31cd434601faf4c2e4327a7c23b0d2e95.tar.bz2 gentoo-8b2d43b31cd434601faf4c2e4327a7c23b0d2e95.zip |
games-rpg/openglad: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/openglad/files/0.98-gladpack.c.patch | 2 | ||||
-rw-r--r-- | games-rpg/openglad/files/openglad-0.98-gcc43.patch | 4 | ||||
-rw-r--r-- | games-rpg/openglad/files/openglad-0.98-ovfl.patch | 4 | ||||
-rw-r--r-- | games-rpg/openglad/openglad-0.98-r1.ebuild | 43 |
4 files changed, 48 insertions, 5 deletions
diff --git a/games-rpg/openglad/files/0.98-gladpack.c.patch b/games-rpg/openglad/files/0.98-gladpack.c.patch index 061ccbf36305..b4f5de9e3995 100644 --- a/games-rpg/openglad/files/0.98-gladpack.c.patch +++ b/games-rpg/openglad/files/0.98-gladpack.c.patch @@ -1,4 +1,4 @@ ---- openglad-0.98.orig/util/gladpack.c 2002-09-14 18:37:50.000000000 +1000 +--- openglad-0.98/util/gladpack.c 2002-09-14 18:37:50.000000000 +1000 +++ openglad-0.98/util/gladpack.c 2003-12-06 12:42:31.393812945 +1100 @@ -9,8 +9,8 @@ diff --git a/games-rpg/openglad/files/openglad-0.98-gcc43.patch b/games-rpg/openglad/files/openglad-0.98-gcc43.patch index 831bb53671d4..9f46ce8e5b95 100644 --- a/games-rpg/openglad/files/openglad-0.98-gcc43.patch +++ b/games-rpg/openglad/files/openglad-0.98-gcc43.patch @@ -1,5 +1,5 @@ ---- src/parser.cpp -+++ src/parser.cpp +--- a/src/parser.cpp ++++ b/src/parser.cpp @@ -23,6 +23,8 @@ #include <iostream> #include <fstream> diff --git a/games-rpg/openglad/files/openglad-0.98-ovfl.patch b/games-rpg/openglad/files/openglad-0.98-ovfl.patch index 14cd73cc53b0..8ec89d22559d 100644 --- a/games-rpg/openglad/files/openglad-0.98-ovfl.patch +++ b/games-rpg/openglad/files/openglad-0.98-ovfl.patch @@ -1,5 +1,5 @@ ---- src/screen.cpp.old 2011-07-23 21:35:34.385063301 +0200 -+++ src/screen.cpp 2011-07-23 21:35:59.948063312 +0200 +--- a/src/screen.cpp 2011-07-23 21:35:34.385063301 +0200 ++++ b/src/screen.cpp 2011-07-23 21:35:59.948063312 +0200 @@ -2383,7 +2383,7 @@ short listsize; short i; diff --git a/games-rpg/openglad/openglad-0.98-r1.ebuild b/games-rpg/openglad/openglad-0.98-r1.ebuild new file mode 100644 index 000000000000..8e6381cf4809 --- /dev/null +++ b/games-rpg/openglad/openglad-0.98-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="An SDL clone of Gladiator, a classic RPG game" +HOMEPAGE="http://snowstorm.sourceforge.net/" +SRC_URI="mirror://sourceforge/snowstorm/${P}.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=" + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-image + media-libs/sdl-mixer" +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${PV}-gladpack.c.patch + "${FILESDIR}"/${P}-ovfl.patch +) + +src_configure() { + econf \ + --prefix=/usr \ + --bindir=/usr/bin \ + --datadir=/usr/share/${PN} +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + docdir="${D}"/usr/share/doc/${PF} + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry openglad OpenGladiator +} |