Hi ports --

Attached is an update to games/pentobi. This has been unupdated for a
while since our Qt5 lagged behind.

Big endian testing highly appreciated. Colors should be orange and
purple :)

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/pentobi/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile	21 Oct 2019 14:34:37 -0000	1.14
+++ Makefile	12 May 2020 17:14:13 -0000
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.14 2019/10/21 14:34:37 cwen Exp $
 
 COMMENT =	free clone of Blokus board game
-DISTNAME =	pentobi-14.1
+DISTNAME =	pentobi-18.0
 EXTRACT_SUFX =	.tar.xz
 CATEGORIES =	games x11
-REVISION =	4
 
 HOMEPAGE =	http://pentobi.sourceforge.net/
 MAINTAINER =	Brian Callahan <[email protected]>
@@ -12,24 +11,29 @@ MAINTAINER =	Brian Callahan <bcallah@ope
 # GPLv3+
 PERMIT_PACKAGE =	Yes
 
-WANTLIB += Qt5Concurrent Qt5Core Qt5Gui Qt5Widgets c m pthread
-WANTLIB += ${COMPILER_LIBCXX}
+WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5Gui Qt5Network
+WANTLIB += Qt5Qml Qt5Quick Qt5QuickControls2 Qt5Svg Qt5Widgets c m
 
 MASTER_SITES =	${MASTER_SITE_SOURCEFORGE:=pentobi/}
 
 MODULES =	devel/cmake \
 		x11/qt5
 
-BUILD_DEPENDS =	x11/qt5/qtdeclarative \
-		x11/qt5/qtsvg \
+BUILD_DEPENDS =	devel/appstream-glib \
+		devel/gettext,-tools \
 		x11/qt5/qttools
 
+LIB_DEPENDS =	x11/qt5/qtdeclarative \
+		x11/qt5/qtquickcontrols2 \
+		x11/qt5/qtsvg
+
 RUN_DEPENDS =	devel/desktop-file-utils \
 		misc/shared-mime-info \
 		x11/gtk+3,-guic \
-		x11/qt5/qtdeclarative \
-		x11/qt5/qtsvg \
 		x11/qt5/qttools
+
+CONFIGURE_ARGS =	-DMETAINFO_ITS="${LOCALBASE}/share/gettext/its/appdata.its" \
+			-DPENTOBI_OPEN_HELP_EXTERNALLY=On
 
 NO_TEST =	Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/pentobi/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo	3 Jan 2018 17:04:55 -0000	1.4
+++ distinfo	12 May 2020 17:14:13 -0000
@@ -1,2 +1,2 @@
-SHA256 (pentobi-14.1.tar.xz) = P3EV2BiiKJ/qx2gFf6pJDQM9UW6sbErHhNiD4aZKCkM=
-SIZE (pentobi-14.1.tar.xz) = 406724
+SHA256 (pentobi-18.0.tar.xz) = 3oXuwquIRhXys4Q4FALM6pzMqvraGDozBFTGzj3UmzY=
+SIZE (pentobi-18.0.tar.xz) = 456688
Index: patches/patch-pentobi_docbook_custom_xsl
===================================================================
RCS file: patches/patch-pentobi_docbook_custom_xsl
diff -N patches/patch-pentobi_docbook_custom_xsl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-pentobi_docbook_custom_xsl	12 May 2020 17:14:13 -0000
@@ -0,0 +1,49 @@
+$OpenBSD$
+
+runtime error: file /usr/ports/pobj/pentobi-18.0/pentobi-18.0/pentobi/docbook/custom.xsl line 40 element td
+Variable 'direction.align.start' has not been declared.
+XPath error : Undefined variable
+runtime error: file /usr/ports/pobj/pentobi-18.0/pentobi-18.0/pentobi/docbook/custom.xsl line 40 element td
+Internal error: Failed to evaluate the AVT of attribute 'align'.
+error: file /usr/ports/pobj/pentobi-18.0/pentobi-18.0/pentobi/docbook/index.docbook
+xsltRunStylesheet : run failed
+
+Index: pentobi/docbook/custom.xsl
+--- pentobi/docbook/custom.xsl.orig
++++ pentobi/docbook/custom.xsl
+@@ -37,7 +37,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform";  vers
+ <div class="navheader">
+ <table width="100%">
+ <tr>
+-<td width="34%" align="{$direction.align.start}">
++<td width="34%">
+ <xsl:if test="count($prev)>0">
+ <a>
+ <xsl:attribute name="href">
+@@ -69,7 +69,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform";  vers
+ <xsl:otherwise>&#160;</xsl:otherwise>
+ </xsl:choose>
+ </td>
+-<td width="34%" align="{$direction.align.end}">
++<td width="34%">
+ <xsl:text>&#160;</xsl:text>
+ <xsl:if test="count($next)>0">
+ <a>
+@@ -99,7 +99,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform";  vers
+ <hr/>
+ <table width="100%">
+ <tr>
+-<td width="34%" align="{$direction.align.start}">
++<td width="34%">
+ <xsl:if test="count($prev)>0">
+ <a>
+ <xsl:attribute name="href">
+@@ -131,7 +131,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform";  vers
+ <xsl:otherwise>&#160;</xsl:otherwise>
+ </xsl:choose>
+ </td>
+-<td width="34%" align="{$direction.align.end}">
++<td width="34%">
+ <xsl:text>&#160;</xsl:text>
+ <xsl:if test="count($next)>0">
+ <a>
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/pentobi/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST	1 Jul 2018 18:33:36 -0000	1.5
+++ pkg/PLIST	12 May 2020 17:14:13 -0000
@@ -1,6 +1,14 @@
 @comment $OpenBSD: PLIST,v 1.5 2018/07/01 18:33:36 espie Exp $
 @bin bin/pentobi
 @bin bin/pentobi-thumbnailer
+man/de/
+man/de/man6/
+@man man/de/man6/pentobi-thumbnailer.6
+@man man/de/man6/pentobi.6
+man/es/
+man/es/man6/
+@man man/es/man6/pentobi-thumbnailer.6
+@man man/es/man6/pentobi.6
 @man man/man6/pentobi-thumbnailer.6
 @man man/man6/pentobi.6
 share/applications/io.sourceforge.pentobi.desktop
@@ -23,6 +31,7 @@ share/help/C/pentobi/index.html
 share/help/C/pentobi/junior_rules.html
 share/help/C/pentobi/license.html
 share/help/C/pentobi/nexos_rules.html
+share/help/C/pentobi/overview.html
 share/help/C/pentobi/pieces.png
 share/help/C/pentobi/pieces_callisto.png
 share/help/C/pentobi/pieces_gembloq.jpg
@@ -53,47 +62,36 @@ share/help/de/pentobi/index.html
 share/help/de/pentobi/junior_rules.html
 share/help/de/pentobi/license.html
 share/help/de/pentobi/nexos_rules.html
+share/help/de/pentobi/overview.html
 share/help/de/pentobi/shortcuts.html
 share/help/de/pentobi/system.html
 share/help/de/pentobi/trigon_rules.html
 share/help/de/pentobi/user_interface.html
 share/help/de/pentobi/window_menu.html
-share/icons/hicolor/16x16/apps/pentobi.png
-share/icons/hicolor/16x16/mimetypes/application-x-blokus-sgf.png
-share/icons/hicolor/32x32/apps/pentobi.png
-share/icons/hicolor/32x32/mimetypes/application-x-blokus-sgf.png
+share/help/es/
+share/help/es/pentobi/
+share/help/es/pentobi/become_stronger.html
+share/help/es/pentobi/callisto_rules.html
+share/help/es/pentobi/classic_rules.html
+share/help/es/pentobi/duo_rules.html
+share/help/es/pentobi/gembloq_rules.html
+share/help/es/pentobi/index.html
+share/help/es/pentobi/junior_rules.html
+share/help/es/pentobi/license.html
+share/help/es/pentobi/nexos_rules.html
+share/help/es/pentobi/overview.html
+share/help/es/pentobi/shortcuts.html
+share/help/es/pentobi/system.html
+share/help/es/pentobi/trigon_rules.html
+share/help/es/pentobi/user_interface.html
+share/help/es/pentobi/window_menu.html
 share/icons/hicolor/48x48/apps/pentobi.png
 share/icons/hicolor/48x48/mimetypes/application-x-blokus-sgf.png
-share/icons/hicolor/64x64/apps/pentobi.png
-share/icons/hicolor/64x64/mimetypes/application-x-blokus-sgf.png
 share/icons/hicolor/scalable/apps/pentobi.svg
 share/icons/hicolor/scalable/mimetypes/application-x-blokus-sgf.svg
 share/metainfo/
 share/metainfo/io.sourceforge.pentobi.appdata.xml
 share/mime/packages/pentobi-mime.xml
-share/pentobi/
-share/pentobi/books/
-share/pentobi/books/book_callisto.blksgf
-share/pentobi/books/book_callisto_2.blksgf
-share/pentobi/books/book_callisto_3.blksgf
-share/pentobi/books/book_classic.blksgf
-share/pentobi/books/book_classic_2.blksgf
-share/pentobi/books/book_classic_3.blksgf
-share/pentobi/books/book_duo.blksgf
-share/pentobi/books/book_gembloq.blksgf
-share/pentobi/books/book_gembloq_2.blksgf
-share/pentobi/books/book_gembloq_2_4.blksgf
-share/pentobi/books/book_gembloq_3.blksgf
-share/pentobi/books/book_junior.blksgf
-share/pentobi/books/book_nexos.blksgf
-share/pentobi/books/book_nexos_2.blksgf
-share/pentobi/books/book_trigon.blksgf
-share/pentobi/books/book_trigon_2.blksgf
-share/pentobi/books/book_trigon_3.blksgf
-share/pentobi/translations/
-share/pentobi/translations/libpentobi_gui_de.qm
-share/pentobi/translations/pentobi.qm
-share/pentobi/translations/pentobi_de.qm
 share/thumbnailers/pentobi.thumbnailer
 @tag update-desktop-database
 @tag update-mime-database

Reply via email to