Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2019 20:56:17 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517977 - in head/games/taisei: . files
Message-ID:  <201911192056.xAJKuHVG084158@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov 19 20:56:17 2019
New Revision: 517977
URL: https://svnweb.freebsd.org/changeset/ports/517977

Log:
  - Update to 1.3.1

Added:
  head/games/taisei/files/patch-src_meson.build   (contents, props changed)
Modified:
  head/games/taisei/Makefile
  head/games/taisei/distinfo
  head/games/taisei/files/patch-doc_meson.build

Modified: head/games/taisei/Makefile
==============================================================================
--- head/games/taisei/Makefile	Tue Nov 19 18:53:22 2019	(r517976)
+++ head/games/taisei/Makefile	Tue Nov 19 20:56:17 2019	(r517977)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	taisei
-PORTVERSION=	1.2
+PORTVERSION=	1.3.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	games
 
@@ -14,16 +14,25 @@ LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpng.so:graphics/png \
-		libzip.so:archivers/libzip
+		libzip.so:archivers/libzip \
+		libwebp.so:graphics/webp \
+		libfreetype.so:print/freetype2 \
+		libopusfile.so:audio/opusfile
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	${PORTNAME}-project
+GH_ACCOUNT=	taisei-project
+GH_TUPLE=	taisei-project:cglm:ee15b56:cglm/external/cglm \
+		taisei-project:SDL_GameControllerDB:5651071:gamecontrollerdb/external/gamecontrollerdb
 
-USES=		compiler:c11 desktop-file-utils meson pkgconfig python:3.6+,build sdl shebangfix shared-mime-info
+USES=		compiler:c11 desktop-file-utils meson pkgconfig \
+		python:3.6+,build sdl shebangfix shared-mime-info
 SHEBANG_FILES=	scripts/*.py
-MESON_ARGS=	-Dversion_fallback=${PORTVERSION} -Db_lto=false
+MESON_ARGS=	-Dversion_fallback=${PORTVERSION} -Db_lto=false -Duse_libcrypto=false
 USE_SDL=	sdl2 ttf2 mixer2
+USE_GCC=	yes
 
+CPPFLAGS+=	-D__BSD_VISIBLE
+
 PORTDOCS=	*
 PORTDATA=	*
 
@@ -34,5 +43,10 @@ DOCS_MESON_TRUE=docs
 
 post-install:
 	@${RM} ${STAGEDIR}${DOCSDIR}/COPYING.txt
+
+post-patch:
+	@${REINPLACE_CMD} -e "/^dep_crypto/ s|.*|\
+		dep_crypto = declare_dependency(link_with:shared_library('${OPENSSLLIB}/libcrypto.so'), include_directories:include_directories('${OPENSSLINC}'))|" \
+		${WRKSRC}/meson.build
 
 .include <bsd.port.mk>

Modified: head/games/taisei/distinfo
==============================================================================
--- head/games/taisei/distinfo	Tue Nov 19 18:53:22 2019	(r517976)
+++ head/games/taisei/distinfo	Tue Nov 19 20:56:17 2019	(r517977)
@@ -1,3 +1,7 @@
-TIMESTAMP = 1517333579
-SHA256 (taisei-project-taisei-v1.2_GH0.tar.gz) = 8d2d682eeeb6284bc726b8ae52c355848b007957d2dc6bdd973f6384ae075ea3
-SIZE (taisei-project-taisei-v1.2_GH0.tar.gz) = 85562896
+TIMESTAMP = 1574095481
+SHA256 (taisei-project-taisei-v1.3.1_GH0.tar.gz) = 6ea04bd56f5cffee91dbcebb08526e8743322d868dd9a077438718d5758ad233
+SIZE (taisei-project-taisei-v1.3.1_GH0.tar.gz) = 70811878
+SHA256 (taisei-project-cglm-ee15b56_GH0.tar.gz) = 5ec0a9574ec3621d563540a9c7ab9225dfed65173aad15668f0fb9e690e60aec
+SIZE (taisei-project-cglm-ee15b56_GH0.tar.gz) = 209318
+SHA256 (taisei-project-SDL_GameControllerDB-5651071_GH0.tar.gz) = 90c5493761116cd31b639dc175aae60c931a8c5f627d3465b04dad973c04d957
+SIZE (taisei-project-SDL_GameControllerDB-5651071_GH0.tar.gz) = 209047

Modified: head/games/taisei/files/patch-doc_meson.build
==============================================================================
--- head/games/taisei/files/patch-doc_meson.build	Tue Nov 19 18:53:22 2019	(r517976)
+++ head/games/taisei/files/patch-doc_meson.build	Tue Nov 19 20:56:17 2019	(r517977)
@@ -1,24 +1,24 @@
---- doc/meson.build.orig	2018-01-26 17:39:17 UTC
+--- doc/meson.build.orig	2019-09-28 18:31:40 UTC
 +++ doc/meson.build
-@@ -1,21 +1,7 @@
+@@ -1,20 +1,7 @@
  
- if get_option('docs')
+ if install_docs
+-    rst2html_variants = []
+-
+-    # This is *completely* ridiculous, but apparently this thing has THAT many faces.
+-    basenames = ['rst2html5', 'rst2html', 'rst2html4']
+-    suffixes = ['', '-3', '3', '-docutils']
+-
+-    foreach basename : basenames
+-        foreach suffix : suffixes
+-            variant = '@0@@1@'.format(basename, suffix)
+-            rst2html_variants += [variant, '@0@.py'.format(variant)]
+-        endforeach
+-    endforeach
+-
      rst2html5 = find_program(
--        'rst2html5',
-         'rst2html5.py',
--        'rst2html5-docutils',
--        'rst2html5-3',
--        'rst2html5-3.py',
--        'rst2html4',
--        'rst2html4.py',
--        'rst2html4-3',
--        'rst2html4-3.py',
--        'rst2html4-docutils',
--        'rst2html',
--        'rst2html.py',
--        'rst2html-3',
--        'rst2html-3.py',
--        'rst2html-docutils',
+-        rst2html_variants,
++        'rst2html5.py',
          required : false
      )
  

Added: head/games/taisei/files/patch-src_meson.build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/taisei/files/patch-src_meson.build	Tue Nov 19 20:56:17 2019	(r517977)
@@ -0,0 +1,10 @@
+--- src/meson.build.orig	2019-09-28 18:31:40 UTC
++++ src/meson.build
+@@ -325,7 +325,6 @@ else
+     taisei = executable(taisei_basename, taisei_src, version_deps,
+         dependencies : taisei_deps,
+         c_args : taisei_c_args,
+-        c_pch : 'pch/taisei_pch.h',
+         gui_app : not get_option('win_console'),
+         install : true,
+         install_dir : bindir,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911192056.xAJKuHVG084158>