pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Sep 29 14:06:05 UTC 2025

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/amoebax: DESCR Makefile PLIST distinfo
        pkgsrc/games/amoebax/patches: patch-src_Music.cxx
            patch-src_NewHighScoreState.cxx patch-src_binreloc.cxx

Log Message:
amoebax: Initial import.

Verified to build on SunOS, Linux, NetBSD, and FreeBSD (with clang)
by drecklypkg ci.

Amoebax is a cute and addictive action-puzzle game similar to "Puyo Puyo".

Due an awful mutation, some amoeba's species have started to multiply until
they take the world if you can't stop them. Fortunately the mutation made
then too unstable and lining up four or more will make them disappear.


To generate a diff of this commit:
cvs rdiff -u -r1.559 -r1.560 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/amoebax/DESCR \
    pkgsrc/games/amoebax/Makefile pkgsrc/games/amoebax/PLIST \
    pkgsrc/games/amoebax/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/amoebax/patches/patch-src_Music.cxx \
    pkgsrc/games/amoebax/patches/patch-src_NewHighScoreState.cxx \
    pkgsrc/games/amoebax/patches/patch-src_binreloc.cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.559 pkgsrc/games/Makefile:1.560
--- pkgsrc/games/Makefile:1.559 Mon Sep 29 13:31:27 2025
+++ pkgsrc/games/Makefile       Mon Sep 29 14:06:04 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.559 2025/09/29 13:31:27 nia Exp $
+# $NetBSD: Makefile,v 1.560 2025/09/29 14:06:04 nia Exp $
 #
 
 COMMENT=       Games
@@ -26,6 +26,7 @@ SUBDIR+=      ajbsp
 SUBDIR+=       alephone
 SUBDIR+=       amaze
 SUBDIR+=       amnesia-tdd
+SUBDIR+=       amoebax
 SUBDIR+=       an
 SUBDIR+=       angband
 SUBDIR+=       angband-sdl

Added files:

Index: pkgsrc/games/amoebax/DESCR
diff -u /dev/null pkgsrc/games/amoebax/DESCR:1.1
--- /dev/null   Mon Sep 29 14:06:05 2025
+++ pkgsrc/games/amoebax/DESCR  Mon Sep 29 14:06:04 2025
@@ -0,0 +1,5 @@
+Amoebax is a cute and addictive action-puzzle game similar to "Puyo Puyo".
+
+Due an awful mutation, some amoeba's species have started to multiply until
+they take the world if you can't stop them. Fortunately the mutation made
+then too unstable and lining up four or more will make them disappear.
Index: pkgsrc/games/amoebax/Makefile
diff -u /dev/null pkgsrc/games/amoebax/Makefile:1.1
--- /dev/null   Mon Sep 29 14:06:05 2025
+++ pkgsrc/games/amoebax/Makefile       Mon Sep 29 14:06:04 2025
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2025/09/29 14:06:04 nia Exp $
+
+DISTNAME=      amoebax-0.2.1
+CATEGORIES=    games
+MASTER_SITES=  https://www.emma-soft.com/games/amoebax/download/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.emma-soft.com/games/amoebax/
+COMMENT=       Action puzzle game like Puyo Puyoo
+LICENSE=       gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+CXXFLAGS+=     -std=gnu++98 -fpermissive
+
+CONFIGURE_ARGS+=       --with-sdl-prefix=${BUILDLINK_PREFIX.SDL}
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/amoebax/PLIST
diff -u /dev/null pkgsrc/games/amoebax/PLIST:1.1
--- /dev/null   Mon Sep 29 14:06:05 2025
+++ pkgsrc/games/amoebax/PLIST  Mon Sep 29 14:06:04 2025
@@ -0,0 +1,85 @@
+@comment $NetBSD: PLIST,v 1.1 2025/09/29 14:06:04 nia Exp $
+bin/amoebax
+man/man6/amoebax.6
+share/amoebax/fonts/fontMenu480.png
+share/amoebax/fonts/fontMenu600.png
+share/amoebax/fonts/fontMenu768.png
+share/amoebax/fonts/fontMenu960.png
+share/amoebax/fonts/fontMenuSelected240.png
+share/amoebax/fonts/fontMenuSelected480.png
+share/amoebax/fonts/fontMenuSelected600.png
+share/amoebax/fonts/fontMenuSelected768.png
+share/amoebax/fonts/fontMenuSelected960.png
+share/amoebax/fonts/score480.png
+share/amoebax/fonts/score600.png
+share/amoebax/fonts/score768.png
+share/amoebax/fonts/score960.png
+share/amoebax/graphics/Angus.png
+share/amoebax/graphics/AngusBackground.png
+share/amoebax/graphics/Brooke.png
+share/amoebax/graphics/Ed.png
+share/amoebax/graphics/Gary.png
+share/amoebax/graphics/K.Quita.png
+share/amoebax/graphics/K.QuitaBackground.png
+share/amoebax/graphics/Kerberos.png
+share/amoebax/graphics/KerberosBackground.png
+share/amoebax/graphics/Kim.png
+share/amoebax/graphics/Lem.png
+share/amoebax/graphics/Mr.Bones.png
+share/amoebax/graphics/Mr.BonesBackground.png
+share/amoebax/graphics/Nicholas.png
+share/amoebax/graphics/Pen.png
+share/amoebax/graphics/PenBackground.png
+share/amoebax/graphics/Sasha.png
+share/amoebax/graphics/Spike.png
+share/amoebax/graphics/SpikeBackground.png
+share/amoebax/graphics/Tom.png
+share/amoebax/graphics/Tournament2p.png
+share/amoebax/graphics/Tournament4p.png
+share/amoebax/graphics/TryAgain.png
+share/amoebax/graphics/YouLose.png
+share/amoebax/graphics/YouWin.png
+share/amoebax/graphics/amoebas.png
+share/amoebax/graphics/amoebax.png
+share/amoebax/graphics/chain.png
+share/amoebax/graphics/computerplayers.png
+share/amoebax/graphics/congratulations.png
+share/amoebax/graphics/congratulationsPodium.png
+share/amoebax/graphics/controls.png
+share/amoebax/graphics/credits.png
+share/amoebax/graphics/faceSelection.png
+share/amoebax/graphics/faces.png
+share/amoebax/graphics/gameover.png
+share/amoebax/graphics/go.png
+share/amoebax/graphics/highscores.png
+share/amoebax/graphics/humanplayers.png
+share/amoebax/graphics/leftplayer.png
+share/amoebax/graphics/levelup.png
+share/amoebax/graphics/menuBackground.png
+share/amoebax/graphics/newhighscore.png
+share/amoebax/graphics/options.png
+share/amoebax/graphics/playerscontrolsetup.png
+share/amoebax/graphics/ready.png
+share/amoebax/graphics/rightplayer.png
+share/amoebax/graphics/silhouettes.png
+share/amoebax/graphics/tournament.png
+share/amoebax/graphics/training.png
+share/amoebax/graphics/twoplayers.png
+share/amoebax/graphics/versus.png
+share/amoebax/graphics/winner.png
+share/amoebax/music/AngusBackground.ogg
+share/amoebax/music/Congratulations.ogg
+share/amoebax/music/K.QuitaBackground.ogg
+share/amoebax/music/KerberosBackground.ogg
+share/amoebax/music/Mr.BonesBackground.ogg
+share/amoebax/music/PenBackground.ogg
+share/amoebax/music/SpikeBackground.ogg
+share/amoebax/music/menu.ogg
+share/amoebax/music/training.ogg
+share/amoebax/sfx/die.wav
+share/amoebax/sfx/levelup.wav
+share/amoebax/sfx/youlose.wav
+share/amoebax/sfx/youwin.wav
+share/applications/amoebax.desktop
+share/doc/amoebax/manual.pdf
+share/pixmaps/amoebax.svg
Index: pkgsrc/games/amoebax/distinfo
diff -u /dev/null pkgsrc/games/amoebax/distinfo:1.1
--- /dev/null   Mon Sep 29 14:06:05 2025
+++ pkgsrc/games/amoebax/distinfo       Mon Sep 29 14:06:04 2025
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2025/09/29 14:06:04 nia Exp $
+
+BLAKE2s (amoebax-0.2.1.tar.bz2) = e2e386e68aa6508a2f7b964143cdcf212e62d287aacf1979c0cd3bd0444d911a
+SHA512 (amoebax-0.2.1.tar.bz2) = f8cd20cb35e2456487f55ebc89411ebd47b25cf549d35c36041a27e1d96ef30702151f303dbb457afbf8583f67c53143c30becdea00a26fddad20555e0c7d181
+Size (amoebax-0.2.1.tar.bz2) = 10645579 bytes
+SHA1 (patch-src_Music.cxx) = c2cc751df86e9e38235da38aee5540428066cc8d
+SHA1 (patch-src_NewHighScoreState.cxx) = 30a55b4db6597ab9d0a3e66940bfd790f6f924fd
+SHA1 (patch-src_binreloc.cxx) = b43778d24cef8d0e50921c67d179f8a8131c15ac

Index: pkgsrc/games/amoebax/patches/patch-src_Music.cxx
diff -u /dev/null pkgsrc/games/amoebax/patches/patch-src_Music.cxx:1.1
--- /dev/null   Mon Sep 29 14:06:05 2025
+++ pkgsrc/games/amoebax/patches/patch-src_Music.cxx    Mon Sep 29 14:06:05 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_Music.cxx,v 1.1 2025/09/29 14:06:05 nia Exp $
+
+Build fixes for modern clang; via FreeBSD Ports
+
+--- src/Music.cxx.orig 2009-02-28 17:38:34.000000000 +0000
++++ src/Music.cxx
+@@ -22,6 +22,7 @@
+ #include <assert.h>
+ #include <SDL_mixer.h>
+ #include <stdexcept>
++#include <string>
+ #include "Music.h"
+ #include "System.h"
+ 
Index: pkgsrc/games/amoebax/patches/patch-src_NewHighScoreState.cxx
diff -u /dev/null pkgsrc/games/amoebax/patches/patch-src_NewHighScoreState.cxx:1.1
--- /dev/null   Mon Sep 29 14:06:05 2025
+++ pkgsrc/games/amoebax/patches/patch-src_NewHighScoreState.cxx        Mon Sep 29 14:06:05 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_NewHighScoreState.cxx,v 1.1 2025/09/29 14:06:05 nia Exp $
+
+Build fixes for modern clang; via FreeBSD Ports
+
+--- src/NewHighScoreState.cxx.orig     2009-02-28 17:38:34.000000000 +0000
++++ src/NewHighScoreState.cxx
+@@ -396,7 +396,7 @@ NewHighScoreState::unicodeCharacterPress
+     // FIXME: We are only interessted with ASCII values.
+     if ( 0 == (code & 0xff80) )
+     {
+-        char character[2] = {toupper (static_cast<char>(code & 0x7f)), '\0'};
++        char character[2] = {static_cast<char>(toupper (static_cast<char>(code & 0x7f)), '\0')};
+         std::string::size_type characterPos =
+             m_CursorValues.find (std::string (character));
+         if ( std::string::npos != characterPos )
Index: pkgsrc/games/amoebax/patches/patch-src_binreloc.cxx
diff -u /dev/null pkgsrc/games/amoebax/patches/patch-src_binreloc.cxx:1.1
--- /dev/null   Mon Sep 29 14:06:05 2025
+++ pkgsrc/games/amoebax/patches/patch-src_binreloc.cxx Mon Sep 29 14:06:05 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_binreloc.cxx,v 1.1 2025/09/29 14:06:05 nia Exp $
+
+Build fixes for modern clang; via FreeBSD Ports
+
+--- src/binreloc.cxx.orig      2009-02-28 17:38:34.000000000 +0000
++++ src/binreloc.cxx
+@@ -739,7 +739,8 @@ br_strndup (const char *str, size_t size
+ char *
+ br_dirname (const char *path)
+ {
+-      char *end, *result;
++      const char *end;
++      char *result;
+ 
+       if (path == (const char *) NULL)
+               return (char *) NULL;



Home | Main Index | Thread Index | Old Index