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:           Sat Sep 21 15:19:17 UTC 2019

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/taisei: DESCR Makefile PLIST distinfo
        pkgsrc/games/taisei/patches: patch-scripts_meson.build

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.456 -r1.457 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/taisei/DESCR pkgsrc/games/taisei/Makefile \
    pkgsrc/games/taisei/PLIST pkgsrc/games/taisei/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/taisei/patches/patch-scripts_meson.build

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.456 pkgsrc/games/Makefile:1.457
--- pkgsrc/games/Makefile:1.456 Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/Makefile       Sat Sep 21 15:19:17 2019
@@ -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

Added files:

Index: pkgsrc/games/taisei/DESCR
diff -u /dev/null pkgsrc/games/taisei/DESCR:1.1
--- /dev/null   Sat Sep 21 15:19:17 2019
+++ pkgsrc/games/taisei/DESCR   Sat Sep 21 15:19:17 2019
@@ -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.
Index: pkgsrc/games/taisei/Makefile
diff -u /dev/null pkgsrc/games/taisei/Makefile:1.1
--- /dev/null   Sat Sep 21 15:19:17 2019
+++ pkgsrc/games/taisei/Makefile        Sat Sep 21 15:19:17 2019
@@ -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"
Index: pkgsrc/games/taisei/PLIST
diff -u /dev/null pkgsrc/games/taisei/PLIST:1.1
--- /dev/null   Sat Sep 21 15:19:17 2019
+++ pkgsrc/games/taisei/PLIST   Sat Sep 21 15:19:17 2019
@@ -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
Index: pkgsrc/games/taisei/distinfo
diff -u /dev/null pkgsrc/games/taisei/distinfo:1.1
--- /dev/null   Sat Sep 21 15:19:17 2019
+++ pkgsrc/games/taisei/distinfo        Sat Sep 21 15:19:17 2019
@@ -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

Index: pkgsrc/games/taisei/patches/patch-scripts_meson.build
diff -u /dev/null pkgsrc/games/taisei/patches/patch-scripts_meson.build:1.1
--- /dev/null   Sat Sep 21 15:19:17 2019
+++ pkgsrc/games/taisei/patches/patch-scripts_meson.build       Sat Sep 21 15:19:17 2019
@@ -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