diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-11-21 23:47:34 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-11-21 23:47:34 -0500 |
commit | 1c06f739857983839f74f6b4cf36bfa6f082690f (patch) | |
tree | 7e5fff20d2cb8a66976c070360b53b2949992c07 /games-arcade/opentyrian | |
parent | use epatch to apply patch; update HOMEPAGE; better deps (diff) | |
download | gentoo-1c06f739857983839f74f6b4cf36bfa6f082690f.tar.gz gentoo-1c06f739857983839f74f6b4cf36bfa6f082690f.tar.bz2 gentoo-1c06f739857983839f74f6b4cf36bfa6f082690f.zip |
clean old
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-arcade/opentyrian')
-rw-r--r-- | games-arcade/opentyrian/Manifest | 3 | ||||
-rw-r--r-- | games-arcade/opentyrian/files/20090702-datapath.diff | 23 | ||||
-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/files/20110517-cflag-idiocy.diff | 15 | ||||
-rw-r--r-- | games-arcade/opentyrian/files/20110517-datapath.diff | 26 | ||||
-rw-r--r-- | games-arcade/opentyrian/opentyrian-20090702.ebuild | 47 | ||||
-rw-r--r-- | games-arcade/opentyrian/opentyrian-20091025.ebuild | 45 | ||||
-rw-r--r-- | games-arcade/opentyrian/opentyrian-20110517-r1.ebuild | 47 | ||||
-rw-r--r-- | games-arcade/opentyrian/opentyrian-20110517.ebuild | 42 |
10 files changed, 0 insertions, 286 deletions
diff --git a/games-arcade/opentyrian/Manifest b/games-arcade/opentyrian/Manifest index 474bbbc2be22..6b3b869d4c76 100644 --- a/games-arcade/opentyrian/Manifest +++ b/games-arcade/opentyrian/Manifest @@ -1,5 +1,2 @@ DIST opentyrian-2.1.20130907-src.tar.gz 297517 SHA256 f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f SHA512 1a560f2061496fbbb57b6334ab207b00a6b2e6a4d6164c6df6ad535ae9d0435c32c3db51d3ce2a0a79eb66d72723d112c1993f59b781750f9bd97afb643a0b67 WHIRLPOOL 67544f4ca713837ab12c1dd7f89f00a2a871b71d85252e840586630d442c99540bcaa52e0ef168e984ea906dfdaefd47e8d0b402a5f3ffefe77d2fa04acd1b3c -DIST opentyrian-20090702.tar.bz2 365480 SHA256 bbce2b50bc1b34cc833e0312518acfa885da336bbb82546754380c2179a59fb3 SHA512 57543369fb9c85afa59f06d6e2053314aef8dec0188d091efd82fa528430d4a5ca84c98ae7e9bdafe398315a1743e6e86023eab5e65b2460d2387b84adc62495 WHIRLPOOL 528ac01700dba4ef4372ea79bd0007f092b34ab1f2a53e031f15095013aa2bbc54fc82581a66f7e4cd74966047c679cca39a5d21c7e02441edb5b7ae695cd4ed -DIST opentyrian-20091025.tar.bz2 2247053 SHA256 68111eec3ce51a6896ef9bd896ccb4baeebad59d0d20901cbcb4584eb11ce1ba SHA512 f2f93179d493e9a247b4197cbe23b284de74a443c680bfa9e64a7f26fa9327dbed4c58e615b9eeb6c8c37dc69d0b526945f4fb8bf958b14ca044ad72e103afc8 WHIRLPOOL 18b6eb74ed91e54b199e194d24e37d8b16400cc2da0f02ee45896ebd266e73ebeda86956bfd8525bb42b8b45782b99fcc11aa6e93c29dc6daf6bd931d7a768f2 -DIST opentyrian-20110517.tar.bz2 2580253 SHA256 d34a0f6e43a3b12688a98f8a541b33578769f027eb7b3ee0fb147b7e1cd8438c SHA512 a6cfef7fc54b2c1be951bdcd82bf18704da0be8e9cb79ebb6ebe6ac9ddce390653b4e6ae6a7ddf7d643c201e45e90d2905993e668f18441f53a3da263dc6158c WHIRLPOOL bc685a39e3ecfeaa11ec4b131afd1ee723d7535e78b3c34d220b74edf228a52499dfc805d54a0a57e57fc90b6f7a0312af2c6748fd383af1a90d7aaa876583d9 DIST tyrian21.zip 4754048 SHA256 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277 SHA512 639aa773778386c14ce508feb4729512d00f80182a3bb0fe8bba4ee38bce91da1867ca93f1a7e5e30ff127da077eed275d8dd6ba82042b627b84f1606e2d6bce WHIRLPOOL 2f118dbc165df1d0ebd95edc1e43fedd7f7b19edbe09ea73413aacbd6cd2b10f64bdef26aea61f00f627285ffa7d80748add6f174d0c915e75a585abe06db180 diff --git a/games-arcade/opentyrian/files/20090702-datapath.diff b/games-arcade/opentyrian/files/20090702-datapath.diff deleted file mode 100644 index 53ca3e8c789e..000000000000 --- a/games-arcade/opentyrian/files/20090702-datapath.diff +++ /dev/null @@ -1,23 +0,0 @@ ---- opentyrian/Makefile.orig 2009-07-02 23:19:47.000000000 +0100 -+++ opentyrian/Makefile 2009-07-02 23:20:27.000000000 +0100 -@@ -54,6 +54,9 @@ - CFLAGS += -DSVN_REV=\"$(SVN_REV)\" - endif - -+ifneq ($(DATA_PATH), ) -+ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" -+endif - #################################################### - - all : $(TARGET) ---- opentyrian/src/error.c.orig 2009-07-02 23:17:00.000000000 +0100 -+++ opentyrian/src/error.c 2009-07-02 23:21:01.000000000 +0100 -@@ -33,7 +33,7 @@ - JE_boolean dont_die = false; - - #ifndef TARGET_MACOSX --static const char *tyrian_searchpaths[] = { "data", "tyrian", "tyrian21" }; -+static const char *tyrian_searchpaths[] = { DATA_PATH , "data", "tyrian", "tyrian21" }; - #endif - - JE_longint JE_getFileSize( const char *filename ) diff --git a/games-arcade/opentyrian/files/20091025-cflag-idiocy.diff b/games-arcade/opentyrian/files/20091025-cflag-idiocy.diff deleted file mode 100644 index 29ed57c2e29d..000000000000 --- a/games-arcade/opentyrian/files/20091025-cflag-idiocy.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- 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 deleted file mode 100644 index e83447ebf8f5..000000000000 --- a/games-arcade/opentyrian/files/20091025-datapath.diff +++ /dev/null @@ -1,26 +0,0 @@ -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/files/20110517-cflag-idiocy.diff b/games-arcade/opentyrian/files/20110517-cflag-idiocy.diff deleted file mode 100644 index fbc178ad3418..000000000000 --- a/games-arcade/opentyrian/files/20110517-cflag-idiocy.diff +++ /dev/null @@ -1,15 +0,0 @@ -diff -uNr opentyrian.ORIG//Makefile opentyrian/Makefile ---- opentyrian.ORIG//Makefile 2011-05-17 11:26:17.030004857 +0100 -+++ opentyrian/Makefile 2011-05-17 11:28:48.617004931 +0100 -@@ -18,11 +18,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 - - HG_REV := $(shell hg id -ib && touch src/hg_revision.h) diff --git a/games-arcade/opentyrian/files/20110517-datapath.diff b/games-arcade/opentyrian/files/20110517-datapath.diff deleted file mode 100644 index 6d7f52cd6bd6..000000000000 --- a/games-arcade/opentyrian/files/20110517-datapath.diff +++ /dev/null @@ -1,26 +0,0 @@ -diff -uNr opentyrian.ORIG//Makefile opentyrian/Makefile ---- opentyrian.ORIG//Makefile 2011-05-17 11:26:17.030004857 +0100 -+++ opentyrian/Makefile 2011-05-17 11:26:52.595004876 +0100 -@@ -39,6 +39,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.ORIG//src/file.c opentyrian/src/file.c ---- opentyrian.ORIG//src/file.c 2011-05-17 11:26:17.020004860 +0100 -+++ opentyrian/src/file.c 2011-05-17 11:26:52.595004876 +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-20090702.ebuild b/games-arcade/opentyrian/opentyrian-20090702.ebuild deleted file mode 100644 index 18b6395bb9b4..000000000000 --- a/games-arcade/opentyrian/opentyrian-20090702.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils games - -DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" -HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" -SRC_URI="http://darklomax.org/tyrian/tyrian21.zip - mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="debug" - -RDEPEND="media-libs/libsdl - media-libs/sdl-net" -DEPEND="${RDEPEND} - app-arch/unzip - dev-vcs/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 -} diff --git a/games-arcade/opentyrian/opentyrian-20091025.ebuild b/games-arcade/opentyrian/opentyrian-20091025.ebuild deleted file mode 100644 index c0324b4b24f3..000000000000 --- a/games-arcade/opentyrian/opentyrian-20091025.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils games - -DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" -HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" -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-vcs/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 -} diff --git a/games-arcade/opentyrian/opentyrian-20110517-r1.ebuild b/games-arcade/opentyrian/opentyrian-20110517-r1.ebuild deleted file mode 100644 index 58275a885663..000000000000 --- a/games-arcade/opentyrian/opentyrian-20110517-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit base games - -DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" -HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" -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 -} diff --git a/games-arcade/opentyrian/opentyrian-20110517.ebuild b/games-arcade/opentyrian/opentyrian-20110517.ebuild deleted file mode 100644 index 64e98172ac94..000000000000 --- a/games-arcade/opentyrian/opentyrian-20110517.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit base games - -DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" -HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" -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() { - newgamesbin opentyrian tyrian || die "Failed to install game binary" - dodoc CREDITS NEWS README || die "Failed to install documentation" - domenu linux/opentyrian.desktop || die "Failed to install desktop file" - doicon linux/icons/* || die "Failed to install program icons" - insinto "${GAMES_DATADIR}/${PN}" - cd "${WORKDIR}/tyrian21" - doins * || die "Failed to install game data" - prepgamesdirs -} |