Hi ports --
Attached is an update for games/easyrpg. It also updates games/liblcf,
since they must be kept in sync.
Changelog is here:
https://blog.easyrpg.org/2018/10/easyrpg-player-0-5-4-antidote/
Works ok on amd64 with an RPG Maker 2003 game I have lying around.
OK?
~Brian
Index: easyrpg/Makefile
===================================================================
RCS file: /cvs/ports/games/easyrpg/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- easyrpg/Makefile 4 Nov 2017 01:06:42 -0000 1.18
+++ easyrpg/Makefile 13 Nov 2018 00:29:37 -0000
@@ -9,15 +9,16 @@ HOMEPAGE = https://easyrpg.org/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
-WANTLIB += ${COMPILER_LIBCXX} SDL2 SDL2_mixer c freetype harfbuzz
-WANTLIB += lcf m mpg123 opusfile pixman-1 png sndfile speexdsp
-WANTLIB += vorbisfile xmp z
+WANTLIB += ${COMPILER_LIBCXX} SDL2 SDL2_mixer c expat freetype
+WANTLIB += harfbuzz icudata icui18n icuuc lcf m mpg123 ogg opus
+WANTLIB += opusfile pixman-1 png sndfile speexdsp vorbis vorbisfile
+WANTLIB += xmp z
COMPILER = base-clang ports-clang ports-gcc
GH_ACCOUNT = EasyRPG
GH_PROJECT = Player
-GH_TAGNAME = 0.5.3
+GH_TAGNAME = 0.5.4
MODULES += devel/cmake
Index: easyrpg/distinfo
===================================================================
RCS file: /cvs/ports/games/easyrpg/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- easyrpg/distinfo 4 Nov 2017 01:06:42 -0000 1.5
+++ easyrpg/distinfo 13 Nov 2018 00:29:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (Player-0.5.3.tar.gz) = +CD0+t1/uUT58+qAWUNJt8X3jCARqwrfF5ru750KFEk=
-SIZE (Player-0.5.3.tar.gz) = 4151265
+SHA256 (Player-0.5.4.tar.gz) = pQTYcxFHBvAf93FFZpk41BqXe7w2VsSlqkMefmodIeQ=
+SIZE (Player-0.5.4.tar.gz) = 5393488
Index: easyrpg/patches/patch-src_audio_sdl_mixer_cpp
===================================================================
RCS file: easyrpg/patches/patch-src_audio_sdl_mixer_cpp
diff -N easyrpg/patches/patch-src_audio_sdl_mixer_cpp
--- easyrpg/patches/patch-src_audio_sdl_mixer_cpp 29 Apr 2018 09:33:00 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-src_audio_sdl_mixer_cpp,v 1.1 2018/04/29 09:33:00 jasper Exp $
-
-https://github.com/carstene1ns/easyrpg-player/commit/4206ae21a07a9263df74e217c67b6928a4ef775d
-
-Index: src/audio_sdl_mixer.cpp
---- src/audio_sdl_mixer.cpp.orig
-+++ src/audio_sdl_mixer.cpp
-@@ -242,8 +242,12 @@ void SdlMixerAudio::BGM_OnPlayedOnce() {
-
- if (!bgm_stop) {
- played_once = true;
-- // Play indefinitely without fade-in
-+
-+// introduced in SDL2_mixer 2.0.2, which deprecated libmad
-+#ifndef SDL_MIXER_COMPILEDVERSION
- if (Mix_GetMusicType(bgm.get()) != MUS_MP3_MAD)
-+#endif
-+ // Play indefinitely without fade-in
- Mix_PlayMusic(bgm.get(), -1);
- }
- }
Index: easyrpg/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/easyrpg/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- easyrpg/pkg/PLIST 16 Apr 2013 02:11:25 -0000 1.1.1.1
+++ easyrpg/pkg/PLIST 13 Nov 2018 00:29:37 -0000
@@ -1,2 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/16 02:11:25 bcallah Exp $
-@bin bin/EasyRPG_Player
+@bin bin/easyrpg-player
Index: liblcf/Makefile
===================================================================
RCS file: /cvs/ports/games/liblcf/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- liblcf/Makefile 4 Nov 2017 01:05:55 -0000 1.2
+++ liblcf/Makefile 13 Nov 2018 00:29:37 -0000
@@ -4,7 +4,7 @@
COMMENT = library for handling RPG Maker 2000/2003 data
CATEGORIES = games x11
-SHARED_LIBS += lcf 1.0 # 1.0
+SHARED_LIBS += lcf 1.1 # 1.1
HOMEPAGE = https://easyrpg.org/
@@ -13,7 +13,7 @@ PERMIT_PACKAGE_CDROM = Yes
GH_ACCOUNT = EasyRPG
GH_PROJECT = liblcf
-GH_TAGNAME = 0.5.3
+GH_TAGNAME = 0.5.4
WANTLIB += ${COMPILER_LIBCXX} expat icudata icui18n icuuc m
Index: liblcf/distinfo
===================================================================
RCS file: /cvs/ports/games/liblcf/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- liblcf/distinfo 4 Nov 2017 01:05:55 -0000 1.2
+++ liblcf/distinfo 13 Nov 2018 00:29:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (liblcf-0.5.3.tar.gz) = TSeEq5J+L2FZW47+thZkvMZLP3RtEsiT4wJkXdo6zdw=
-SIZE (liblcf-0.5.3.tar.gz) = 178434
+SHA256 (liblcf-0.5.4.tar.gz) = +zHuv6DpoGyum/3HfClfXe6vRKtNaI2kp4d3x33xJeY=
+SIZE (liblcf-0.5.4.tar.gz) = 185441
Index: liblcf/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/liblcf/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- liblcf/pkg/PLIST 9 Sep 2017 19:52:02 -0000 1.1.1.1
+++ liblcf/pkg/PLIST 13 Nov 2018 00:29:37 -0000
@@ -2,20 +2,24 @@
include/liblcf/
include/liblcf/command_codes.h
include/liblcf/data.h
+include/liblcf/enum_tags.h
include/liblcf/ini.h
include/liblcf/inireader.h
include/liblcf/lcf_options.h
include/liblcf/ldb_chunks.h
include/liblcf/ldb_reader.h
+include/liblcf/ldb_terrain_flags.h
+include/liblcf/ldb_trooppagecondition_flags.h
include/liblcf/lmt_chunks.h
include/liblcf/lmt_reader.h
include/liblcf/lmu_chunks.h
+include/liblcf/lmu_eventpagecondition_flags.h
include/liblcf/lmu_reader.h
include/liblcf/lsd_chunks.h
include/liblcf/lsd_reader.h
+include/liblcf/lsd_savepicture_flags.h
include/liblcf/reader_lcf.h
include/liblcf/reader_struct.h
-include/liblcf/reader_types.h
include/liblcf/reader_util.h
include/liblcf/reader_xml.h
include/liblcf/rpg_actor.h
@@ -83,6 +87,9 @@ include/liblcf/rpg_trooppagecondition.h
include/liblcf/rpg_variable.h
include/liblcf/writer_lcf.h
include/liblcf/writer_xml.h
+lib/cmake/
+lib/cmake/liblcf/
+lib/cmake/liblcf/liblcf-config.cmake
lib/liblcf.a
lib/liblcf.la
@lib lib/liblcf.so.${LIBlcf_VERSION}