summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2013-12-08 18:29:35 +0000
committerTony Vroon <chainsaw@gentoo.org>2013-12-08 18:29:35 +0000
commite1084803f9145760efcf78ed98aa0225d6121d22 (patch)
tree38ae8dd66636654194f75c3f03e5612cb2eeba39 /games-arcade/opentyrian
parentarm stable, bug #492430 (diff)
downloadhistorical-e1084803f9145760efcf78ed98aa0225d6121d22.tar.gz
historical-e1084803f9145760efcf78ed98aa0225d6121d22.tar.bz2
historical-e1084803f9145760efcf78ed98aa0225d6121d22.zip
Version bump, as requested by "Lumbrius" in bug #492360. Patches rediffed.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xB5058F9A
Diffstat (limited to 'games-arcade/opentyrian')
-rw-r--r--games-arcade/opentyrian/ChangeLog11
-rw-r--r--games-arcade/opentyrian/Manifest44
-rw-r--r--games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff15
-rw-r--r--games-arcade/opentyrian/files/2.1.20130907-datapath.diff26
-rw-r--r--games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild46
5 files changed, 120 insertions, 22 deletions
diff --git a/games-arcade/opentyrian/ChangeLog b/games-arcade/opentyrian/ChangeLog
index dbe87bcae29c..24c99a13d6ee 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.10 2011/06/07 13:45:40 chainsaw Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.11 2013/12/08 18:29:31 chainsaw Exp $
+
+*opentyrian-2.1.20130907 (08 Dec 2013)
+
+ 08 Dec 2013; Tony Vroon <chainsaw@gentoo.org>
+ +opentyrian-2.1.20130907.ebuild, +files/2.1.20130907-cflag-idiocy.diff,
+ +files/2.1.20130907-datapath.diff:
+ Version bump, as requested by "Lumbrius" in bug #492360. Patches rediffed.
*opentyrian-20110517-r1 (07 Jun 2011)
diff --git a/games-arcade/opentyrian/Manifest b/games-arcade/opentyrian/Manifest
index cb873aebfacd..feb2d47c18e2 100644
--- a/games-arcade/opentyrian/Manifest
+++ b/games-arcade/opentyrian/Manifest
@@ -1,25 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX 20090702-datapath.diff 765 RMD160 17ba34b4cb0605148771f806cc8216363aa2d126 SHA1 20b57ea12df04d77c44a7c1b835421168f5d6a3c SHA256 60512dfc66d8531f37bbd80a03cddfaf55793b63a8352041246fd9949ae27a41
-AUX 20091025-cflag-idiocy.diff 435 RMD160 2a3da7ec5cc7449b1bcc7e028878d15021aecfe5 SHA1 b8ef229c71da040cd9036717243d91654bc3ba64 SHA256 6ab38e19bfd3fb441e7db843e9c93d949b5934ee9febd79e5a25f09e039bfa48
-AUX 20091025-datapath.diff 742 RMD160 45afd577dbdde7c0ef7e3871031258b44e6e0745 SHA1 0b57201bd549fe23d6df1acf8a2e70f0e21b4ba0 SHA256 4ca9ea400f217edcee962c385ae7677d8c7cf81878a83dbdf8f9a1b9a596e745
-AUX 20110517-cflag-idiocy.diff 526 RMD160 5d371ba2ca2557115f8704ba0535995232ee0b53 SHA1 d1cb4e0823769b5d718e82f12ddcd21727de7700 SHA256 a44ef237f8bd0617198fa3fea8aecaa5fbac4463996d64e9dda36d905c1ae6c6
-AUX 20110517-datapath.diff 786 RMD160 4f3152b9286d8d81b34b6b6e613b01643dd99567 SHA1 6a1690fcb97e153e457bc4f0eea2b587b58bf573 SHA256 1164251af4b49c75dbfc0eb5a05c8cceeacebbe696ce40714361fb55b03fb78a
-DIST opentyrian-20090702.tar.bz2 365480 RMD160 9389beb90fbc7f0ec6c53e71f73f11a820e5f394 SHA1 12663324846563c6635eae09772d72f370dc6ef6 SHA256 bbce2b50bc1b34cc833e0312518acfa885da336bbb82546754380c2179a59fb3
-DIST opentyrian-20091025.tar.bz2 2247053 RMD160 05157323f25df8c210dedd0f9f8c17f580302f3b SHA1 d4574da93a7297f62712a2178b4e237988055457 SHA256 68111eec3ce51a6896ef9bd896ccb4baeebad59d0d20901cbcb4584eb11ce1ba
-DIST opentyrian-20110517.tar.bz2 2580253 RMD160 4ac96512a5424bb6a1b979d6008d431d102f88c8 SHA1 e904ef7611a9275ff44ef4ed4f56483ac86712da SHA256 d34a0f6e43a3b12688a98f8a541b33578769f027eb7b3ee0fb147b7e1cd8438c
-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 2524 RMD160 944325be6b44ebd0834c42b06dc75a39aabcf8ab SHA1 c71156ef008a0a23ecd0ac4aa28e595ba4aa1604 SHA256 d3b8952f03966a66cd383240d3696c93db1b804abe84cfd6324db4944d36045b
-MISC metadata.xml 248 RMD160 b4db6b5c35ecb316653b3692c21c208e9e431a5f SHA1 f4ca5bd5587de4bb2546172472f9f997c8812778 SHA256 902e1ccbd26bbb00bb47d7901cf47ddb3126dc7b8a3cabcb930838d923bd68bc
+AUX 2.1.20130907-cflag-idiocy.diff 583 SHA256 44d34a812e2b719709a640a7cdc7bdbc5e9e37238869aafddcdcb42eb56e1ff2 SHA512 fd12ebaabd2191baa248019b122acad205f1803b0abde19ae54d410550529bff93d42dfe26543d295efe3b4c6cd74e1d77681467dc8321832561b07bda92d9c4 WHIRLPOOL 2b5d917e6469b798c870b454281cfc09adfb8a760737dab4edc742954b6befbc3eade9528ecd9a8bb400c6548109c625ec7b1db65ed6994a3dd189b9b3cb3d9b
+AUX 2.1.20130907-datapath.diff 886 SHA256 38b82e8710b0519017f4f9c73e051e97f4d51169b9221068f0a2ee991dcf1161 SHA512 dcc5bf8e1c1384e7615112bf60f317f8bd3bae11e1fff1bce80a8a638fc6b719f4787f69d01f64dab2aecab4ef3007cb708e1b2891b6cb7c6213b2d495924d2a WHIRLPOOL 653ffa72df2e6ef510ef5bd18928eddfec0d26be1392b3ddc8baaf91cbf4b2788a8f2b4ac829c46a0bfaa2f0cc338000e5905f06fe091ec5f9f8cae9f62ae426
+AUX 20090702-datapath.diff 765 SHA256 60512dfc66d8531f37bbd80a03cddfaf55793b63a8352041246fd9949ae27a41 SHA512 f913164c35f07114ac5c592fb29314b2510183d2363f6b8f257347e6859c7fc666189d909b96698ec9a44bfb3a4de373c314f59f833d97bb02e1b93d41432931 WHIRLPOOL cedd7fa3ae8149fea038755ada492e79cc65f0f710788539406c6e3d21b4eccf4a5c337354a571f95e8d96da210885022f5d2e73d4c5f3b9d56a2192c0983290
+AUX 20091025-cflag-idiocy.diff 435 SHA256 6ab38e19bfd3fb441e7db843e9c93d949b5934ee9febd79e5a25f09e039bfa48 SHA512 b182c98eaf74f3e5011920fb281e2e8f86d117681a3cf5d8329adf7704e2bc331c37143b2a8521bea7329db74cc1f01203148b128ace5c1695d5712aa91d0f2b WHIRLPOOL 1449b9b78182670b159deb78696410d0dce1bf6787d8d8b43764cd51502da261e49f9b6bc13cd2fd1d7bf3a5c279ba9545db489632b11723b212ee5652a8735c
+AUX 20091025-datapath.diff 742 SHA256 4ca9ea400f217edcee962c385ae7677d8c7cf81878a83dbdf8f9a1b9a596e745 SHA512 d191b928d1b596cfda9153dba102e2c2a5304b65c7d52a65d6b001bb31e2383e70ad06d94c6fb5eea58b03b805fdd85e02940f6a1d4b70a404af1b6e964e7b65 WHIRLPOOL e891f987ad19fb4ab3bd93a97d9a1e0ab1aefe75ba0e67839d8179b8b1bb6172de5a61b796a84ce986c65ce6a405d061218ace2b3a3b0d0d5135f28c678c5e29
+AUX 20110517-cflag-idiocy.diff 526 SHA256 a44ef237f8bd0617198fa3fea8aecaa5fbac4463996d64e9dda36d905c1ae6c6 SHA512 76094cdc2dce6cd75432952ea8f75cbc979670f0d95afe99d05c232bada1a0ec9cd83460be61346964765598592904fc8806ef3a4d8e83ab5f17643885d43524 WHIRLPOOL 205dd965342eee080d020592c681d6b6b288653e48e6065cf9d627e4f939d8d0c9d35d297827c92f7f356bbe6bf554ce9089086558490caf05e36ce033a7c326
+AUX 20110517-datapath.diff 786 SHA256 1164251af4b49c75dbfc0eb5a05c8cceeacebbe696ce40714361fb55b03fb78a SHA512 c7ebf1388d8b00178d7b59dc3f9231007549f7f6e45bd287082eed56815026a871d2c11117690f09909a3c6d0e714a135b77e9f0f1e580bce991eb9a492bd344 WHIRLPOOL c9bede304d423a5e8e7452dd708334261fae9de06c38ae1f68d9f571c1e4bd7ac339d81ca3dafe0f90bca3475fd498d9f9c6cc5fadb199fcc056910577dd12a6
+DIST opentyrian-2.1.20130907-src.tar.gz 297517 SHA256 f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f SHA512 1a560f2061496fbbb57b6334ab207b00a6b2e6a4d6164c6df6ad535ae9d0435c32c3db51d3ce2a0a79eb66d72723d112c1993f59b781750f9bd97afb643a0b67 WHIRLPOOL 67544f4ca713837ab12c1dd7f89f00a2a871b71d85252e840586630d442c99540bcaa52e0ef168e984ea906dfdaefd47e8d0b402a5f3ffefe77d2fa04acd1b3c
+DIST opentyrian-20090702.tar.bz2 365480 SHA256 bbce2b50bc1b34cc833e0312518acfa885da336bbb82546754380c2179a59fb3
+DIST opentyrian-20091025.tar.bz2 2247053 SHA256 68111eec3ce51a6896ef9bd896ccb4baeebad59d0d20901cbcb4584eb11ce1ba
+DIST opentyrian-20110517.tar.bz2 2580253 SHA256 d34a0f6e43a3b12688a98f8a541b33578769f027eb7b3ee0fb147b7e1cd8438c
+DIST tyrian21.zip 4754048 SHA256 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277 SHA512 639aa773778386c14ce508feb4729512d00f80182a3bb0fe8bba4ee38bce91da1867ca93f1a7e5e30ff127da077eed275d8dd6ba82042b627b84f1606e2d6bce WHIRLPOOL 2f118dbc165df1d0ebd95edc1e43fedd7f7b19edbe09ea73413aacbd6cd2b10f64bdef26aea61f00f627285ffa7d80748add6f174d0c915e75a585abe06db180
+EBUILD opentyrian-2.1.20130907.ebuild 1552 SHA256 fb9627914937127f1c257d308715eebfcf28cf3d1ea819676a33d260e51d7151 SHA512 7634234fdbf697a19e91745067dc62c99f2130222bf810b78c43201f48b63e62a6b3bd8b31e6cebb4ff0dfce5c0e25dc5208a9b09d0d1da9382cc8ccb82c447e WHIRLPOOL 535cf47da5f9009b8487812553136bf1cf44ab1cba22bde9df06642a9231b69664df4da31617f70758f3459ee1d22990075181d60ea2ee363422ccdfc4fdff2f
+EBUILD opentyrian-20090702.ebuild 1328 SHA256 0e8659ee3d75e41c04d80babf508872c2b035ba99aac697d88b965e928dd6afb SHA512 0a1da5003e6bf3c7cbb4cce6b77990a35129630aeaa5fab685a10cb995ee31eec945f35f928c501ca356c8d290f711da0f09766243b608bce85cfbbb8188ea9c WHIRLPOOL cddbabf22f555913591de06de8d93d19814cecf322d96b7c3e2563a8d9e2129c9acf4c0b594eee344348f8d504585528e15b3ef5db427b076464778b4ce98447
+EBUILD opentyrian-20091025.ebuild 1261 SHA256 817a8810c903878b33b53e27e5281f0938836fb61395ccc5d22b5aad55aa6799 SHA512 1c51f5f50d0e5a35c670a878729fd494a540125a1286b4b2987928af19b5bafe02e66fd3c52a87e1fe17338a89cb13fc6f22945516b86abaf73f652a9b791430 WHIRLPOOL d08121aaba32787d329634079a591c83318ecb8fd244f537a6c4c53cfaba7a7709de4831bd73d625c5a1c8528f7895db0320d5a64d24bc7261e3c87cb69d41db
+EBUILD opentyrian-20110517-r1.ebuild 1547 SHA256 26ae693e9c6d2cc754a89daa224cf79db64bec1aa9afa7f182b3a986b6618879 SHA512 978f70b675ae9404845cd2af52102fd2cd5c5f3d5046f1938619c47adbb3b2a84b503c0d040a6e287537aa37a006c39f228c8c6a52a8bf4f3f5da986eaf09c49 WHIRLPOOL 35096809927d0a32541e284d610d908018faba1614c34fec5901bfdc37f9aa3ae6dcc8627d315d0c92238f3f81e299d39b5ab4b587167dc806da2d10fa2c0970
+EBUILD opentyrian-20110517.ebuild 1302 SHA256 fde00a4685900f912da12c7446ffa60db100fbb6a57fc6a9644dc5fe49945335 SHA512 b7a227b14e434c7f557096505fb6308f0b7721d813306138053e6b169ab8c4cb6ad831192ef0167c26d1fc5ea54b09135e956dd983d83b8138521f406d2ce28b WHIRLPOOL d249d6d2fd6e438fcb90d66e90565895a2fdacdc71998ef9fa20db98f4115a4111bddd82c3fa2c98f0e61c6a9844fb034874d609bbcf7dd346e8fd55aa856b3f
+MISC ChangeLog 2801 SHA256 9aa02a4833344ae065736f5aafcb0b3523a485cb0365541bed096126025727db SHA512 ed3e5b803aabef09a09dd86b5f4ce3351b2726d570db565a1c9c7aa434c243b347e6ce786dd0ffef113df642c6c1c8a142437ebfcf205e9af815d3bc5666d99c WHIRLPOOL 9fe01f4adb06bbb2c533584a83b6885ffb85f0b5534452bcb16b8a509c4a1e9bf3c8f6f6d1e3032e3afa6f9f29a348d357049da85c4736f318aa4643fb2e065d
+MISC metadata.xml 248 SHA256 902e1ccbd26bbb00bb47d7901cf47ddb3126dc7b8a3cabcb930838d923bd68bc SHA512 46051e519e2855f265b48cb50a7007c29643a98ad758a797597af97ef4750f5757ab56a406b896c2e743031ce8dbb6f2f1beeee166eaa8a1926b917bbec5ca2d WHIRLPOOL 35dc4481c488ff3368f37406f6300ef440113cb4619ed504f060d0062396647dbe4896cc55c6b8b796fb49a3a9099615396a756e502ebbbe8de2f86353d95868
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEARECAAYFAk3uK4YACgkQp5vW4rUFj5qowQCfWQCAxeeNXfL/vTng19or2tfk
-xk0An2538WPyB0r4mBXOkG3QAVnzrgXY
-=FPCD
+iEYEAREIAAYFAlKkuvIACgkQp5vW4rUFj5r1VwCfa1JBlbH69Q2nPtaWDfyeNAGu
+ffcAn2Y++z+Gly2Fo/61wdkk3/bFk/Uv
+=hzwc
-----END PGP SIGNATURE-----
diff --git a/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff b/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff
new file mode 100644
index 000000000000..39ccf1c79f66
--- /dev/null
+++ b/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff
@@ -0,0 +1,15 @@
+diff -uNr opentyrian-2.1.20130907.ORIG/Makefile opentyrian-2.1.20130907/Makefile
+--- opentyrian-2.1.20130907.ORIG/Makefile 2013-12-08 17:38:06.982842189 +0000
++++ opentyrian-2.1.20130907/Makefile 2013-12-08 17:38:26.843842798 +0000
+@@ -21,11 +21,6 @@
+
+ # FLAGS ####################################################
+
+-ifneq ($(MAKECMDGOALS), release)
+- EXTRA_CFLAGS += -g3 -O0 -Werror
+-else
+- EXTRA_CFLAGS += -g0 -O2 -DNDEBUG
+-endif
+ EXTRA_CFLAGS += -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers
+ ifeq ($(WITH_NETWORK), true)
+ EXTRA_CFLAGS += -DWITH_NETWORK
diff --git a/games-arcade/opentyrian/files/2.1.20130907-datapath.diff b/games-arcade/opentyrian/files/2.1.20130907-datapath.diff
new file mode 100644
index 000000000000..5b0143ed9a50
--- /dev/null
+++ b/games-arcade/opentyrian/files/2.1.20130907-datapath.diff
@@ -0,0 +1,26 @@
+diff -uNr opentyrian-2.1.20130907.ORIG/Makefile opentyrian-2.1.20130907/Makefile
+--- opentyrian-2.1.20130907.ORIG/Makefile 2013-12-08 17:40:23.470846371 +0000
++++ opentyrian-2.1.20130907/Makefile 2013-12-08 17:40:49.355847165 +0000
+@@ -49,6 +49,10 @@
+ ALL_LDFLAGS += $(LDFLAGS)
+ LDLIBS += $(EXTRA_LDLIBS) $(SDL_LDLIBS)
+
++ifneq ($(DATA_PATH), )
++ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\"
++endif
++
+ # RULES ####################################################
+
+ .PHONY : all release clean
+diff -uNr opentyrian-2.1.20130907.ORIG/src/file.c opentyrian-2.1.20130907/src/file.c
+--- opentyrian-2.1.20130907.ORIG/src/file.c 2013-12-08 17:40:23.468846371 +0000
++++ opentyrian-2.1.20130907/src/file.c 2013-12-08 17:40:49.355847165 +0000
+@@ -34,7 +34,7 @@
+ #ifdef TARGET_MACOSX
+ tyrian_game_folder(),
+ #endif
+- "/usr/share/opentyrian/data"
++ DATA_PATH
+ };
+
+ static const char *dir = NULL;
diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild
new file mode 100644
index 000000000000..bc788f3d87ac
--- /dev/null
+++ b/games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/opentyrian-2.1.20130907.ebuild,v 1.1 2013/12/08 18:29:31 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
+ http://www.camanis.net/${PN}/releases/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+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
+}