summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2011-06-07 13:45:40 +0000
committerTony Vroon <chainsaw@gentoo.org>2011-06-07 13:45:40 +0000
commit89c73a344434254f5bc11222247e49d5d9384309 (patch)
tree553417823cb1281c146ecb438e3165e169d23a2a /games-arcade
parentRevision bump. Patch from upstream fixes memory corruption for Android/Cyanog... (diff)
downloadhistorical-89c73a344434254f5bc11222247e49d5d9384309.tar.gz
historical-89c73a344434254f5bc11222247e49d5d9384309.tar.bz2
historical-89c73a344434254f5bc11222247e49d5d9384309.zip
Revision bump. Renaming the game binary for backwards compatibility was ill-advised as it broke the desktop launcher file. Diagnosed & fixed up by Alexandre Rostovtsev in bug #367979.
Package-Manager: portage-2.1.10/cvs/Linux x86_64
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/opentyrian/ChangeLog9
-rw-r--r--games-arcade/opentyrian/Manifest9
-rw-r--r--games-arcade/opentyrian/opentyrian-20110517-r1.ebuild47
3 files changed, 60 insertions, 5 deletions
diff --git a/games-arcade/opentyrian/ChangeLog b/games-arcade/opentyrian/ChangeLog
index 28ea5f7245a3..dbe87bcae29c 100644
--- a/games-arcade/opentyrian/ChangeLog
+++ b/games-arcade/opentyrian/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-arcade/opentyrian
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.9 2011/05/17 12:50:57 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.10 2011/06/07 13:45:40 chainsaw Exp $
+
+*opentyrian-20110517-r1 (07 Jun 2011)
+
+ 07 Jun 2011; Tony Vroon <chainsaw@gentoo.org> +opentyrian-20110517-r1.ebuild:
+ Revision bump. Renaming the game binary for backwards compatibility was
+ ill-advised as it broke the desktop launcher file. Diagnosed & fixed up by
+ Alexandre Rostovtsev in bug #367979.
*opentyrian-20110517 (17 May 2011)
diff --git a/games-arcade/opentyrian/Manifest b/games-arcade/opentyrian/Manifest
index f853227bf9f1..cb873aebfacd 100644
--- a/games-arcade/opentyrian/Manifest
+++ b/games-arcade/opentyrian/Manifest
@@ -12,13 +12,14 @@ DIST opentyrian-20110517.tar.bz2 2580253 RMD160 4ac96512a5424bb6a1b979d6008d431d
DIST tyrian21.zip 4754048 RMD160 62d69ebcb98db8bae64f9bf9efc453d961e9efe2 SHA1 29827de99c92cdba7ac8d8b1307776c8f473cd44 SHA256 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277
EBUILD opentyrian-20090702.ebuild 1328 RMD160 f68625e0c4d85cae6e5467f2a4530c3d036b080a SHA1 8f818b492af015b48e356c33f7097bc01136e7fa SHA256 0e8659ee3d75e41c04d80babf508872c2b035ba99aac697d88b965e928dd6afb
EBUILD opentyrian-20091025.ebuild 1261 RMD160 c979cabb6376c9e645888c1d38b438db55df3b28 SHA1 6f6d3f5c4e0578dc18f3ce0c22da73c6564ee8c2 SHA256 817a8810c903878b33b53e27e5281f0938836fb61395ccc5d22b5aad55aa6799
+EBUILD opentyrian-20110517-r1.ebuild 1547 RMD160 551050d585c6d13b82bdb6dfb88cf257bbbb7557 SHA1 946dc8714dac367dc410dcf7a3cf5e50e3f435e0 SHA256 26ae693e9c6d2cc754a89daa224cf79db64bec1aa9afa7f182b3a986b6618879
EBUILD opentyrian-20110517.ebuild 1302 RMD160 0ffc1e0c2a02dff169095c513e4efa8c5c74c794 SHA1 599ef915880e1e66908de8a252bc022f09984857 SHA256 fde00a4685900f912da12c7446ffa60db100fbb6a57fc6a9644dc5fe49945335
-MISC ChangeLog 2213 RMD160 811c42914ba3ae6422987fe1ae83c53246030111 SHA1 4621d7aea68a47f148fd246a4f546f274d8a1585 SHA256 ff0905a911c6154b960b26f4051f1f733aa8087527c38f486fe222b9609163f4
+MISC ChangeLog 2524 RMD160 944325be6b44ebd0834c42b06dc75a39aabcf8ab SHA1 c71156ef008a0a23ecd0ac4aa28e595ba4aa1604 SHA256 d3b8952f03966a66cd383240d3696c93db1b804abe84cfd6324db4944d36045b
MISC metadata.xml 248 RMD160 b4db6b5c35ecb316653b3692c21c208e9e431a5f SHA1 f4ca5bd5587de4bb2546172472f9f997c8812778 SHA256 902e1ccbd26bbb00bb47d7901cf47ddb3126dc7b8a3cabcb930838d923bd68bc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk3Sby4ACgkQp5vW4rUFj5psdgCfYDuNbEIrYFwDdTbNTkemU8MK
-wBYAnAnAlqdG6lTCu2vNtNW8FRvsBpDR
-=pr1D
+iEYEARECAAYFAk3uK4YACgkQp5vW4rUFj5qowQCfWQCAxeeNXfL/vTng19or2tfk
+xk0An2538WPyB0r4mBXOkG3QAVnzrgXY
+=FPCD
-----END PGP SIGNATURE-----
diff --git a/games-arcade/opentyrian/opentyrian-20110517-r1.ebuild b/games-arcade/opentyrian/opentyrian-20110517-r1.ebuild
new file mode 100644
index 000000000000..f2805279eb18
--- /dev/null
+++ b/games-arcade/opentyrian/opentyrian-20110517-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/opentyrian-20110517-r1.ebuild,v 1.1 2011/06/07 13:45:40 chainsaw Exp $
+
+inherit base 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 ~x86"
+IUSE=""
+S="${WORKDIR}/${PN}"
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-net"
+# Yes, mercurial is needed to set the build version stamp.
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-vcs/mercurial"
+PATCHES=(
+ "${FILESDIR}/${PV}-datapath.diff"
+ "${FILESDIR}/${PV}-cflag-idiocy.diff"
+)
+
+src_compile() {
+ emake DATA_PATH="${GAMES_DATADIR}/${PN}" || die "Compilation failed"
+}
+
+src_install() {
+ dogamesbin opentyrian || die "Failed to install game binary"
+ dosym "${GAMES_BINDIR}/opentyrian" "${GAMES_BINDIR}/tyrian" || die "Failed to symlink"
+ dodoc CREDITS NEWS README || die "Failed to install documentation"
+ domenu linux/opentyrian.desktop || die "Failed to install desktop file"
+ for i in linux/icons/*.png ; do
+ local size=`echo ${i} | sed -e 's:.*-\([0-9]\+\).png:\1:'`
+ insinto /usr/share/icons/hicolor/${size}x${size}/apps
+ newins ${i} opentyrian.png || die "Failed to install program icon"
+ done
+ insinto "${GAMES_DATADIR}/${PN}"
+ cd "${WORKDIR}/tyrian21"
+ doins * || die "Failed to install game data"
+ prepgamesdirs
+}