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/skystreets
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/skystreets')
-rw-r--r--games-arcade/skystreets/Manifest1
-rw-r--r--games-arcade/skystreets/files/0.2.4-gl.patch10
-rw-r--r--games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch11
-rw-r--r--games-arcade/skystreets/metadata.xml8
-rw-r--r--games-arcade/skystreets/skystreets-0.2.4.ebuild33
5 files changed, 63 insertions, 0 deletions
diff --git a/games-arcade/skystreets/Manifest b/games-arcade/skystreets/Manifest
new file mode 100644
index 000000000000..cad8f4dfc4bc
--- /dev/null
+++ b/games-arcade/skystreets/Manifest
@@ -0,0 +1 @@
+DIST skystreets-0.2.4.tar.bz2 1838860 SHA256 008a4a1947399902e7726d1f16d430b1029445477ac17eeb7755ee019570cb09 SHA512 b27ac359f3f4e187aa3fa6d576574301baee56a90a7502b10976924b7def95a65adac47940637b02467ad3902df981e33871cfb7f81e583f478b7319e6baafe6 WHIRLPOOL f035deef81658fc9aaa4587dbd44dc3772a3d7408876216ff0838436957aba5e7e3489fa8ad421800eb4c37ae46097a779e686b3b56090f2d9f5bf9940223abb
diff --git a/games-arcade/skystreets/files/0.2.4-gl.patch b/games-arcade/skystreets/files/0.2.4-gl.patch
new file mode 100644
index 000000000000..6ff5548a5fa3
--- /dev/null
+++ b/games-arcade/skystreets/files/0.2.4-gl.patch
@@ -0,0 +1,10 @@
+--- game.cpp.old 2004-12-31 01:02:13.351382184 +1100
++++ game.cpp 2004-12-31 01:02:26.415396152 +1100
+@@ -8,6 +8,7 @@
+ #include <windows.h>
+ #endif
+
++#define GL_GLEXT_PROTOTYPES 1
+ #include <GL/gl.h>
+ #include "SDL.h"
+ #include <string.h>
diff --git a/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch b/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch
new file mode 100644
index 000000000000..414cd3d61ce4
--- /dev/null
+++ b/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.old 2009-02-02 18:04:04.000000000 +0100
++++ Makefile.in 2009-02-02 18:04:37.000000000 +0100
+@@ -78,7 +78,7 @@
+ EXTRA_DIST = *.h CODE BUGS
+ INCLUDES = `sdl-config --cflags` -Wall -O2 -DDATAPATH=\"$(pkgdatadir)\"
+ #LDFLAGS = -lSDL_image -lm
+-LDFLAGS = -lSDL_image -lGL -lGLU -lm
++LDADD = -lSDL_image -lGL -lGLU -lm
+ # LDFLAGS = `sdl-config --libs` -lSDL_image -lm
+ SUBDIRS = audio gfx levels
+ AUTOMAKE_OPTIONS = dist-bzip2
diff --git a/games-arcade/skystreets/metadata.xml b/games-arcade/skystreets/metadata.xml
new file mode 100644
index 000000000000..9203495e4844
--- /dev/null
+++ b/games-arcade/skystreets/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="freecode">skystreets</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-arcade/skystreets/skystreets-0.2.4.ebuild b/games-arcade/skystreets/skystreets-0.2.4.ebuild
new file mode 100644
index 000000000000..16cc04ca2fa0
--- /dev/null
+++ b/games-arcade/skystreets/skystreets-0.2.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A remake of the old DOS game Skyroads"
+HOMEPAGE="http://freecode.com/projects/skystreets"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="OSL-2.0"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc x86"
+IUSE=""
+
+DEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl[opengl,video]
+ media-libs/sdl-image"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-gl.patch \
+ "${FILESDIR}"/${P}-as-needed.patch
+}
+
+src_install() {
+ default
+ newicon gfx/sunscene.png ${PN}.png
+ make_desktop_entry ${PN} SkyStreets
+ prepgamesdirs
+}