summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-08-27 16:36:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-08-27 16:36:06 +0000
commit9dbfba30e3804650f22cab2acd0ce24cab987a82 (patch)
treef6a62fceb377be3f9db843e6d8fb5128915692f4 /games-engines/gemrb
parentRemoved old versions. (diff)
downloadhistorical-9dbfba30e3804650f22cab2acd0ce24cab987a82.tar.gz
historical-9dbfba30e3804650f22cab2acd0ce24cab987a82.tar.bz2
historical-9dbfba30e3804650f22cab2acd0ce24cab987a82.zip
initial commit - bug #158336 with contributions from Nick White
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-engines/gemrb')
-rw-r--r--games-engines/gemrb/ChangeLog10
-rw-r--r--games-engines/gemrb/Manifest5
-rw-r--r--games-engines/gemrb/files/GemRB.cfg.sample228
-rw-r--r--games-engines/gemrb/gemrb-0.5.1.ebuild52
-rw-r--r--games-engines/gemrb/metadata.xml5
5 files changed, 300 insertions, 0 deletions
diff --git a/games-engines/gemrb/ChangeLog b/games-engines/gemrb/ChangeLog
new file mode 100644
index 000000000000..1c7f551e13f9
--- /dev/null
+++ b/games-engines/gemrb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-engines/gemrb
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/ChangeLog,v 1.1 2009/08/27 16:36:05 mr_bones_ Exp $
+
+*gemrb-0.5.1 (27 Aug 2009)
+
+ 27 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org> +gemrb-0.5.1.ebuild,
+ +files/GemRB.cfg.sample, +metadata.xml:
+ initial commit - bug #158336 with contributions from Nick White
+
diff --git a/games-engines/gemrb/Manifest b/games-engines/gemrb/Manifest
new file mode 100644
index 000000000000..e3b5ff623d73
--- /dev/null
+++ b/games-engines/gemrb/Manifest
@@ -0,0 +1,5 @@
+AUX GemRB.cfg.sample 8730 RMD160 b7015af383014142727c821440797bba24eaabac SHA1 c3a51f01e18a67c97cd9e587568df057d1049074 SHA256 82423ffcd6f092c30375e1439383f4a5e38df5f4b090e0d98c3916a46d25bbe6
+DIST gemrb-0.5.1.tar.gz 2170175 RMD160 a52e459d0d6b1aaa09e958b06296c686bc8c634f SHA1 120079371e815fa916f25c0891e182a5391cb5be SHA256 774ac57609b47b17d2c687053ebabdfbfd4c5f2873e01182db1a4915a22c78c9
+EBUILD gemrb-0.5.1.ebuild 1195 RMD160 dacd223298224b84de56e09901ced7ff0b85de5d SHA1 3df6385ecdace541f16904932a59d9efc0f1abe0 SHA256 027e8477b35e581f9c6df03e155e513f0af634baa5e694f263710bc990d029d3
+MISC ChangeLog 427 RMD160 93dce1988c006cf46e8e517114f58c0c7eaa1f56 SHA1 ff3b49a014093e847435690cc4a5602e7e6b2ad4 SHA256 2ca18b31e17a3977da4ac12b2ded27567cc8a0aadfa7146b8b668d85e3ade3c4
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-engines/gemrb/files/GemRB.cfg.sample b/games-engines/gemrb/files/GemRB.cfg.sample
new file mode 100644
index 000000000000..17c21fd08998
--- /dev/null
+++ b/games-engines/gemrb/files/GemRB.cfg.sample
@@ -0,0 +1,228 @@
+#####################################################
+# #
+# This is the GemRB Configuration file. #
+# Here are defined some default parameters for #
+# basic configuration and paths definition. #
+# #
+# Parameters are defined as a Name=Value pair #
+# The Value can be of three types: #
+# - String #
+# - Integer #
+# - Boolean #
+# #
+# The String value is represented as follows #
+# i.e. H:\GemRB\plugins #
+# Integers are defined as follows #
+# i.e. 12723 #
+# Booleans are represented as 1 or 0 in this file #
+# #
+# Lines starting with # are ignored #
+# #
+#####################################################
+
+#####################################################
+# #
+# Game Type [String] Use one of the following #
+# values: #
+# #
+# bg1 Baldur's Gate #
+# bg2 Baldur's Gate 2 : SoA #
+# tob Baldur's Gate 2 : ToB #
+# iwd IceWind Dale #
+# how IceWind Dale : HoW or ToTL #
+# iwd2 IceWind Dale 2 #
+# pst Planescape Torment #
+# (More will come) #
+# #
+#####################################################
+
+GameType=bg2
+
+#####################################################
+# Game Name [String] Title for GemRB window, use #
+# anything you wish, e.g. Baldur's Gate 3: RotFL #
+#####################################################
+
+GameName=Baldur's Gate 2
+
+#####################################################
+# Video Parameters #
+#####################################################
+
+#Screen width
+Width=640
+
+#Screen height
+Height=480
+
+#Bits per pixel [Integer:16,24,32]
+Bpp=32
+
+#Fullscreen [Boolean]
+Fullscreen=1
+
+# Delay before tooltips appear [milliseconds]
+TooltipDelay=500
+
+#####################################################
+# Audio Parameters #
+#####################################################
+# #
+# All volume options are in percents, with 100 #
+# being the normal and default volume #
+# #
+#####################################################
+
+# Volume of ambient sounds
+VolumeAmbients = 100
+
+# Volume during movie playback
+VolumeMovie = 100
+
+# Volume of background music
+VolumeMusic = 100
+
+# Volume of sound effects
+VolumeSFX = 100
+
+# Volume of PC or NPC voices
+VolumeVoices = 100
+
+#####################################################
+# Case Sensitive Filesystem [Boolean] #
+# #
+# If your installed game files are residing on a #
+# case sensitive filesystem (ext2 on Linux) then #
+# you need to set this value to 1, it has no #
+# effect on Windows #
+#####################################################
+
+CaseSensitive=1
+
+#GameOnCD=0
+
+#####################################################
+# Debug #
+#####################################################
+
+# Do not play intro videos [Boolean], useful for development
+SkipIntroVideos=0
+
+# Draw Frames per Second info [Boolean]
+DrawFPS=0
+
+# Hide unexplored parts of a map
+FogOfWar=1
+
+# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt
+# full listing
+EnableCheatKeys=0
+
+#####################################################
+# Paths #
+#####################################################
+# #
+# Note: You have to terminate all paths with the #
+# path separator character ('\' for Windows users, #
+# '/' for Linux users) #
+# #
+#####################################################
+
+#####################################################
+# Game Paths [String] #
+# #
+# These are the paths where the Game you want to #
+# play is installed. #
+# Enter the full path to the directory. #
+#####################################################
+
+GamePath=/usr/share/games/bg2/
+CD1=/usr/share/games/bg2/
+CD2=/usr/share/games/bg2/
+CD3=/usr/share/games/bg2/
+CD4=/usr/share/games/bg2/
+CD5=/usr/share/games/bg2/
+
+#####################################################
+# GemRB Path [String] #
+# #
+# This is the path where GemRB is stored, just #
+# enter the full path to the GemRB executable #
+#####################################################
+
+GemRBPath=/usr/share/games/gemrb/
+
+#####################################################
+# GemRB Cache Path [String] #
+# #
+# This is the path where GemRB will store the #
+# cached files, enter the full path to the GemRB #
+# Cache directory. #
+#####################################################
+
+CachePath=/var/cache/gemrb/
+
+#####################################################
+# GemRB GUI Scripts Path [String] #
+# #
+# This is the path where GemRB GUI scripts are #
+# stored, usually these are in the GemRB directory #
+# Enter the full path to the directory containing #
+# the 'GUIScript' subdirectory. #
+#####################################################
+
+GUIScriptsPath=/usr/share/games/gemrb/
+
+#####################################################
+# GemRB Plugins Path [String] #
+# #
+# This is the path containing GemRB plugins #
+# - shared libraries (.so) on Unixes, or #
+# DLLs (.dll) on windows. #
+# Enter the full path to the directory. #
+# #
+# You may need to specify this path if running #
+# GemRB from source directory on Linux. #
+#####################################################
+
+PluginsPath=/usr/games/lib/gemrb/plugins
+
+#####################################################
+# GemRB Save Path [String] #
+# #
+# This is the path where GemRB looks for saved #
+# games. #
+# Enter the full path to the directory containing #
+# e.g. the 'save' subdirectory. #
+# #
+# You do not have to specify this if you use save #
+# subdir in the GamePath directory. #
+#####################################################
+
+SavePath=~/.bg2/
+
+#####################################################
+# Game Data Path [String] #
+# #
+# This is the subdirectory under GamePath where #
+# game data files are stored. #
+# #
+# You probably do NOT want to specify this! #
+#####################################################
+
+#GameDataPath=data
+
+#####################################################
+# Game Data Override Path [String] #
+# #
+# This is the subdirectory under GamePath where #
+# game data override files are stored. #
+# #
+# You probably do NOT want to specify this! #
+#####################################################
+
+#GameOverridePath=override
+
+#####################################################
+# END #
+#####################################################
diff --git a/games-engines/gemrb/gemrb-0.5.1.ebuild b/games-engines/gemrb/gemrb-0.5.1.ebuild
new file mode 100644
index 000000000000..7ad2a726f56e
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.5.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/gemrb/gemrb-0.5.1.ebuild,v 1.1 2009/08/27 16:36:05 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="Reimplementation of the Infinity engine"
+HOMEPAGE="http://gemrb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gemrb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=media-libs/libsdl-1.2
+ sys-libs/zlib
+ media-libs/libvorbis
+ media-libs/libpng
+ media-libs/openal
+ >=dev-lang/python-2.3"
+
+src_prepare() {
+ sed -i \
+ -e 's|\$(bindir)/plugins/|\$(libdir)/|' \
+ Makefile.am \
+ || die "sed failed"
+ sed -i \
+ -e '/NullSound/d' \
+ gemrb/plugins/Makefile.am \
+ || die "sed failed"
+ sed -i \
+ -e '/sysconf_DATA = /d' \
+ gemrb/Makefile.am \
+ || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --docdir="/usr/share/doc/${PF}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ diropts -m0775 -g ${GAMES_GROUP}
+ keepdir "/var/cache/gemrb"
+ dodoc "${FILESDIR}/GemRB.cfg.sample" README AUTHORS
+ prepgamesdirs
+}
diff --git a/games-engines/gemrb/metadata.xml b/games-engines/gemrb/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-engines/gemrb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>