summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2009-03-01 12:45:36 +0000
committerTony Vroon <chainsaw@gentoo.org>2009-03-01 12:45:36 +0000
commitc04c679330c96c36087f344595703782f01b4cd6 (patch)
treeec617947a97feaf407ee322b03f7819398dcfe82 /games-arcade
parentVersion bump (diff)
downloadhistorical-c04c679330c96c36087f344595703782f01b4cd6.tar.gz
historical-c04c679330c96c36087f344595703782f01b4cd6.tar.bz2
historical-c04c679330c96c36087f344595703782f01b4cd6.zip
Version bump to new snapshot.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/opentyrian/ChangeLog8
-rw-r--r--games-arcade/opentyrian/Manifest15
-rw-r--r--games-arcade/opentyrian/files/20090222-datapath.diff25
-rw-r--r--games-arcade/opentyrian/opentyrian-20090222.ebuild47
4 files changed, 93 insertions, 2 deletions
diff --git a/games-arcade/opentyrian/ChangeLog b/games-arcade/opentyrian/ChangeLog
index 044e06b0bb7d..18da0f0b7fee 100644
--- a/games-arcade/opentyrian/ChangeLog
+++ b/games-arcade/opentyrian/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/opentyrian
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.2 2009/01/09 22:16:34 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.3 2009/03/01 12:45:36 chainsaw Exp $
+
+*opentyrian-20090222 (01 Mar 2009)
+
+ 01 Mar 2009; <chainsaw@gentoo.org> +files/20090222-datapath.diff,
+ +opentyrian-20090222.ebuild:
+ Version bump to new snapshot.
09 Jan 2009; Joseph Jezak <josejx@gentoo.org> opentyrian-20081211.ebuild:
Marked ~ppc for bug #251579.
diff --git a/games-arcade/opentyrian/Manifest b/games-arcade/opentyrian/Manifest
index d8f5caed5711..9357217d0064 100644
--- a/games-arcade/opentyrian/Manifest
+++ b/games-arcade/opentyrian/Manifest
@@ -1,6 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 20081211-datapath.diff 869 RMD160 0bd6bf06c008c39d3d60827e4587b5dae7e9711a SHA1 c3dec78340ac2adae27b4b87b31b2f540127ac77 SHA256 cec5dc45be105172073b8704db977a2154cca6ab5089ffc5e6775db09cff0b28
+AUX 20090222-datapath.diff 869 RMD160 a92038bc8146846f8b7a18c1cb793c6ac45b472a SHA1 fd80d783a5e3efce52a7fb62d332e0aab7a261ee SHA256 a7a65a1bd5e9969b92f5d170d9af7e4d3ecffeb3cc06ccb709980c7f4755df20
DIST opentyrian-20081211.tar.bz2 360671 RMD160 bd1013fdd5197efa3ba8ed1db094eae83a1b7129 SHA1 1f7b47bc2d117c4effe9e76abbe5ab8e77fc406f SHA256 26d49706689ece866f082219d19a521dd31476be6d6160167e7f9f4678ceab03
+DIST opentyrian-20090222.tar.bz2 373259 RMD160 1fdd393fcccb8c7f5bb7d288d94d1af2c5783e90 SHA1 20bc087ae6476ddcf44d302970417aec4131c068 SHA256 f1e77761684dfa1ce2f51cd5fda69a4747887c73542989d47e9564ede8d53189
DIST tyrian21.zip 4754048 RMD160 62d69ebcb98db8bae64f9bf9efc453d961e9efe2 SHA1 29827de99c92cdba7ac8d8b1307776c8f473cd44 SHA256 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277
EBUILD opentyrian-20081211.ebuild 1322 RMD160 faa02f35fa9508c4b49061fdbaa53d225c5864e8 SHA1 9ba13cc9006b3058ff966c785ac72f95ca96d682 SHA256 ed496d4556d30ecdd286e21b4350c5b19f0f851251b154063514aea74ddc60f5
-MISC ChangeLog 584 RMD160 39137f50167f82585c8ebb7da53fe88e7d7a675c SHA1 a9d0fc30f346c09f57e325866f1d3cfed51b14ca SHA256 7c14dc972a4237236626013ddb2f1a0019bcb3e76fce2cc4407d41b55a9a9be4
+EBUILD opentyrian-20090222.ebuild 1324 RMD160 6a4b0e2a9813130c1644e9d3ad7e99c7aebc2a32 SHA1 e947f5764dcda430cb22490f606fcdaa5d7b30e9 SHA256 890c0d76ad40614ddafc4d71fa1c99530e1babe49f795a28744ae48f23714033
+MISC ChangeLog 754 RMD160 251d28fadc3907656a501fced0ae9035396b5393 SHA1 d764da4c326c418089d60b5837ddc3340a61ad2e SHA256 f54917d59431017f21b468742390a2a0acd0eee66436b62ace133cd13e735985
MISC metadata.xml 248 RMD160 b4db6b5c35ecb316653b3692c21c208e9e431a5f SHA1 f4ca5bd5587de4bb2546172472f9f997c8812778 SHA256 902e1ccbd26bbb00bb47d7901cf47ddb3126dc7b8a3cabcb930838d923bd68bc
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.10 (GNU/Linux)
+
+iEYEARECAAYFAkmqgyUACgkQp5vW4rUFj5qOHwCdH3KST9WoylnVWe43cJbnfTYP
+OWwAn1RB6dDmt6ozl7pawjUXy/Qqy0fo
+=QZbx
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/opentyrian/files/20090222-datapath.diff b/games-arcade/opentyrian/files/20090222-datapath.diff
new file mode 100644
index 000000000000..6decdf8dd89b
--- /dev/null
+++ b/games-arcade/opentyrian/files/20090222-datapath.diff
@@ -0,0 +1,25 @@
+diff -uNr opentyrian.ORIG/Makefile opentyrian/Makefile
+--- opentyrian.ORIG/Makefile 2009-03-01 12:09:16.000000000 +0000
++++ opentyrian/Makefile 2009-03-01 12:09:55.000000000 +0000
+@@ -51,6 +51,9 @@
+ CFLAGS += -DSVN_REV=\"$(SVN_REV)\"
+ endif
+
++ifneq ($(DATA_PATH), )
++ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\"
++endif
+ ####################################################
+
+ all : $(TARGET)
+diff -uNr opentyrian.ORIG/src/error.c opentyrian/src/error.c
+--- opentyrian.ORIG/src/error.c 2009-03-01 12:09:16.000000000 +0000
++++ opentyrian/src/error.c 2009-03-01 12:09:55.000000000 +0000
+@@ -37,7 +37,7 @@
+ char err_msg[1000] = "No error!?";
+
+ #ifndef TARGET_MACOSX
+-static const char *tyrian_searchpaths[] = { "data", "tyrian", "tyrian2k" };
++static const char *tyrian_searchpaths[] = { DATA_PATH , "data", "tyrian", "tyrian2k" };
+ #endif
+
+ long get_stream_size( FILE *f )
diff --git a/games-arcade/opentyrian/opentyrian-20090222.ebuild b/games-arcade/opentyrian/opentyrian-20090222.ebuild
new file mode 100644
index 000000000000..2c8da157f15c
--- /dev/null
+++ b/games-arcade/opentyrian/opentyrian-20090222.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/opentyrian-20090222.ebuild,v 1.1 2009/03/01 12:45:36 chainsaw Exp $
+
+inherit eutils games
+
+DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter"
+HOMEPAGE="http://code.google.com/p/opentyrian/"
+SRC_URI="http://darklomax.org/tyrian/tyrian21.zip
+ mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc"
+IUSE="debug"
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-net"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-util/subversion"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-datapath.diff"
+ if ! use debug; then
+ sed -i -e "s@DEBUG := 1@DEBUG := 0@" "${S}/Makefile" || die "sed failed"
+ fi
+}
+
+src_compile() {
+ emake DATA_PATH="${GAMES_DATADIR}/${PN}" || die "Compilation failed"
+}
+
+src_install() {
+ dogamesbin tyrian || die "Failed to install game binary"
+ dodoc CREDITS NEWS README || die "Failed to install documentation"
+ domenu opentyrian.desktop || die "Failed to install desktop file"
+ doicon tyrian.xpm || die "Failed to install program icon"
+ insinto "${GAMES_DATADIR}/${PN}"
+ cd "${WORKDIR}/tyrian21"
+ doins * || die "Failed to install game data"
+ prepgamesdirs
+}