pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games Add games/taisei.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fcc476f49e1
branches:  trunk
changeset: 340062:0fcc476f49e1
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Sep 21 15:19:17 2019 +0000

description:
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:

 games/Makefile                                 |   3 +-
 games/taisei/DESCR                             |   7 +++
 games/taisei/Makefile                          |  50 ++++++++++++++++++++++++++
 games/taisei/PLIST                             |   9 ++++
 games/taisei/distinfo                          |   7 +++
 games/taisei/patches/patch-scripts_meson.build |  25 +++++++++++++
 6 files changed, 100 insertions(+), 1 deletions(-)

diffs (135 lines):

diff -r a77c24871e2a -r 0fcc476f49e1 games/Makefile
--- a/games/Makefile    Sat Sep 21 14:57:46 2019 +0000
+++ b/games/Makefile    Sat Sep 21 15:19:17 2019 +0000
@@ -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+=       supertuxkart
 SUBDIR+=       svb
 SUBDIR+=       tads
+SUBDIR+=       taisei
 SUBDIR+=       tanked
 SUBDIR+=       teeworlds
 SUBDIR+=       teg
diff -r a77c24871e2a -r 0fcc476f49e1 games/taisei/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/taisei/DESCR        Sat Sep 21 15:19:17 2019 +0000
@@ -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 -r a77c24871e2a -r 0fcc476f49e1 games/taisei/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/taisei/Makefile     Sat Sep 21 15:19:17 2019 +0000
@@ -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@localhost
+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 -r a77c24871e2a -r 0fcc476f49e1 games/taisei/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/taisei/PLIST        Sat Sep 21 15:19:17 2019 +0000
@@ -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 -r a77c24871e2a -r 0fcc476f49e1 games/taisei/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/taisei/distinfo     Sat Sep 21 15:19:17 2019 +0000
@@ -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 -r a77c24871e2a -r 0fcc476f49e1 games/taisei/patches/patch-scripts_meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/taisei/patches/patch-scripts_meson.build    Sat Sep 21 15:19:17 2019 +0000
@@ -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...



Home | Main Index | Thread Index | Old Index