summaryrefslogtreecommitdiff
path: root/games-arcade/tecnoballz
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-arcade/tecnoballz
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
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-arcade/tecnoballz')
-rw-r--r--games-arcade/tecnoballz/Manifest1
-rw-r--r--games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch116
-rw-r--r--games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch11
-rw-r--r--games-arcade/tecnoballz/metadata.xml12
-rw-r--r--games-arcade/tecnoballz/tecnoballz-0.92.ebuild44
5 files changed, 184 insertions, 0 deletions
diff --git a/games-arcade/tecnoballz/Manifest b/games-arcade/tecnoballz/Manifest
new file mode 100644
index 00000000000..089ac9d2953
--- /dev/null
+++ b/games-arcade/tecnoballz/Manifest
@@ -0,0 +1 @@
+DIST tecnoballz-0.92.tgz 2763879 SHA256 3ae9d084d7a65af52ef8657c2adbeda0a0747825f9b3b58b8352b7403d5b95b5 SHA512 e3868e846cdebaed6ee78050560be86557c6d01ee6512375a09eccbcf70f0cd12e419c6997a348794a41dfb75f0f3cb70321f1bb9a9bf1156a90976b0e401e13 WHIRLPOOL f631104e0147ae965c8d2c2ea292c538ca1160b823e68165353fb013dcca2076ff5b8c1ceaa6633cf68298b3b52832d567b37f35c25413ea4cade57ce203e5df
diff --git a/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch b/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch
new file mode 100644
index 00000000000..b2f0379e489
--- /dev/null
+++ b/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch
@@ -0,0 +1,116 @@
+--- Makefile.am.old 2008-10-07 10:42:11.000000000 +0200
++++ Makefile.am 2008-10-07 10:49:35.000000000 +0200
+@@ -1,18 +1,6 @@
+
+-gamesdir = $(prefix)/games
+-scoredir = /var/games/tecnoballz
+-score = tecnoballz.hi
++localstate_DATA = tecnoballz.hi
+
+-SUBDIRS = src
++SUBDIRS = src man
+
+-pkgdatadir = $(mandir)/man6
+-dist_pkgdata_DATA = man/tecnoballz.6
+-
+-install-data-hook:
+- -chown root:games "$(DESTDIR)/$(gamesdir)/tecnoballz"
+- -chmod 2755 "$(DESTDIR)/$(gamesdir)/tecnoballz"
+- $(INSTALL) -d $(DESTDIR)/$(scoredir)
+- $(INSTALL) $(score) $(DESTDIR)/$(scoredir)
+- -chown root:games "$(DESTDIR)/$(scoredir)/$(score)"
+- -chmod 664 "$(DESTDIR)/$(scoredir)/$(score)"
+
+--- src/Makefile.am.old 2008-10-07 11:16:44.000000000 +0200
++++ src/Makefile.am 2008-10-07 11:18:32.000000000 +0200
+@@ -1,14 +1,12 @@
+
+ NULL =
+-gamesdir = $(prefix)/games
+-scoredir = /var/games/tecnoballz
+ score = tecnoballz.hi
+
+ SUBDIRS = TecnoballZ
+
+-games_PROGRAMS = tecnoballz
++bin_PROGRAMS = tecnoballz
+ tecnoballz_SOURCES = $(SOURCES_MAIN)
+-tecnoballz_CXXFLAGS = -DDATADIR=\"$(datadir)/tecnoballz\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ @MIKMOD_FLAGS@
++tecnoballz_CXXFLAGS = -DDATADIR=\"$(datadir)/tecnoballz\" -DSCOREFILE=\"$(localstatedir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ @MIKMOD_FLAGS@
+ tecnoballz_LDADD = @XLIB_LIBS@ @SDL_LIBS@ @MM_LIBS@ @MIKMOD_LIBS@ -L.
+
+ SOURCES_MAIN = \
+--- src/TecnoballZ/Makefile.am.old 2008-10-07 17:17:47.000000000 +0200
++++ src/TecnoballZ/Makefile.am 2008-10-07 17:20:03.000000000 +0200
+@@ -1,6 +1,6 @@
+ NULL =
+
+-SUBDIRS = lores hires textures sounds musics
++SUBDIRS = lores hires textures sounds musics texts
+
+ pkgdatadir = $(datadir)/tecnoballz
+ dist_pkgdata_DATA = \
+@@ -14,4 +14,5 @@
+ tilemap-guardians_40.data \
+ tilemap-menu_20.data \
+ tilemap-menu_40.data \
++ levels-data.xml \
+ $(NULL)
+--- /dev/null 2008-09-26 15:07:13.448004290 +0200
++++ src/TecnoballZ/texts/Makefile.am 2008-10-07 17:30:18.000000000 +0200
+@@ -0,0 +1,11 @@
++textsdir = $(pkgdatadir)/texts
++texts_DATA = main_menu_en.txt \
++ main_menu_fr.txt \
++ popup_menu_en.txt \
++ popup_menu_fr.txt \
++ scrolltext_en.txt \
++ scrolltext_fr.txt \
++ shop_en.txt \
++ shop_fr.txt \
++ short_info_messages_en.txt \
++ short_info_messages_fr.txt
+--- configure.ac.old 2008-10-08 23:10:26.000000000 +0200
++++ configure.ac 2008-10-08 23:11:08.000000000 +0200
+@@ -50,21 +50,6 @@
+
+ LDFLAGS_="${LDFLAGS_save}"
+
+-AC_CHECK_LIB(vorbisfile, ov_raw_seek, [
+- MM_LIBS="${MM_LIBS} -lvorbisfile"
+-],[
+- AC_MSG_ERROR(Could not find the vorbisfile lib : -lvorbisfile)
+-])
+-AC_CHECK_LIB(ogg, ogg_stream_packetin, [
+- MM_LIBS="${MM_LIBS} -logg"
+-],[
+- AC_MSG_ERROR(Could not find the ogg lib : -logg)
+-])
+-AC_CHECK_LIB(smpeg, SMPEG_play, [
+- MM_LIBS="${MM_LIBS} -lsmpeg"
+-],[
+- AC_MSG_ERROR(Could not find the smpeg lib : -lsmpeg)
+-])
+ AC_SUBST(MM_LIBS)
+
+ AC_CHECK_LIB(mikmod, Player_Stop, [
+@@ -81,5 +81,8 @@
+
+
+ dnl Output makefiles
+-AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile)
++AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile
++ src/TecnoballZ/texts/Makefile
++ man/Makefile
++ man/fr/Makefile)
+
+--- /dev/null 2008-09-26 15:07:13.448004290 +0200
++++ man/Makefile.am 2008-10-08 10:36:15.000000000 +0200
+@@ -0,0 +1,2 @@
++SUBDIRS = fr
++man_MANS = tecnoballz.6
+--- /dev/null 2008-09-26 15:07:13.448004290 +0200
++++ man/fr/Makefile.am 2008-10-08 10:36:15.000000000 +0200
+@@ -0,0 +1,2 @@
++mandir = @mandir@/fr
++man_MANS = tecnoballz.6
diff --git a/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch b/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch
new file mode 100644
index 00000000000..ae190abd64c
--- /dev/null
+++ b/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch
@@ -0,0 +1,11 @@
+--- include/surface_sdl.h.old 2008-10-07 10:16:25.000000000 +0200
++++ include/surface_sdl.h 2008-10-07 10:16:38.000000000 +0200
+@@ -46,7 +46,7 @@
+ ~surface_sdl ();
+ SDL_Surface* get_surface ();
+ char* get_pixel_data ();
+- char* get_pixel_data (Uint32 coord_x, Uint32 coord_x);
++ char* get_pixel_data (Uint32 coord_x, Uint32 coord_y);
+ Uint32 get_row_size ();
+ Uint32 get_offset (Uint32 xcoord, Uint32 ycoord);
+ void clear (Uint32 color = 0);
diff --git a/games-arcade/tecnoballz/metadata.xml b/games-arcade/tecnoballz/metadata.xml
new file mode 100644
index 00000000000..798f46eea44
--- /dev/null
+++ b/games-arcade/tecnoballz/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription lang="en">
+A exciting Brick Breaker with 50 levels of game and 11 special levels,
+distributed on the 2 modes of game to give the player a sophisticated system of
+attack weapons with an enormous power of fire that can be build by gaining
+bonuses. Numerous decors, musics and sounds complete this great game. This
+game was ported from the Commodore Amiga.
+</longdescription>
+</pkgmetadata>
diff --git a/games-arcade/tecnoballz/tecnoballz-0.92.ebuild b/games-arcade/tecnoballz/tecnoballz-0.92.ebuild
new file mode 100644
index 00000000000..6f775377c11
--- /dev/null
+++ b/games-arcade/tecnoballz/tecnoballz-0.92.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils autotools games
+
+DESCRIPTION="An exciting Brick Breaker"
+HOMEPAGE="http://linux.tlk.fr/games/TecnoballZ/"
+SRC_URI="http://linux.tlk.fr/games/TecnoballZ/download/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image[png]
+ media-libs/libmikmod:0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-automake.patch
+ mv man/${PN}.fr.6 man/fr/${PN}.6 || die
+ # don't combine explicit and implicit rules for make 3.82 (bug #334629)
+ sed -i -e '/supervisor.c /s/.c /.cc /' src/Makefile.am || die
+ sed -i -e '/^CXXFLAGS=/d' configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ fperms g+w "${GAMES_STATEDIR}"/${PN}.hi || die
+ make_desktop_entry ${PN} Tecnoballz
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ has_version "media-libs/sdl-mixer[mikmod]" \
+ || ewarn "To have background music, emerge sdl-mixer with USE=mikmod"
+ games_pkg_postinst
+}