summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-10-09 20:42:44 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-10-09 20:42:44 +0000
commit4d41bc4e65d1c8baddc4954b4449a577d5ed7477 (patch)
treeb6328caf71a5bb21797ae165eef916f6da99fb2b /games-arcade
parentFix build dependencies. (diff)
downloadhistorical-4d41bc4e65d1c8baddc4954b4449a577d5ed7477.tar.gz
historical-4d41bc4e65d1c8baddc4954b4449a577d5ed7477.tar.bz2
historical-4d41bc4e65d1c8baddc4954b4449a577d5ed7477.zip
New package. Request bug #70447 by Mr. Bones. <mr_bones_@gentoo.org>
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/tecnoballz/ChangeLog11
-rw-r--r--games-arcade/tecnoballz/Manifest16
-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.ebuild41
6 files changed, 207 insertions, 0 deletions
diff --git a/games-arcade/tecnoballz/ChangeLog b/games-arcade/tecnoballz/ChangeLog
new file mode 100644
index 000000000000..50fbddb0bbb7
--- /dev/null
+++ b/games-arcade/tecnoballz/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-arcade/tecnoballz
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tecnoballz/ChangeLog,v 1.1 2008/10/09 20:42:44 tupone Exp $
+
+*tecnoballz-0.92 (09 Oct 2008)
+
+ 09 Oct 2008; <tupone@gentoo.org> +files/tecnoballz-0.92-automake.patch,
+ +files/tecnoballz-0.92-gcc43.patch, +metadata.xml,
+ +tecnoballz-0.92.ebuild:
+ New package. Request bug #70447 by Mr. Bones. <mr_bones_@gentoo.org>
+
diff --git a/games-arcade/tecnoballz/Manifest b/games-arcade/tecnoballz/Manifest
new file mode 100644
index 000000000000..26fcfaca0d8c
--- /dev/null
+++ b/games-arcade/tecnoballz/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX tecnoballz-0.92-automake.patch 3753 RMD160 1030419a285261d00a2f20d2d9c8a79c8e68a9ff SHA1 f5cd1d6f05a042adab0b89fae4258b0083aeb27a SHA256 d77968e6d0c6ba19432748bcf37ed319b024423b62852c3b8b37cb75b0e17578
+AUX tecnoballz-0.92-gcc43.patch 456 RMD160 9888839e7f1fa9599f3f34690cb2bd77f5917e85 SHA1 8c738920b9ece789f79124765a5205a57611245e SHA256 8cee90f1123e0b066d0961f6ca31d16a8c863343b74de90104967fe79a0d5463
+DIST tecnoballz-0.92.tgz 2763879 RMD160 ae383e9009af4ad7bdb14d446457dcb508c6f495 SHA1 7508b29ddafafda61dc9f784281a1b465535af8d SHA256 3ae9d084d7a65af52ef8657c2adbeda0a0747825f9b3b58b8352b7403d5b95b5
+EBUILD tecnoballz-0.92.ebuild 1085 RMD160 49976df5681ac04a607c06124de12e0f20d60ea7 SHA1 72912440c9c7c6fe4ca94e4c0a7f101114b7d29b SHA256 4e2c23ddd26258cc864bbb50131172f9d6d9c4215d21b6b758a9a1f9e7a610d9
+MISC ChangeLog 477 RMD160 3235cb11fc21f625a1fd8e880603f1af15dbc2dc SHA1 5d83b0b43e324fab9cf0ad2d7a44d4f3a105f7b2 SHA256 39e47886eab35b6141a77db537fa9c9220a1bd490c995cb9486551f2dace457c
+MISC metadata.xml 548 RMD160 65f44fc4c582e885f684e73fedcb04eab67cc98d SHA1 94129bd31d9a5515f9145bcf4b15ea7df6b35d8d SHA256 add2ebe8690a2a207edd108fb2f4f506edf1baceb8c7b9696d0d2c40bc2c54e1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjubM4ACgkQVrx5UrvSjse9oACfaPMirzynpOsna/vpUl5gEJpq
+ECkAn3BJ6uXXEMhLSR+7Fm2+wDwna1T6
+=g1RZ
+-----END PGP SIGNATURE-----
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 000000000000..b2f0379e4899
--- /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 000000000000..ae190abd64c6
--- /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 000000000000..798f46eea44e
--- /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 000000000000..048fa326d85b
--- /dev/null
+++ b/games-arcade/tecnoballz/tecnoballz-0.92.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tecnoballz/tecnoballz-0.92.ebuild,v 1.1 2008/10/09 20:42:44 tupone Exp $
+
+inherit eutils autotools games
+
+DESCRIPTION="An exciting Brick Breaker"
+HOMEPAGE="http://linux.tlk.fr/games/TecnoballZ/"
+SRC_URI="${HOMEPAGE}download/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/libmikmod"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-automake.patch
+ mv man/${PN}.fr.6 man/fr/${PN}.6 || die "failed moving man pages"
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS CHANGES NEWS README
+ fperms g+w "${GAMES_STATEDIR}"/${PN}.hi || die "fperms failed"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ built_with_use "media-libs/sdl-mixer" mikmod \
+ || ewarn "To have background music, emerge sdl-mixer with USE=mikmod"
+ games_pkg_postinst
+}