diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2009-10-25 19:05:52 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2009-10-25 19:05:52 +0000 |
commit | 92b82e76b87387c85816b9526ee046017f8ed51c (patch) | |
tree | 7a3a24de11e8ff46377cf1a31b07dac1fbd66c9f /games-arcade/opentyrian | |
parent | Support USE=modules for kernels with merged speakup. Not compile tested as sp... (diff) | |
download | historical-92b82e76b87387c85816b9526ee046017f8ed51c.tar.gz historical-92b82e76b87387c85816b9526ee046017f8ed51c.tar.bz2 historical-92b82e76b87387c85816b9526ee046017f8ed51c.zip |
Version bump; upstream switched from subversion to mercurial. The build system has changed and now needs to be fought to a degree where a debug USE-flag is no longer feasible.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'games-arcade/opentyrian')
-rw-r--r-- | games-arcade/opentyrian/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/opentyrian/Manifest | 16 | ||||
-rw-r--r-- | games-arcade/opentyrian/files/20091025-cflag-idiocy.diff | 12 | ||||
-rw-r--r-- | games-arcade/opentyrian/files/20091025-datapath.diff | 26 | ||||
-rw-r--r-- | games-arcade/opentyrian/opentyrian-20091025.ebuild | 45 |
5 files changed, 107 insertions, 2 deletions
diff --git a/games-arcade/opentyrian/ChangeLog b/games-arcade/opentyrian/ChangeLog index c35cd93863c6..23bd673b5f2e 100644 --- a/games-arcade/opentyrian/ChangeLog +++ b/games-arcade/opentyrian/ChangeLog @@ -1,6 +1,14 @@ # 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.6 2009/07/04 14:01:09 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/opentyrian/ChangeLog,v 1.7 2009/10/25 19:05:51 chainsaw Exp $ + +*opentyrian-20091025 (25 Oct 2009) + + 25 Oct 2009; <chainsaw@gentoo.org> +files/20091025-cflag-idiocy.diff, + +opentyrian-20091025.ebuild, +files/20091025-datapath.diff: + Version bump; upstream switched from subversion to mercurial. The build + system has changed and now needs to be fought to a degree where a debug + USE-flag is no longer feasible. *opentyrian-20090702 (04 Jul 2009) diff --git a/games-arcade/opentyrian/Manifest b/games-arcade/opentyrian/Manifest index 5d825b29f787..ee4a22b3bb7e 100644 --- a/games-arcade/opentyrian/Manifest +++ b/games-arcade/opentyrian/Manifest @@ -1,6 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + 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 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 tyrian21.zip 4754048 RMD160 62d69ebcb98db8bae64f9bf9efc453d961e9efe2 SHA1 29827de99c92cdba7ac8d8b1307776c8f473cd44 SHA256 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277 EBUILD opentyrian-20090702.ebuild 1329 RMD160 8641a8d52b48c0002227cb947d2329a829f8be5e SHA1 2d937c6d11a353a349731add7b4f2ebd6f618a10 SHA256 b694038fe8017dc657563fb016fc20041310352a34414c0d4ec63a9c495317a3 -MISC ChangeLog 1430 RMD160 4f7892074556fe3b770d9ca30a06f4abc43c33c3 SHA1 79b44788504c37b547a7f2f3c86b5543fe2f9ab7 SHA256 2cb5a2479bba020527d2145abed5522cb42c020e5331f1879d6f56ca3cf01cbc +EBUILD opentyrian-20091025.ebuild 1267 RMD160 d2f3b403481b2b1c61bbc5e7dc7f6d3a98256b17 SHA1 eb1f817ee28bec1fac07e00d2dee78e39f2c1ff3 SHA256 16993f85c123622644c3809cc4f96aeedd7a8784750226c0df0b7c045e733aa3 +MISC ChangeLog 1783 RMD160 48989bacf636ea4228f83e3aa87feff5fe193602 SHA1 03651ec5d62e3728ad8b67db634d6800e0dda12c SHA256 9e696d004adab1c5a54bcac18af36f4f6f33f389e7a57285850171b9908ff2dc MISC metadata.xml 248 RMD160 b4db6b5c35ecb316653b3692c21c208e9e431a5f SHA1 f4ca5bd5587de4bb2546172472f9f997c8812778 SHA256 902e1ccbd26bbb00bb47d7901cf47ddb3126dc7b8a3cabcb930838d923bd68bc +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAkrkoZYACgkQp5vW4rUFj5qrwwCfXJIzXBkiyr+hOIPZGXUF36U+ ++k4An3PqRpfNJKGT1NdXYaUtFwmnGd+d +=JMkx +-----END PGP SIGNATURE----- diff --git a/games-arcade/opentyrian/files/20091025-cflag-idiocy.diff b/games-arcade/opentyrian/files/20091025-cflag-idiocy.diff new file mode 100644 index 000000000000..29ed57c2e29d --- /dev/null +++ b/games-arcade/opentyrian/files/20091025-cflag-idiocy.diff @@ -0,0 +1,12 @@ +--- opentyrian/Makefile.orig 2009-10-25 00:52:54.401229746 +0100 ++++ opentyrian/Makefile 2009-10-25 00:54:37.642954736 +0100 +@@ -49,9 +49,6 @@ + + # FLAGS #################################################### + +-NDEBUG_FLAGS := -g0 -O2 -DNDEBUG +-DEBUG_FLAGS := -g3 -O0 -Werror +- + CFLAGS += --std=c99 -pedantic -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers + CFLAGS += -I./src -I$(INCLUDEDIR) + LDFLAGS += -L$(LIBDIR) -lm diff --git a/games-arcade/opentyrian/files/20091025-datapath.diff b/games-arcade/opentyrian/files/20091025-datapath.diff new file mode 100644 index 000000000000..e83447ebf8f5 --- /dev/null +++ b/games-arcade/opentyrian/files/20091025-datapath.diff @@ -0,0 +1,26 @@ +diff -uNr opentyrian.ORIG/Makefile opentyrian/Makefile +--- opentyrian.ORIG/Makefile 2009-10-25 00:45:41.958937396 +0100 ++++ opentyrian/Makefile 2009-10-25 00:47:31.759940038 +0100 +@@ -73,6 +73,10 @@ + CFLAGS += -DHG_REV='"$(HG_REV)"' + endif + ++ifneq ($(DATA_PATH), ) ++ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" ++endif ++ + # RULES #################################################### + + .PHONY : all +diff -uNr opentyrian.ORIG/src/file.c opentyrian/src/file.c +--- opentyrian.ORIG/src/file.c 2009-10-25 00:45:41.967228200 +0100 ++++ opentyrian/src/file.c 2009-10-25 00:50:21.542979700 +0100 +@@ -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-20091025.ebuild b/games-arcade/opentyrian/opentyrian-20091025.ebuild new file mode 100644 index 000000000000..d9cf9d019a56 --- /dev/null +++ b/games-arcade/opentyrian/opentyrian-20091025.ebuild @@ -0,0 +1,45 @@ +# 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-20091025.ebuild,v 1.1 2009/10/25 19:05:51 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 ~x86" +IUSE="" + +RDEPEND="media-libs/libsdl + media-libs/sdl-net" +DEPEND="${RDEPEND} + app-arch/unzip + dev-util/mercurial" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PV}-datapath.diff" + epatch "${FILESDIR}/${PV}-cflag-idiocy.diff" +} + +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 +} |