diff options
author | nia <nia@pkgsrc.org> | 2019-09-21 15:19:17 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-09-21 15:19:17 +0000 |
commit | 9c8c47212d0dde90d6efb2fc69ad1736a17cb4a1 (patch) | |
tree | 175fd5fbabfa144a4e343835b0d0b457934f4afb /games | |
parent | 2caa08019e0abca91ad13b5527dccf744d68a7d8 (diff) | |
download | pkgsrc-9c8c47212d0dde90d6efb2fc69ad1736a17cb4a1.tar.gz |
Add games/taisei.
Taisei (lit. Occident) is a free and open-source fangame of the Touhou
series.
Basically, it is a shoot 'em up game with lots of bullets (the genre is
literally called bullet hell). It doesn't aim to rebuild a particular
installment of the Touhou games, but is rather an original game set in the
world of Touhou.
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 3 | ||||
-rw-r--r-- | games/taisei/DESCR | 7 | ||||
-rw-r--r-- | games/taisei/Makefile | 50 | ||||
-rw-r--r-- | games/taisei/PLIST | 9 | ||||
-rw-r--r-- | games/taisei/distinfo | 7 | ||||
-rw-r--r-- | games/taisei/patches/patch-scripts_meson.build | 25 |
6 files changed, 100 insertions, 1 deletions
diff --git a/games/Makefile b/games/Makefile index eb5bddb63e4..482a41e57a7 100644 --- a/games/Makefile +++ b/games/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.456 2019/09/21 12:34:24 nia Exp $ +# $NetBSD: Makefile,v 1.457 2019/09/21 15:19:17 nia Exp $ # COMMENT= Games @@ -364,6 +364,7 @@ SUBDIR+= supertux SUBDIR+= supertuxkart SUBDIR+= svb SUBDIR+= tads +SUBDIR+= taisei SUBDIR+= tanked SUBDIR+= teeworlds SUBDIR+= teg diff --git a/games/taisei/DESCR b/games/taisei/DESCR new file mode 100644 index 00000000000..940d5c78777 --- /dev/null +++ b/games/taisei/DESCR @@ -0,0 +1,7 @@ +Taisei (lit. Occident) is a free and open-source fangame of the Touhou +series. + +Basically, it is a shoot 'em up game with lots of bullets (the genre is +literally called bullet hell). It doesn't aim to rebuild a particular +installment of the Touhou games, but is rather an original game set in the +world of Touhou. diff --git a/games/taisei/Makefile b/games/taisei/Makefile new file mode 100644 index 00000000000..55702c9974a --- /dev/null +++ b/games/taisei/Makefile @@ -0,0 +1,50 @@ +# $NetBSD: Makefile,v 1.1 2019/09/21 15:19:17 nia Exp $ + +DISTNAME= taisei-v1.3 +PKGNAME= ${DISTNAME:S/-v/-/} +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_GITHUB:=taisei-project/} +GITHUB_RELEASE= v${PKGVERSION_NOREV} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://taisei-project.org/ +COMMENT= Open source Touhou Project fan game +LICENSE= mit + +USE_TOOLS+= pkg-config + +MESON_ARGS+= -Db_pch=false +MESON_ARGS+= -Db_lto=false +MESON_ARGS+= -Dstrip=false +MESON_ARGS+= -Ddefault_library=shared +MESON_ARGS+= -Dversion_fallback=${PKGVERSION} +MESON_ARGS+= -Ddocs=false +MESON_ARGS+= -Ddeveloper=false +MESON_ARGS+= -Ddebug_opengl=false +MESON_ARGS+= -Dmacos_bundle=false +MESON_ARGS+= -Dvalidate_glsl=false +MESON_ARGS+= -Dinstall_freedesktop=true +MESON_ARGS+= -Duse_libcrypto=true + +SUBST_CLASSES+= ver +SUBST_STAGE.ver= pre-configure +SUBST_MESSAGE.ver= Setting the package verison. +SUBST_FILES.ver+= scripts/meson.build +SUBST_VARS.ver= PKGVERSION + +REPLACE_PYTHON+= scripts/thunk.py +REPLACE_PYTHON+= scripts/configure-file.py + +PYTHON_FOR_BUILD_ONLY= tool + +.include "../../devel/py-meson/build.mk" +.include "../../archivers/libzip/buildlink3.mk" +.include "../../audio/SDL2_mixer/buildlink3.mk" +.include "../../devel/SDL2/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../graphics/libwebp/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/taisei/PLIST b/games/taisei/PLIST new file mode 100644 index 00000000000..bb5e7cfd68f --- /dev/null +++ b/games/taisei/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2019/09/21 15:19:17 nia Exp $ +bin/taisei +share/applications/taisei-replay-viewer.desktop +share/applications/taisei.desktop +share/icons/hicolor/128x128/apps/taisei.png +share/icons/hicolor/256x256/mimetypes/taisei-replay.png +share/mime/packages/taisei.xml +share/taisei/00-taisei.zip +share/taisei/gamecontrollerdb.txt diff --git a/games/taisei/distinfo b/games/taisei/distinfo new file mode 100644 index 00000000000..56baffb37e6 --- /dev/null +++ b/games/taisei/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2019/09/21 15:19:17 nia Exp $ + +SHA1 (taisei-v1.3.tar.xz) = 2ee9ed045e60297f5b75254b4e8e39c20f108ad5 +RMD160 (taisei-v1.3.tar.xz) = 4fbb0eaafeb1ed3c819935cd0efaf84f4e50ec39 +SHA512 (taisei-v1.3.tar.xz) = 1387d7936bcd1e7d827be94698cb649d91e7c06ba642b3c897e3c3548f58a4933667cb8ced380eb4df9d2127b5a1a101a9f8ddd1301935ae14a5dbbebf4f2bde +Size (taisei-v1.3.tar.xz) = 104340220 bytes +SHA1 (patch-scripts_meson.build) = 2f646ae68b933cde3763ec16be01fb7bb722dbff diff --git a/games/taisei/patches/patch-scripts_meson.build b/games/taisei/patches/patch-scripts_meson.build new file mode 100644 index 00000000000..3169fabe322 --- /dev/null +++ b/games/taisei/patches/patch-scripts_meson.build @@ -0,0 +1,25 @@ +$NetBSD: patch-scripts_meson.build,v 1.1 2019/09/21 15:19:17 nia Exp $ + +Don't depend on git for version checking. + +--- scripts/meson.build.orig 2019-04-27 08:01:35.000000000 +0000 ++++ scripts/meson.build +@@ -16,17 +16,7 @@ common_taiseilib_defs = [ + # Workaround for Meson bug: https://github.com/mesonbuild/meson/issues/4947 + python_thunk = find_program(files('thunk.py')) + +-version_script = files('version.py') +-version_command = [python_thunk, version_script, common_taiseilib_args] +- +-taisei_version_result = run_command(version_command, '{string}') +-assert(taisei_version_result.returncode() == 0, 'Version script failed') +- +-if taisei_version_result.stderr() != '' +- warning(taisei_version_result.stderr().strip()) +-endif +- +-taisei_version_string = taisei_version_result.stdout().strip() ++taisei_version_string = '@PKGVERSION@' + + preprocess_script = files('configure-file.py') + # generators are string supremacists apparently... |