summaryrefslogtreecommitdiff
path: root/games-arcade/skystreets
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/skystreets')
-rw-r--r--games-arcade/skystreets/Manifest7
-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.xml11
-rw-r--r--games-arcade/skystreets/skystreets-0.2.4.ebuild32
5 files changed, 71 insertions, 0 deletions
diff --git a/games-arcade/skystreets/Manifest b/games-arcade/skystreets/Manifest
new file mode 100644
index 000000000000..07cded0e6950
--- /dev/null
+++ b/games-arcade/skystreets/Manifest
@@ -0,0 +1,7 @@
+AUX 0.2.4-gl.patch 240 SHA256 3ef4da054d7db6656862f2b189b7141764125afa7fcb2e6108028b6b2fa0fa0c SHA512 2199f827f414bf44b1d52cc48293ec9070445d39f91c153ad748e0b6dde9dbad41ed7aecb142c18f49ff0a7e8e2b850f24536861a330a955025a9dc940552785 WHIRLPOOL 1110c678630750c7ded99042d68c9855d27fa74ef551b79fe7fd868094536216852630d727f1bdfefc2f9674648bca25c130facf4bb323ab115b0cac45b0fc49
+AUX skystreets-0.2.4-as-needed.patch 437 SHA256 c5b5f2ca9db0fcd907b620578f7a6d2ca60e55ed97cb9d0181b252cbd87041cd SHA512 a62e31cb23e766ef53460f6dde86e35040218e94939607622d0d9a625d5c291007b6cd59a7e3267e109cbb6d2c20f31b841a5340a19a570852b9f20cd1b6e18b WHIRLPOOL 04e6136674c2d11f0fc04266c0c69b419416f5013d1034b7b0d6780eb42cd790bc75c66c3e9ad799b2a840dcdf52795319bf0dec0719d5d139e7f6f0d4278c74
+DIST skystreets-0.2.4.tar.bz2 1838860 SHA256 008a4a1947399902e7726d1f16d430b1029445477ac17eeb7755ee019570cb09 SHA512 b27ac359f3f4e187aa3fa6d576574301baee56a90a7502b10976924b7def95a65adac47940637b02467ad3902df981e33871cfb7f81e583f478b7319e6baafe6 WHIRLPOOL f035deef81658fc9aaa4587dbd44dc3772a3d7408876216ff0838436957aba5e7e3489fa8ad421800eb4c37ae46097a779e686b3b56090f2d9f5bf9940223abb
+EBUILD skystreets-0.2.4.ebuild 665 SHA256 ae305c67839e0e5513f50d4932222311b3f7c63ca3775e3aa6e79cf8050ce77d SHA512 589d75e71cddd9503f6a82c65c505eb40325e9e05459ab9fe253646d704271f2129b5cdb6a72e1a893f5b20557cf72e289926708534b6ad9ce62a6cbe65ea6c9 WHIRLPOOL 4f5cb49aa6d59444d2ad9a57edc0f7256e01d4ebf17cc4b6059184735f016018443fa1c0d22b106b52626d29cb4a03ac2b3caedf49c84ade0c8a304e1449c282
+MISC ChangeLog 2506 SHA256 d829bd97b2b90ac9535b9117a899265e9a65fcea5ad50f257730d9daa1bfefed SHA512 fcaa13c75214e838911ce3e2e48638141beda3333a3aea0a653af1533f066224831887ec635d1627830eee4ba675239fa9ddd4521ca02e95aa287d33ec654c71 WHIRLPOOL 8460c398f300e23771578dd271f83974bfca88d3880640699d51f3fc4ddcae8722c4f8bae462af54410e785c21a575c2147b03afd8da8595230926b3046eab32
+MISC ChangeLog-2015 2922 SHA256 a00f14e5f812b1d3db1abacd174fe735a149eb50625a185f0e57abf2db488f1e SHA512 706caed5e3b4605e732c612cdc76ede1dad6f93d4d630a55181e16419a429fdc17d1736d1414d89a88848666adceaface84c8a9b875578f9658bb7c5ee7f0d15 WHIRLPOOL d1920c812ddd14444f923ffa94de78d61f90bc016c5714afd29e16c4041c11455c50a42ab0a63fe2f0aeada5f18a226e80ec407092eb7f47623e13d897f7e259
+MISC metadata.xml 330 SHA256 c1884a96b24cf7c88fc5b563257880edebd092afb88d850af63fbf67329d37bd SHA512 6b25b5c3f1337101ef3bafd5e88f5b134605c7fff1759c859db1948ab23423f02bd128cc407cb4af451923e9031fa5558339ec0e32b1e9378fd8abbd0e85d325 WHIRLPOOL 488dc059726917f32a41042f99ad219040ec5d0b254c0f0be4d75aec3e0ba08243afce6f4c07ec41033bb9bbde803775ad58705b6b69a5fe32cb319cfa7b2f9f
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..47eeb6f42b45
--- /dev/null
+++ b/games-arcade/skystreets/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <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..cc87f25d8711
--- /dev/null
+++ b/games-arcade/skystreets/skystreets-0.2.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 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
+}