Hi ports --
Attached is a diff to update openrct2 to its latest version.
Changelog is here: https://github.com/OpenRCT2/OpenRCT2/releases/tag/v0.1.0
Works well on my machine.
OK?
~Brian
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/openrct2/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 28 Jun 2017 16:43:46 -0000 1.1.1.1
+++ Makefile 13 Jul 2017 20:20:23 -0000
@@ -1,16 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/06/28 16:43:46 bcallah Exp $
-V = 0.0.7.20170626
+V = 0.1.0
COMMENT = open source re-implementation of RollerCoaster Tycoon 2
DISTNAME = openrct2-${V}
CATEGORIES = games x11
-SHARED_LIBS += openrct2 0.0 # 0.0
-
-# Will use their GitHub releases starting next release.
-# GH_ACCOUNT = OpenRCT2
-# GH_PROJECT = OpenRCT2
-# GH_TAGNAME = v${V}
+SHARED_LIBS += openrct2 1.0 # 1.0
HOMEPAGE = https://openrct2.org/
MAINTAINER = Brian Callahan <[email protected]>
@@ -21,7 +16,8 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL SDL2 c crypto curl fontconfig freetype iconv jansson
WANTLIB += m png pthread speexdsp ssl z zip
-# Goes away next release.
+# Upstream does not make proper source releases.
+# See: https://github.com/OpenRCT2/OpenRCT2/issues/5887
MASTER_SITES = https://devio.us/~bcallah/source/
# Doesn't build with gcc-4.9.4
@@ -43,7 +39,7 @@ RUN_DEPENDS = devel/desktop-file-utils \
# -DOPENRCT2_COMMIT_SHA1_SHORT is a lie but still useful.
CONFIGURE_ARGS = -DCMAKE_SHARED_LINKER_FLAGS="-L${X11BASE}/lib" \
-DDOWNLOAD_TITLE_SEQUENCES=OFF \
- -DOPENRCT2_BRANCH=develop \
+ -DOPENRCT2_BRANCH=master \
-DOPENRCT2_COMMIT_SHA1_SHORT=`date +%Y%m%d`
# Downloads things. See: https://github.com/OpenRCT2/OpenRCT2/issues/5710
@@ -56,7 +52,7 @@ pre-configure:
sed -i 's,/usr/local,${TRUEPREFIX},g' \
${WRKSRC}/src/openrct2/platform/linux.c
-# This will be removed at next release.
+# Upstream does not make proper source releases.
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/openrct2/title
${INSTALL_DATA} ${WRKSRC}/title/* ${PREFIX}/share/openrct2/title
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/openrct2/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo 28 Jun 2017 16:43:46 -0000 1.1.1.1
+++ distinfo 13 Jul 2017 20:20:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (openrct2-0.0.7.20170626.tar.gz) = cVp1iHWwBX5QYHHTlyMIVXYLeAT+8lWG2Y2inz1hFq8=
-SIZE (openrct2-0.0.7.20170626.tar.gz) = 7909667
+SHA256 (openrct2-0.1.0.tar.gz) = xB8Tji7wD+j/o4CPKnjorggD5XWqQ1z9jX1wE2FmyGc=
+SIZE (openrct2-0.1.0.tar.gz) = 8006116