* [gentoo-commits] repo/gentoo:master commit in: games-arcade/yarsrevenge/, games-arcade/yarsrevenge/files/
@ 2018-04-25 18:29 Pacho Ramos
0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2018-04-25 18:29 UTC (permalink / raw
To: gentoo-commits
commit: e8f837187411c684183debc5f8bbc5d0d6c60b31
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 25 18:26:02 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Apr 25 18:29:40 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f83718
games-arcade/yarsrevenge: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
games-arcade/yarsrevenge/files/0.99-math.patch | 4 +--
.../yarsrevenge/files/yarsrevenge-0.99-gcc43.patch | 4 +--
.../yarsrevenge/files/yarsrevenge-0.99-gcc44.patch | 4 +--
.../yarsrevenge/yarsrevenge-0.99-r1.ebuild | 30 ++++++++++++++++++++++
4 files changed, 36 insertions(+), 6 deletions(-)
diff --git a/games-arcade/yarsrevenge/files/0.99-math.patch b/games-arcade/yarsrevenge/files/0.99-math.patch
index 5d7d4619d9c..5e113697232 100644
--- a/games-arcade/yarsrevenge/files/0.99-math.patch
+++ b/games-arcade/yarsrevenge/files/0.99-math.patch
@@ -1,5 +1,5 @@
---- yar/graphics.cpp.orig 2004-06-02 14:14:38.174071320 -0400
-+++ yar/graphics.cpp 2004-06-02 14:14:50.352219960 -0400
+--- a/yar/graphics.cpp.orig 2004-06-02 14:14:38.174071320 -0400
++++ b/yar/graphics.cpp 2004-06-02 14:14:50.352219960 -0400
@@ -18,2 +18,3 @@
#include "yar.hxx"
+#include <cmath>
diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch
index fe32b6c74e6..511fad0091e 100644
--- a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch
+++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch
@@ -1,5 +1,5 @@
---- yar/sgw.hxx
-+++ yar/sgw.hxx
+--- a/yar/sgw.hxx
++++ b/yar/sgw.hxx
@@ -24,6 +24,7 @@
#include <iostream>
diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch
index fca41cfbdf3..29a52125c90 100644
--- a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch
+++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch
@@ -1,5 +1,5 @@
---- yar/game.cpp
-+++ yar/game.cpp
+--- a/yar/game.cpp
++++ b/yar/game.cpp
@@ -15,6 +15,7 @@
* *
***************************************************************************/
diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild
new file mode 100644
index 00000000000..b6923570b8f
--- /dev/null
+++ b/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="Remake of the Atari 2600 classic Yar's Revenge"
+HOMEPAGE="http://freshmeat.net/projects/yarsrevenge/"
+SRC_URI="http://www.autismuk.freeserve.co.uk/yar-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,joystick,video]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/yar-${PV}"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-math.patch
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gcc44.patch
+)
+
+src_install() {
+ default
+ make_desktop_entry "${PN}" "Yar's Revenge"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-25 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-25 18:29 [gentoo-commits] repo/gentoo:master commit in: games-arcade/yarsrevenge/, games-arcade/yarsrevenge/files/ Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox