mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
tecnoballz, new recipe (#5828)
This commit is contained in:
46
games-arcade/tecnoballz/patches/tecnoballz-0.94~git.patchset
Normal file
46
games-arcade/tecnoballz/patches/tecnoballz-0.94~git.patchset
Normal file
@@ -0,0 +1,46 @@
|
||||
From 97cad7427a294efcd6bcf43dd88d9a36d7436bcc Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 11 Apr 2021 10:43:11 +0000
|
||||
Subject: Don't use pthread
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 50e8b40..ae4374d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -33,7 +33,7 @@ AC_CHECK_LIB(SDL_mixer, Mix_GetChunk, [
|
||||
])
|
||||
AC_CHECK_LIB(mikmod, Player_Stop, [
|
||||
MIKMOD_LIBS="-lmikmod"
|
||||
- MIKMOD_FLAGS="-pthread -D_REENTRANT"
|
||||
+ MIKMOD_FLAGS="-D_REENTRANT"
|
||||
],[
|
||||
AC_MSG_ERROR(Could not find the Mikmod library : -lmikmod)
|
||||
])
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
||||
From 372e0086317d1e0095e8cc3520d9795177f27e32 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 11 Apr 2021 10:46:10 +0000
|
||||
Subject: Fix installation paths
|
||||
|
||||
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index f9f7b1b..fb6e65f 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
NULL =
|
||||
-gamesdir = $(prefix)/games
|
||||
-scoredir = /var/games/tecnoballz
|
||||
+gamesdir = $(prefix)/apps
|
||||
+scoredir = $(prefix)/settings/tecnoballz
|
||||
score = tecnoballz.hi
|
||||
|
||||
SUBDIRS = TecnoballZ
|
||||
--
|
||||
2.30.2
|
||||
|
||||
67
games-arcade/tecnoballz/tecnoballz-0.94~git.recipe
Normal file
67
games-arcade/tecnoballz/tecnoballz-0.94~git.recipe
Normal file
@@ -0,0 +1,67 @@
|
||||
SUMMARY="Addicting retro break-out game ported from the Amiga"
|
||||
DESCRIPTION="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. "
|
||||
HOMEPAGE="https://linux.tlk.fr/games/TecnoballZ/"
|
||||
REVISION="1"
|
||||
COPYRIGHT="1991-2016 TLK Games"
|
||||
LICENSE="GNU GPL v3"
|
||||
srcGitRev="921c5c0ef8e245d5f7cf87dce19d89167413abf1"
|
||||
SOURCE_URI="https://github.com/brunonymous/tecnoballz/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="a210f18a9b0c20e5d13fd80007f3e9d223b08ba0b244d878623e87d74c77f258"
|
||||
SOURCE_FILENAME="tecnoballz-$portVersion.tar.gz"
|
||||
SOURCE_DIR="tecnoballz-$srcGitRev"
|
||||
PATCHES="tecnoballz-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/tecnoballz/tecnoballz.hi keep-old
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
tecnoballz$secondaryArchSuffix = $portVersion
|
||||
app:TecnoballZ
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libmikmod$secondaryArchSuffix
|
||||
lib:libSDL_1.2$secondaryArchSuffix
|
||||
lib:libSDL_image_1.2$secondaryArchSuffix
|
||||
lib:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
lib:libtinyxml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libmikmod$secondaryArchSuffix
|
||||
devel:libSDL_1.2$secondaryArchSuffix
|
||||
devel:libSDL_image_1.2$secondaryArchSuffix
|
||||
devel:libSDL_mixer_1.2$secondaryArchSuffix
|
||||
devel:libtinyxml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:awk
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
mv $appsDir/tecnoballz $appsDir/TecnoballZ
|
||||
addAppDeskbarSymlink $appsDir/TecnoballZ
|
||||
}
|
||||
Reference in New Issue
Block a user