From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/openglad/files/, games-rpg/openglad/
Date: Sat, 15 Oct 2016 11:08:35 +0000 (UTC) [thread overview]
Message-ID: <1476529695.8b2d43b31cd434601faf4c2e4327a7c23b0d2e95.wizardedit@gentoo> (raw)
commit: 8b2d43b31cd434601faf4c2e4327a7c23b0d2e95
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 10:38:00 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 11:08:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b2d43b3
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
games-rpg/openglad/files/0.98-gladpack.c.patch | 2 +-
games-rpg/openglad/files/openglad-0.98-gcc43.patch | 4 +-
games-rpg/openglad/files/openglad-0.98-ovfl.patch | 4 +-
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 061ccbf..b4f5de9 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 831bb53..9f46ce8 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 14cd73c..8ec89d2 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 00000000..8e6381c
--- /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
+}
next reply other threads:[~2016-10-15 11:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-15 11:08 Austin English [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-25 1:36 [gentoo-commits] repo/gentoo:master commit in: games-rpg/openglad/files/, games-rpg/openglad/ Ionen Wolkens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476529695.8b2d43b31cd434601faf4c2e4327a7c23b0d2e95.wizardedit@gentoo \
--to=wizardedit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox