summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-action/noiz2sa
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-action/noiz2sa')
-rw-r--r--games-action/noiz2sa/Manifest1
-rw-r--r--games-action/noiz2sa/files/noiz2sa-0.51a-gcc41.patch17
-rw-r--r--games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch31
-rw-r--r--games-action/noiz2sa/metadata.xml8
-rw-r--r--games-action/noiz2sa/noiz2sa-0.51a.ebuild46
5 files changed, 103 insertions, 0 deletions
diff --git a/games-action/noiz2sa/Manifest b/games-action/noiz2sa/Manifest
new file mode 100644
index 00000000000..39643eb06f6
--- /dev/null
+++ b/games-action/noiz2sa/Manifest
@@ -0,0 +1 @@
+DIST noiz2sa-0.51a.tar.gz 8861907 SHA256 a7e2b689a320b49cd87a5666b38b934528c65d5a212efca81a21fdd45c9f88e6 SHA512 be0893f96240c00c15073d99e0c73667f65bd4aa98a303d6b4e0b7d5ac9fa510843b37841f9cf6c98f602cb7a70c518107272df1f42682a74ec52a3221e10174 WHIRLPOOL c9e48b9619c23e5bc38b5e48d8b2ebf6e14e8103a9d8420f328c7a58d334b0412a3b13249c0353e44a77dce4e44075b2f2e72536be8d6fc97f0367b26b231683
diff --git a/games-action/noiz2sa/files/noiz2sa-0.51a-gcc41.patch b/games-action/noiz2sa/files/noiz2sa-0.51a-gcc41.patch
new file mode 100644
index 00000000000..9f4f4fe2f1c
--- /dev/null
+++ b/games-action/noiz2sa/files/noiz2sa-0.51a-gcc41.patch
@@ -0,0 +1,17 @@
+--- src/foecommand.h.old 2006-04-21 20:06:35.000000000 +0200
++++ src/foecommand.h 2006-04-21 20:06:57.000000000 +0200
+@@ -36,10 +36,10 @@
+
+ virtual void doChangeDirection(double d);
+ virtual void doChangeSpeed(double s);
+- virtual void FoeCommand::doAccelX(double ax);
+- virtual void FoeCommand::doAccelY(double ay);
+- virtual double FoeCommand::getBulletSpeedX();
+- virtual double FoeCommand::getBulletSpeedY();
++ virtual void doAccelX(double ax);
++ virtual void doAccelY(double ay);
++ virtual double getBulletSpeedX();
++ virtual double getBulletSpeedY();
+
+ private:
+ struct foe *foe;
diff --git a/games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch b/games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch
new file mode 100644
index 00000000000..adb1b0cad2a
--- /dev/null
+++ b/games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch
@@ -0,0 +1,31 @@
+--- makefile.lin.old 2011-06-14 08:03:28.928366818 +0200
++++ makefile.lin 2011-06-14 08:07:43.199113541 +0200
+@@ -4,18 +4,13 @@
+ NAME = noiz2sa
+ O = o
+ RM = rm -f
+-CC = gcc
+-CXX = g++
+
+ PROG = $(NAME)
+
+ DEFAULT_CFLAGS = `sdl-config --cflags`
+-LDFLAGS = `sdl-config --libs` -L. -lglut -lbulletml -lSDL_mixer -mwindows -lstdc++
++LDLIBS = `sdl-config --libs` -lGL -lbulletml -lSDL_mixer -lstdc++ -lm
+
+-MORE_CFLAGS = -O3
+-
+-CFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
+-CPPFLAGS = $(DEFAULT_CFLAGS) $(MORE_CFLAGS) -I./bulletml/
++CPPFLAGS = $(DEFAULT_CFLAGS) -I./bulletml/
+
+ OBJS = $(NAME).$(O) ship.$(O) shot.$(O) frag.$(O) bonus.$(O) \
+ foe.$(O) foecommand.$(O) barragemanager.$(O) attractmanager.$(O) \
+@@ -23,7 +19,6 @@
+ screen.$(O) clrtbl.$(O) vector.$(O) degutil.$(O) rand.$(O) soundmanager.$(O)
+
+ $(PROG): $(OBJS)
+- $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)
+
+ clean:
+ $(RM) $(PROG) *.$(O)
diff --git a/games-action/noiz2sa/metadata.xml b/games-action/noiz2sa/metadata.xml
new file mode 100644
index 00000000000..331014e0852
--- /dev/null
+++ b/games-action/noiz2sa/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">noiz2sa</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-action/noiz2sa/noiz2sa-0.51a.ebuild b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
new file mode 100644
index 00000000000..2987086f94e
--- /dev/null
+++ b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils games
+
+DESCRIPTION="Abstract Shooting Game"
+HOMEPAGE="http://www.asahi-net.or.jp/~cs8k-cyu/windows/noiz2sa_e.html http://sourceforge.net/projects/noiz2sa/"
+SRC_URI="mirror://sourceforge/noiz2sa/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="media-libs/sdl-mixer[vorbis]
+ >=dev-libs/libbulletml-0.0.3
+ virtual/opengl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}/src
+
+src_prepare(){
+ epatch "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-underlink.patch
+ sed -i \
+ -e "s:/.noiz2sa.prf:/noiz2sa.prf:" \
+ -e "s:getenv(\"HOME\"):\"${GAMES_STATEDIR}\":" \
+ attractmanager.c \
+ || die "sed failed"
+
+ cp makefile.lin Makefile || die "Failed copying Makefile"
+}
+
+src_install(){
+ local datadir="${GAMES_DATADIR}/${PN}"
+
+ dogamesbin ${PN}
+ dodir "${datadir}" "${GAMES_STATEDIR}"
+ cp -r ../noiz2sa_share/* "${D}/${datadir}" || die "cp failed"
+ dodoc ../readme*
+ touch "${D}${GAMES_STATEDIR}/${PN}.prf"
+ fperms 660 "${GAMES_STATEDIR}/${PN}.prf"
+ prepgamesdirs
+}