version bump
authorMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 06:06:20 +0000 (01:06 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sun, 22 Nov 2015 06:06:20 +0000 (01:06 -0500)
Package-Manager: portage-2.2.20.1

games-arcade/alienwave/Manifest
games-arcade/alienwave/alienwave-0.3.0.ebuild
games-arcade/alienwave/alienwave-0.4.0.ebuild [new file with mode: 0644]
games-arcade/alienwave/files/alienwave-0.3.0-gentoo.patch
games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch [new file with mode: 0644]

index d4fea03ef668392590f50fd1a961f3627821812f..3e41fcaca58437ef2366c1b280acf7312191285e 100644 (file)
@@ -1 +1,2 @@
 DIST alienwave-0.3.0.tar.gz 22046 SHA256 89902193bc6d5dc13ea4acee26f5a0f72a561e9bbadd0f82e098d770d38f83ae SHA512 b02b28256edde96676acb0e731b8ba6056466eba01ebc3e3d433439c009f7860f2a4f9d0253cc5b1eca758eaba8bc780c5484bb8948c4bb5c085e5c0d9924f2b WHIRLPOOL 1f795d463a78e9feda25a77b7ae1d068412c3c7baae2a1aa65ce30f79a6d2fd187ef1ecd65404ace006efd49c78911304fb10c68d46f7093abdc50dfaae2342b
+DIST alienwave-0.4.0.tar.gz 21931 SHA256 9f317cfa0fabf98e5c47dc793f6eb4dbca0b6e65e136e0661abc267ce720fc44 SHA512 e3342facda85fb5fee8cb34569a60877d7f9110f23b543f16abe20d694556e1e33a45e1d39dec5c0fdf4cec7f10547c5974a629d29669da985456d8c0398e9bd WHIRLPOOL 2a1b06afb0d3fc0a6467bca8cfc571dcd6bdd411136aa3822a403b3cee7fabf32d14f28ede6ac0ff9ee074c46ec8f45628e68641027e81233e61332172d6535a
index 4745ebd3399b0b9b6b67b6561aefc9d9508adcb1..c45814c789fe03118c8114ba63413da6e9597eb7 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 inherit eutils games
 
 DESCRIPTION="An ncurses-based Xenon clone"
@@ -14,12 +14,14 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc sparc x86 ~x86-fbsd"
 IUSE=""
 
-DEPEND="sys-libs/ncurses"
-RDEPEND="${DEPEND}"
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
 
 S=${WORKDIR}/${PN}
 
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-gentoo.patch
+}
 
 src_install() {
        dogamesbin alienwave
diff --git a/games-arcade/alienwave/alienwave-0.4.0.ebuild b/games-arcade/alienwave/alienwave-0.4.0.ebuild
new file mode 100644 (file)
index 0000000..734e752
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="An ncurses-based Xenon clone"
+HOMEPAGE="http://www.alessandropira.org/alienwave/aw.html"
+SRC_URI="http://www.alessandropira.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_install() {
+       dogamesbin alienwave
+       dodoc TO_DO README STORY
+       prepgamesdirs
+}
index 1b71f1cf1838e9dc135bc74fc589d7b1bae821d2..87d436ca57dbe0f876f9670bab9e9f2d892a3b0d 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile.old       2009-01-30 16:04:16.000000000 +0100
-+++ Makefile   2009-01-30 16:07:04.000000000 +0100
+--- Makefile.old
++++ Makefile
 @@ -1,9 +1,7 @@
  # This file is part of Alienwave, a game by Alessandro Pira
  
diff --git a/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch b/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch
new file mode 100644 (file)
index 0000000..bed5d38
--- /dev/null
@@ -0,0 +1,22 @@
+--- alienwave.orig/Makefile
++++ alienwave/Makefile
+@@ -1,9 +1,7 @@
+ # This file is part of Alienwave, a game by Alessandro Pira
+ 
+-CC = gcc
+ OBJS = main.o blit.o aliens.o xzarna.o fire.o shield.o levels.o util.o
+ # CFLAGS = -c -O2 -Wall -DDEBUG_LEV
+-CFLAGS = -c -O2 -Wall
+ LIB = -lncurses
+ 
+ # Uncomment this if you want random waves
+@@ -16,8 +14,7 @@
+ 
+ 
+ alienwave: $(OBJS)
+-      $(CC) $(OBJS) $(LIB) -o alienwave
+-      strip alienwave
++      $(CC) $(OBJS) $(LDFLAGS) $(LIB) -o alienwave
+ 
+ main.o: main.c
+