GemRB (Game engine made with preRendered Background) is a portable
open-source implementation of Bioware's Infinity Engine which was written to support pseudo-3D role playing games based on the Dungeons & Dragons ruleset. With help from bentley@ and edd@ OK bentley@
This commit is contained in:
parent
7a30035c19
commit
31a49b5185
54
games/gemrb/Makefile
Normal file
54
games/gemrb/Makefile
Normal file
@ -0,0 +1,54 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/08/21 09:14:21 kirby Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
SHARED_LIBS += gemrb_core 0.0
|
||||
|
||||
COMMENT = open-source implementation of Bioware's Infinity Engine
|
||||
|
||||
DISTNAME = gemrb-0.8.3
|
||||
|
||||
CATEGORIES = games emulators x11
|
||||
|
||||
HOMEPAGE = http://www.gemrb.org/
|
||||
|
||||
MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gemrb/}
|
||||
|
||||
WANTLIB += SDL SDL_mixer c freetype m openal png pthread stdc++
|
||||
WANTLIB += vlc vorbisfile z ${MODPY_WANTLIB}
|
||||
|
||||
MODULES = converters/libiconv \
|
||||
devel/cmake \
|
||||
lang/python
|
||||
LIB_DEPENDS = audio/openal \
|
||||
devel/sdl-mixer \
|
||||
graphics/png \
|
||||
x11/vlc \
|
||||
${MODPY_LIB_DEPENDS}
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gtk+3,-guic
|
||||
|
||||
CONFIGURE_ARGS += -DSYSCONF_DIR=${SYSCONFDIR}/gemrb \
|
||||
-DEXAMPLE_CONF_DIR=${PREFIX}/share/examples/gemrb/ \
|
||||
-DMAN_DIR=${PREFIX}/man/man6 \
|
||||
-DCMAKE_MODULE_LINKER_FLAGS=-lc \
|
||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS} \
|
||||
-DSYSCONFDIR=\\\"\${SYSCONFDIR}/gemrb\\\"" \
|
||||
-DDISABLE_WERROR=1
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
post-install:
|
||||
cd ${PREFIX}/share/gemrb/GUIScripts/ && find * -name \*.py \
|
||||
-exec ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
||||
${PREFIX}/share/gemrb/GUIScripts/{} \;
|
||||
${SUBST_CMD} -c ${FILESDIR}/baldurs_gate_1.cfg \
|
||||
${PREFIX}/share/examples/gemrb/baldurs_gate_1.cfg
|
||||
rm ${PREFIX}/share/gemrb/GUIScripts/bg1/GUIMOVIE.py.orig
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/gemrb/distinfo
Normal file
2
games/gemrb/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (gemrb-0.8.3.tar.gz) = SZbU1m5g2ewMY7lPaHxKbVT0+7+4AwQkXo/w+ohvVmQ=
|
||||
SIZE (gemrb-0.8.3.tar.gz) = 12370971
|
17
games/gemrb/files/baldurs_gate_1.cfg
Normal file
17
games/gemrb/files/baldurs_gate_1.cfg
Normal file
@ -0,0 +1,17 @@
|
||||
# Example Baldurs Gate 1 config.
|
||||
# Tested with data taken from a windows install.
|
||||
|
||||
# Change this
|
||||
GamePath=<path_to_your_data>
|
||||
|
||||
GameType=bg1
|
||||
CaseSensitive=1
|
||||
# Note that baldurs gate 1 does not support higher resolutions
|
||||
Width=640
|
||||
Height=480
|
||||
Fullscreen=1
|
||||
GemRBPath=${LOCALASE}/share/gemrb
|
||||
GameOverridePath=/data
|
||||
CachePath=/tmp/cache/
|
||||
PluginsPath=${LOCALBASE}/lib/gemrb/plugins
|
||||
SavePath=~/.baldursgate
|
15
games/gemrb/patches/patch-gemrb_GUIScripts_bg1_GUIMOVIE_py
Normal file
15
games/gemrb/patches/patch-gemrb_GUIScripts_bg1_GUIMOVIE_py
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-gemrb_GUIScripts_bg1_GUIMOVIE_py,v 1.1.1.1 2015/08/21 09:14:21 kirby Exp $
|
||||
|
||||
Syntax error.
|
||||
|
||||
--- gemrb/GUIScripts/bg1/GUIMOVIE.py.orig Fri Jul 31 00:00:21 2015
|
||||
+++ gemrb/GUIScripts/bg1/GUIMOVIE.py Fri Jul 31 00:00:51 2015
|
||||
@@ -34,7 +34,7 @@ def OnLoad():
|
||||
CreditsButton = MovieWindow.GetControl (3)
|
||||
DoneButton = MovieWindow.GetControl (4)
|
||||
MoviesTable = GemRB.LoadTable ("MOVIDESC")
|
||||
- opts = [MoviesTable.GetValue (i, 0) for i in range( MoviesTable.GetRowCount()) if GemRB.GetVar(MoviesTable.GetRowName (i) == 1 ]
|
||||
+ opts = [MoviesTable.GetValue (i, 0) for i in range( MoviesTable.GetRowCount()) if GemRB.GetVar(MoviesTable.GetRowName (i)) == 1 ]
|
||||
TextAreaControl.SetOptions(opts)
|
||||
TextAreaControl.SetVarAssoc ("MovieIndex",0)
|
||||
TextAreaControl.SetEvent (IE_GUI_TEXTAREA_ON_SELECT, MoviePress)
|
39
games/gemrb/patches/patch-gemrb_GemRB_cfg_sample_in
Normal file
39
games/gemrb/patches/patch-gemrb_GemRB_cfg_sample_in
Normal file
@ -0,0 +1,39 @@
|
||||
$OpenBSD: patch-gemrb_GemRB_cfg_sample_in,v 1.1.1.1 2015/08/21 09:14:21 kirby Exp $
|
||||
--- gemrb/GemRB.cfg.sample.in.orig Fri Jul 24 20:23:18 2015
|
||||
+++ gemrb/GemRB.cfg.sample.in Thu Jul 30 23:59:38 2015
|
||||
@@ -188,7 +188,7 @@ CD5=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD5/
|
||||
# Cache directory. #
|
||||
#####################################################
|
||||
|
||||
-CachePath=./Cache2/
|
||||
+CachePath=~/.cache/gemrb/
|
||||
|
||||
#####################################################
|
||||
# GemRB Save Path [String] #
|
||||
@@ -225,7 +225,7 @@ CachePath=./Cache2/
|
||||
# the 'GUIScript' subdirectory. #
|
||||
#####################################################
|
||||
|
||||
-#GUIScriptsPath=@DATA_DIR@
|
||||
+GUIScriptsPath=@DATA_DIR@
|
||||
|
||||
#####################################################
|
||||
# GemRB Plugins Path [String] #
|
||||
@@ -239,7 +239,7 @@ CachePath=./Cache2/
|
||||
# GemRB from source directory on Linux. #
|
||||
#####################################################
|
||||
|
||||
-#PluginsPath=@PLUGIN_DIR@
|
||||
+PluginsPath=@PLUGIN_DIR@
|
||||
|
||||
#####################################################
|
||||
# Custom Font Path [String] #
|
||||
@@ -283,7 +283,7 @@ CachePath=./Cache2/
|
||||
#####################################################
|
||||
|
||||
#GemRBOverridePath=@DATA_DIR@
|
||||
-#GemRBUnhardcodedPath=@DATA_DIR@
|
||||
+GemRBUnhardcodedPath=@DATA_DIR@
|
||||
|
||||
#####################################################
|
||||
# Input Parameters #
|
4
games/gemrb/pkg/DESCR
Normal file
4
games/gemrb/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
GemRB (Game engine made with preRendered Background) is a portable
|
||||
open-source implementation of Bioware's Infinity Engine which was
|
||||
written to support pseudo-3D role playing games based on the Dungeons &
|
||||
Dragons ruleset.
|
2790
games/gemrb/pkg/PLIST
Normal file
2790
games/gemrb/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user