summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/yarsrevenge
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-arcade/yarsrevenge')
-rw-r--r--games-arcade/yarsrevenge/Manifest1
-rw-r--r--games-arcade/yarsrevenge/files/0.99-math.patch6
-rw-r--r--games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch10
-rw-r--r--games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch10
-rw-r--r--games-arcade/yarsrevenge/metadata.xml12
-rw-r--r--games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild30
6 files changed, 69 insertions, 0 deletions
diff --git a/games-arcade/yarsrevenge/Manifest b/games-arcade/yarsrevenge/Manifest
new file mode 100644
index 000000000000..2bbe8b25e3e1
--- /dev/null
+++ b/games-arcade/yarsrevenge/Manifest
@@ -0,0 +1 @@
+DIST yar-0.99.tar.gz 535043 SHA256 2aeb58bd1fedaf5d35f217dc0be13457edec48cf890a7684ae515b818b70662d SHA512 c520b9c6c7ff2c60c2e7e18e6c0d2ff376334706fb190ce0d015acba21815680029a30d7a573d0b4c41da2d9f932108417804141bf4557bc99550e30f699e8bb WHIRLPOOL 1eca4da5e0a3d1c0acefd3a4667e40a234ece78e957c36efd40a9b4faceb2c534943acb36f4df2bc515f5894521c050afa3add07e35bc07b84ef8f69938f8cfe
diff --git a/games-arcade/yarsrevenge/files/0.99-math.patch b/games-arcade/yarsrevenge/files/0.99-math.patch
new file mode 100644
index 000000000000..5d7d4619d9c5
--- /dev/null
+++ b/games-arcade/yarsrevenge/files/0.99-math.patch
@@ -0,0 +1,6 @@
+--- yar/graphics.cpp.orig 2004-06-02 14:14:38.174071320 -0400
++++ 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
new file mode 100644
index 000000000000..fe32b6c74e6c
--- /dev/null
+++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch
@@ -0,0 +1,10 @@
+--- yar/sgw.hxx
++++ yar/sgw.hxx
+@@ -24,6 +24,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ #define DEFAULT_SCX (1024) // Default Screen Size and Depth
+ #define DEFAULT_SCY (768)
diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch
new file mode 100644
index 000000000000..fca41cfbdf35
--- /dev/null
+++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch
@@ -0,0 +1,10 @@
+--- yar/game.cpp
++++ yar/game.cpp
+@@ -15,6 +15,7 @@
+ * *
+ ***************************************************************************/
+
++#include <cstdio>
+ #include "yar.hxx"
+
+
diff --git a/games-arcade/yarsrevenge/metadata.xml b/games-arcade/yarsrevenge/metadata.xml
new file mode 100644
index 000000000000..d5cb5faefdfd
--- /dev/null
+++ b/games-arcade/yarsrevenge/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <longdescription>
+A rather wierd shoot-em-up game that originated on the Atari 2600. It's more fun
+than it looks. Just released so might be tweaked.
+</longdescription>
+ <upstream>
+ <remote-id type="freshmeat">yarsrevenge</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
new file mode 100644
index 000000000000..5d37d87c35b6
--- /dev/null
+++ b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+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 ~ppc sparc 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
+ prepgamesdirs
+}