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
commit06f3e3c8407499b2ba8ea9eec7791d6c9aab0016 (patch)
treeaae5533c90662a5938803ead987287ea193c4241 /games-engines
parentRemoved old versions. (diff)
downloadgentoo-2-06f3e3c8407499b2ba8ea9eec7791d6c9aab0016.tar.gz
gentoo-2-06f3e3c8407499b2ba8ea9eec7791d6c9aab0016.tar.bz2
gentoo-2-06f3e3c8407499b2ba8ea9eec7791d6c9aab0016.zip
initial commit - bug #158336 with contributions from Nick White
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/gemrb/ChangeLog10
-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
4 files changed, 295 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/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>