Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games Added openhexagon-2.0-preview from pkgsrc-wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a4efbfc99fa
branches:  trunk
changeset: 432316:0a4efbfc99fa
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Thu May 21 08:42:57 2020 +0000

description:
Added openhexagon-2.0-preview from pkgsrc-wip

             "You are a triangle."

Fast paced, challenging, free to play, open source game.

You control a little triangle, which can be rotated clockwise or
counterclockwise. Your goal is to suvive as long as possible by
dodging polygons that move towards the center. Things get more
difficult as time passes!

Features a lot of variety and full customization: users can
create/modify/share levels, patterns, music, sounds, scripts,
and more.

Play in Official Mode and submit your highscores to the
server. Be the first in the leaderboards!

Clone of the game "Super Hexagon" by Terry Cavanagh.
Please check it out and consider buying it if you like Open Hexagon!

diffstat:

 games/Makefile                                                       |    3 +-
 games/openhexagon/DESCR                                              |   18 +
 games/openhexagon/Makefile                                           |   84 ++++
 games/openhexagon/PLIST                                              |  172 ++++++++++
 games/openhexagon/distinfo                                           |   40 ++
 games/openhexagon/files/openhexagon.sh                               |   34 +
 games/openhexagon/patches/patch-CMakeLists.txt                       |   19 +
 games/openhexagon/patches/patch-src_SSVOpenHexagon_Online_Online.cpp |   22 +
 8 files changed, 391 insertions(+), 1 deletions(-)

diffs (truncated from 434 to 300 lines):

diff -r f9a55260b639 -r 0a4efbfc99fa games/Makefile
--- a/games/Makefile    Thu May 21 08:42:00 2020 +0000
+++ b/games/Makefile    Thu May 21 08:42:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.489 2020/05/20 16:34:22 micha Exp $
+# $NetBSD: Makefile,v 1.490 2020/05/21 08:42:57 plunky Exp $
 #
 
 COMMENT=       Games
@@ -300,6 +300,7 @@
 SUBDIR+=       nudoku
 SUBDIR+=       omega
 SUBDIR+=       onscripter
+SUBDIR+=       openhexagon
 SUBDIR+=       openjk
 SUBDIR+=       openmortal
 SUBDIR+=       openmw
diff -r f9a55260b639 -r 0a4efbfc99fa games/openhexagon/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openhexagon/DESCR   Thu May 21 08:42:57 2020 +0000
@@ -0,0 +1,18 @@
+             "You are a triangle."
+
+Fast paced, challenging, free to play, open source game.
+
+You control a little triangle, which can be rotated clockwise or
+counterclockwise. Your goal is to suvive as long as possible by
+dodging polygons that move towards the center. Things get more
+difficult as time passes!
+
+Features a lot of variety and full customization: users can
+create/modify/share levels, patterns, music, sounds, scripts,
+and more.
+
+Play in Official Mode and submit your highscores to the
+server. Be the first in the leaderboards!
+
+Clone of the game "Super Hexagon" by Terry Cavanagh.
+Please check it out and consider buying it if you like Open Hexagon!
diff -r f9a55260b639 -r 0a4efbfc99fa games/openhexagon/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openhexagon/Makefile        Thu May 21 08:42:57 2020 +0000
@@ -0,0 +1,84 @@
+# $NetBSD: Makefile,v 1.1 2020/05/21 08:42:57 plunky Exp $
+#
+
+DISTNAME=      openhexagon-2.0
+CATEGORIES=    games
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://vittorioromeo.info/projects.html
+COMMENT=       Open-source clone of the game "Super Hexagon by Terry Cavanagh"
+LICENSE=       afl-3.0
+
+USE_LANGUAGES= c c++14
+USE_CMAKE=     yes
+USE_TOOLS+=    pax sed
+
+# (sorted in dependency order)
+MODULES=       SSVUtils-c8190f843ab5bdfcff99e92aec7421c413c887e3 \
+               SSVEntitySystem-8123beabe3bc8ffe91cb94e6ba061254f3bba18b \
+               SSVJsonCpp-a45c64c418dc0b1fab1eec52fa70b6a14308c635 \
+               SSVUtilsJson-95836250e3a9b65883f22991190e652a455121c1 \
+               SSVStart-112229f184f5e4cf88c71fe67b4588806d290f71 \
+               SSVMenuSystem-03d32b26b2880a35d5daa1ad7ab6199a4d19c742 \
+               SSVLuaWrapper-ca905bddae86358182cf85eff2d0220ccdd785d0 \
+               SSVOpenHexagonAssets-1d125de695be2e74c9f2ad3198e8b5b29911d010 \
+               SSVOpenHexagon-2.0-preview
+
+.for dist in ${MODULES:=.tar.gz}
+DISTFILES+=    ${dist}
+SITES.${dist}+=        ${MASTER_SITE_GITHUB:S,^,-,:=SuperV1234/${dist:S,-,/archive/,}}
+.endfor
+
+WRKSRC=                ${WRKDIR}/${MODULES:MSSVOpenHexagon-*}
+
+SUBST_CLASSES+=                wrap
+SUBST_STAGE.wrap=      pre-configure
+SUBST_MESSAGE.wrap=    Adjusting shell wrapper
+SUBST_FILES.wrap=      ${PKGBASE}
+SUBST_VARS.wrap=       PREFIX PKGBASE
+
+SUBST_CLASSES+=                include
+SUBST_STAGE.include=   post-configure
+SUBST_MESSAGE.include= Fixing hardcoded include path
+SUBST_FILES.include=   extlibs/SSVLuaWrapper/include/SSVLuaWrapper/LuaContext/LuaContext.h
+SUBST_SED.include=     -e 's,lua5.1,lua-${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR},'
+
+CMAKE_ARGS+=   -DPKGBASE=${PKGBASE}
+CMAKE_ARGS+=   -DBUILD_SHARED_LIB:BOOL=OFF
+CMAKE_ARGS+=   -DLUA_LIBRARY=${BUILDLINK_DIR}/lib/liblua${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}.so
+CMAKE_ARGS+=   -DLUA_INCLUDE_DIR=${BUILDLINK_DIR}/${LUA_INCDIR}
+
+.for mod in ${MODULES:NSSVOpenHexagon*:C/-.*//}
+CMAKE_ARGS+=   -D${mod:tu}_INCLUDE_DIR=${WRKSRC}/extlibs/${mod}/include
+CMAKE_ARGS+=   -D${mod:tu}_LIBRARY_RELEASE=${WRKSRC}/extlibs/${mod}/lib${mod}-s.a
+.endfor
+
+CONFIGURE_DIRS+=       ${MODULES:NSSVOpenHexagon*:C/-.*//:%=extlibs/%} .
+
+INSTALL_DIRS+=         .
+
+INSTALLATION_DIRS+=    bin lib/${PKGBASE}
+
+pre-patch:
+       for d in ${WRKDIR}/*/extlibs/*; do \
+               ${RMDIR} $${d} && ${LN} -s ${WRKDIR}/$${d##*/}-* $${d}; \
+       done
+
+post-extract:
+       ${CP} ${FILESDIR}/${PKGBASE}.sh ${WRKSRC}/${PKGBASE}
+
+post-build:
+       for p in ${WRKDIR}/${MODULES:MSSVOpenHexagonAssets-*}/_RELEASE/Packs/*; do \
+           ${ECHO} "{ \"name\":\"$${p##*/}\", \"priority\":0 }" >$${p}/pack.json; \
+       done
+
+post-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin
+       cd ${WRKDIR}/${MODULES:MSSVOpenHexagonAssets-*}/_RELEASE && \
+           ${PAX} -rwpm Assets Packs ${DESTDIR}${PREFIX}/lib/${PKGBASE}
+
+LUA_VERSIONS_ACCEPTED= 51
+
+.include "../../lang/lua/buildlink3.mk"
+.include "../../multimedia/sfml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f9a55260b639 -r 0a4efbfc99fa games/openhexagon/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openhexagon/PLIST   Thu May 21 08:42:57 2020 +0000
@@ -0,0 +1,172 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/21 08:42:57 plunky Exp $
+bin/openhexagon
+lib/openhexagon/Assets/assets.json
+lib/openhexagon/Assets/beep.ogg
+lib/openhexagon/Assets/bottomBar.png
+lib/openhexagon/Assets/creditsBar1.png
+lib/openhexagon/Assets/creditsBar2.png
+lib/openhexagon/Assets/creditsBar2b.png
+lib/openhexagon/Assets/creditsBar2c.png
+lib/openhexagon/Assets/creditsBar2d.png
+lib/openhexagon/Assets/death.ogg
+lib/openhexagon/Assets/gameOver.ogg
+lib/openhexagon/Assets/go.ogg
+lib/openhexagon/Assets/imagine.ttf
+lib/openhexagon/Assets/levelUp.ogg
+lib/openhexagon/Assets/openHexagon.ogg
+lib/openhexagon/Assets/swap.ogg
+lib/openhexagon/Assets/titleBar.png
+lib/openhexagon/ConfigOverrides/debug.json
+lib/openhexagon/ConfigOverrides/fraps.json
+lib/openhexagon/ConfigOverrides/fullscreen.json
+lib/openhexagon/ConfigOverrides/highfps.json
+lib/openhexagon/ConfigOverrides/no3D.json
+lib/openhexagon/ConfigOverrides/noaudio.json
+lib/openhexagon/ConfigOverrides/nocosmeticscript.json
+lib/openhexagon/ConfigOverrides/windowed.json
+lib/openhexagon/Packs/VeeDefault/Levels/easy.json
+lib/openhexagon/Packs/VeeDefault/Levels/extra.json
+lib/openhexagon/Packs/VeeDefault/Levels/goldenratio.json
+lib/openhexagon/Packs/VeeDefault/Levels/hard.json
+lib/openhexagon/Packs/VeeDefault/Levels/lunatic.json
+lib/openhexagon/Packs/VeeDefault/Levels/normal.json
+lib/openhexagon/Packs/VeeDefault/Levels/pi.json
+lib/openhexagon/Packs/VeeDefault/Levels/tutorial.json
+lib/openhexagon/Packs/VeeDefault/Levels/tutorial2.json
+lib/openhexagon/Packs/VeeDefault/Music/callMeKatla.json
+lib/openhexagon/Packs/VeeDefault/Music/captainCool.json
+lib/openhexagon/Packs/VeeDefault/Music/drFinkelfracken.json
+lib/openhexagon/Packs/VeeDefault/Music/jackRussel.json
+lib/openhexagon/Packs/VeeDefault/Music/mazeOfMayonnaise.json
+lib/openhexagon/Packs/VeeDefault/Music/milkyWays.json
+lib/openhexagon/Packs/VeeDefault/Music/starshipShowdown.json
+lib/openhexagon/Packs/VeeDefault/Music/steampunkWarlord.json
+lib/openhexagon/Packs/VeeDefault/Scripts/alternativepatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/common.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/commonpatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/defaultLevels/easypatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/defaultLevels/hardpatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/defaultLevels/lunaticpatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/defaultLevels/normalpatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/defaultLevels/pipatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/defaultLevels/tutorial.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/defaultLevels/zen.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/patternizerpatterns.lua
+lib/openhexagon/Packs/VeeDefault/Scripts/utils.lua
+lib/openhexagon/Packs/VeeDefault/Styles/danger.json
+lib/openhexagon/Packs/VeeDefault/Styles/dangertest.json
+lib/openhexagon/Packs/VeeDefault/Styles/dark.json
+lib/openhexagon/Packs/VeeDefault/Styles/goldenratio.json
+lib/openhexagon/Packs/VeeDefault/Styles/gray.json
+lib/openhexagon/Packs/VeeDefault/Styles/light.json
+lib/openhexagon/Packs/VeeDefault/Styles/pistyle.json
+lib/openhexagon/Packs/VeeDefault/Styles/toxic.json
+lib/openhexagon/Packs/VeeDefault/Styles/tutorial.json
+lib/openhexagon/Packs/VeeDefault/Styles/tutorial2.json
+lib/openhexagon/Packs/VeeDefault/pack.json
+lib/openhexagon/Packs/VeeEndurance/Levels/commando.json
+lib/openhexagon/Packs/VeeEndurance/Levels/commando.tracked
+lib/openhexagon/Packs/VeeEndurance/Levels/labyrinth.json
+lib/openhexagon/Packs/VeeEndurance/Levels/labyrinth.tracked
+lib/openhexagon/Packs/VeeEndurance/Music/commandoSteve.json
+lib/openhexagon/Packs/VeeEndurance/Scripts/alternativepatterns.lua
+lib/openhexagon/Packs/VeeEndurance/Scripts/common.lua
+lib/openhexagon/Packs/VeeEndurance/Scripts/commonpatterns.lua
+lib/openhexagon/Packs/VeeEndurance/Scripts/defaultLevels/commando.lua
+lib/openhexagon/Packs/VeeEndurance/Scripts/defaultLevels/labyrinth.lua
+lib/openhexagon/Packs/VeeEndurance/Scripts/patternizerpatterns.lua
+lib/openhexagon/Packs/VeeEndurance/Scripts/utils.lua
+lib/openhexagon/Packs/VeeEndurance/Styles/wordless.json
+lib/openhexagon/Packs/VeeEndurance/Styles/wordlessinverse.json
+lib/openhexagon/Packs/VeeEndurance/pack.json
+lib/openhexagon/Packs/VeeEvolution/Levels/disc-o.json
+lib/openhexagon/Packs/VeeEvolution/Levels/disc-o.tracked
+lib/openhexagon/Packs/VeeEvolution/Levels/evotutorial.json
+lib/openhexagon/Packs/VeeEvolution/Levels/g-force.json
+lib/openhexagon/Packs/VeeEvolution/Levels/g-force.tracked
+lib/openhexagon/Packs/VeeEvolution/Levels/massacre.json
+lib/openhexagon/Packs/VeeEvolution/Levels/massacre.tracked
+lib/openhexagon/Packs/VeeEvolution/Levels/reppaws.json
+lib/openhexagon/Packs/VeeEvolution/Levels/reppaws.tracked
+lib/openhexagon/Packs/VeeEvolution/Levels/slither.json
+lib/openhexagon/Packs/VeeEvolution/Levels/slither.tracked
+lib/openhexagon/Packs/VeeEvolution/Music/cpumood.json
+lib/openhexagon/Packs/VeeEvolution/Music/dischipo.json
+lib/openhexagon/Packs/VeeEvolution/Music/gmoomh.json
+lib/openhexagon/Packs/VeeEvolution/Music/massacrev2.json
+lib/openhexagon/Packs/VeeEvolution/Music/minimal.json
+lib/openhexagon/Packs/VeeEvolution/Music/pep.json
+lib/openhexagon/Packs/VeeEvolution/Scripts/alternativepatterns.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/common.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/commonpatterns.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/defaultLevels/disc-o.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/defaultLevels/evotutorial.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/defaultLevels/g-force.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/defaultLevels/massacre.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/defaultLevels/reppaws.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/defaultLevels/slither.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/evolutionpatterns.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/nextpatterns.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/patternizerpatterns.lua
+lib/openhexagon/Packs/VeeEvolution/Scripts/utils.lua
+lib/openhexagon/Packs/VeeEvolution/Styles/disc-o.json
+lib/openhexagon/Packs/VeeEvolution/Styles/evotutorial.json
+lib/openhexagon/Packs/VeeEvolution/Styles/g-force.json
+lib/openhexagon/Packs/VeeEvolution/Styles/massacre.json
+lib/openhexagon/Packs/VeeEvolution/Styles/reppaws.json
+lib/openhexagon/Packs/VeeEvolution/Styles/slither.json
+lib/openhexagon/Packs/VeeEvolution/pack.json
+lib/openhexagon/Packs/VeeNext/Levels/acceleradiant.json
+lib/openhexagon/Packs/VeeNext/Levels/incongruence.json
+lib/openhexagon/Packs/VeeNext/Levels/incongruence.tracked
+lib/openhexagon/Packs/VeeNext/Levels/polyhedrug.json
+lib/openhexagon/Packs/VeeNext/Levels/polyhedrug.tracked
+lib/openhexagon/Packs/VeeNext/Music/flirtFlirt.json
+lib/openhexagon/Packs/VeeNext/Music/johnnyDerp.json
+lib/openhexagon/Packs/VeeNext/Music/mrGawne.json
+lib/openhexagon/Packs/VeeNext/Scripts/alternativepatterns.lua
+lib/openhexagon/Packs/VeeNext/Scripts/common.lua
+lib/openhexagon/Packs/VeeNext/Scripts/commonpatterns.lua
+lib/openhexagon/Packs/VeeNext/Scripts/defaultLevels/acceleradiant.lua
+lib/openhexagon/Packs/VeeNext/Scripts/defaultLevels/incongruence.lua
+lib/openhexagon/Packs/VeeNext/Scripts/defaultLevels/polyhedrug.lua
+lib/openhexagon/Packs/VeeNext/Scripts/nextpatterns.lua
+lib/openhexagon/Packs/VeeNext/Scripts/patternizerpatterns.lua
+lib/openhexagon/Packs/VeeNext/Scripts/utils.lua
+lib/openhexagon/Packs/VeeNext/Styles/acceleradiant.json
+lib/openhexagon/Packs/VeeNext/Styles/incongruence.json
+lib/openhexagon/Packs/VeeNext/Styles/polyhedrug.json
+lib/openhexagon/Packs/VeeNext/pack.json
+lib/openhexagon/Packs/cube/Music/callMeKatla.ogg
+lib/openhexagon/Packs/cube/Music/captainCool.ogg
+lib/openhexagon/Packs/cube/Music/commandoSteve.ogg
+lib/openhexagon/Packs/cube/Music/drFinkelfracken.ogg
+lib/openhexagon/Packs/cube/Music/jackRussel.ogg
+lib/openhexagon/Packs/cube/Music/mazeOfMayonnaise.ogg
+lib/openhexagon/Packs/cube/Music/milkyWays.ogg
+lib/openhexagon/Packs/cube/Music/starshipShowdown.ogg
+lib/openhexagon/Packs/cube/Music/steampunkWarlord.ogg
+lib/openhexagon/Packs/cube/Sounds/test.ogg
+lib/openhexagon/Packs/cube/pack.json
+lib/openhexagon/Packs/hypercube/Music/cpumood.ogg
+lib/openhexagon/Packs/hypercube/Music/dischipo.ogg
+lib/openhexagon/Packs/hypercube/Music/flirtFlirt.ogg
+lib/openhexagon/Packs/hypercube/Music/gmoomh.ogg
+lib/openhexagon/Packs/hypercube/Music/johnnyDerp.ogg
+lib/openhexagon/Packs/hypercube/Music/massacrev2.ogg
+lib/openhexagon/Packs/hypercube/Music/minimal.ogg
+lib/openhexagon/Packs/hypercube/Music/mrGawne.ogg
+lib/openhexagon/Packs/hypercube/Music/pep.ogg
+lib/openhexagon/Packs/hypercube/Music/tengil.ogg
+lib/openhexagon/Packs/hypercube/pack.json
+lib/openhexagon/SSVOpenHexagon
+lib/openhexagon/_DOCUMENTATION/README.html
+lib/openhexagon/_DOCUMENTATION/README_CONFIGOVERRIDES.html
+lib/openhexagon/_DOCUMENTATION/README_EVENTS.html
+lib/openhexagon/_DOCUMENTATION/README_LEVELS.html
+lib/openhexagon/_DOCUMENTATION/README_MUSIC.html
+lib/openhexagon/_DOCUMENTATION/README_ONLINE.html
+lib/openhexagon/_DOCUMENTATION/README_SCRIPTING.html



Home | Main Index | Thread Index | Old Index