add baldurs gate and the gemrb engine
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1456 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
4
games-engines/gemrb/Manifest
Normal file
4
games-engines/gemrb/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
AUX GemRB.cfg.sample 8767 RMD160 7f58156143d25546fbf2514410d3e3b020aadcbf SHA1 7826df65159efaad4a66147a404391f37c6f2583 SHA256 6e7c232fada9d13aa72ec5ca049ea6c1bfa8500e995e26008912d51134b6c76d
|
||||
DIST gemrb-0.5.0.tar.gz 2084847 RMD160 48fd9f77bd1a3f19b95d5aedd5e2825e5328d980 SHA1 86a01fadd1b4312021256908ba7aafdcb23d7e55 SHA256 795c7ce85ceed60f4f81a451f06969a12d6d812d71e10d85786ef64454f14de1
|
||||
EBUILD gemrb-0.5.0.ebuild 1170 RMD160 e93a88d1d12071f19013754ab6644f7b828dd098 SHA1 5f9e7150849ddabda048535715a73f2271933ed2 SHA256 dcd03b14808b867f776bd4ae74f4b5d9ffc19f69251ec691d7401703f43575fe
|
||||
EBUILD gemrb-9999.ebuild 1449 RMD160 d96e1a743b9af54f80b8781f6e961b0c8a694a6e SHA1 cf71a8cf386bfe0fb113bc9487fba379dbe23017 SHA256 3875bd4c0c15b66e9575a9c95fb2f094fe0576844f771f0d4ae6e410637f8c8b
|
||||
228
games-engines/gemrb/files/GemRB.cfg.sample
Normal file
228
games-engines/gemrb/files/GemRB.cfg.sample
Normal file
@@ -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/local/share/games/bg2/
|
||||
CD1=/usr/local/share/games/bg2/
|
||||
CD2=/usr/local/share/games/bg2/
|
||||
CD3=/usr/local/share/games/bg2/
|
||||
CD4=/usr/local/share/games/bg2/
|
||||
CD5=/usr/local/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 #
|
||||
#####################################################
|
||||
48
games-engines/gemrb/gemrb-0.5.0.ebuild
Normal file
48
games-engines/gemrb/gemrb-0.5.0.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit autotools eutils games
|
||||
|
||||
DESCRIPTION="Reimplementation of the Infinity engine"
|
||||
HOMEPAGE="http://gemrb.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=">=media-libs/libsdl-1.2
|
||||
media-libs/openal
|
||||
>=dev-lang/python-2.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i '/sysconf_DATA = GemRB.cfg.sample GemRB.cfg.subdir.sample/d' \
|
||||
gemrb/Makefile.am || die "remove default config failed"
|
||||
if ! use doc ; then
|
||||
sed -i 's|^SUBDIRS = \(.*\) docs|SUBDIRS = \1|' \
|
||||
gemrb/Makefile.am || die "don't install docs failed"
|
||||
fi
|
||||
eautoreconf || die "eautoreconf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
egamesconf \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
|| die "egamesconf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
libtool --finish "${GAMES_LIBDIR}"
|
||||
diropts -m0775 -g ${GAMES_GROUP}
|
||||
keepdir "/var/cache/gemrb"
|
||||
dodoc "${FILESDIR}/GemRB.cfg.sample"
|
||||
dodoc README AUTHORS
|
||||
prepgamesdirs
|
||||
}
|
||||
54
games-engines/gemrb/gemrb-9999.ebuild
Normal file
54
games-engines/gemrb/gemrb-9999.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit autotools eutils games subversion
|
||||
|
||||
DESCRIPTION="Reimplementation of the Infinity engine"
|
||||
HOMEPAGE="http://gemrb.sourceforge.net/"
|
||||
#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
ESVN_REPO_URI="https://gemrb.svn.sourceforge.net/svnroot/gemrb/gemrb/trunk"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=">=media-libs/libsdl-1.2
|
||||
media-libs/openal
|
||||
>=dev-lang/python-2.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
subversion_src_unpack ${A}
|
||||
cd "${S}"
|
||||
sed -i 's|\$(bindir)/plugins/|\$(libdir)/|' \
|
||||
Makefile.am || die "move plugindir failed"
|
||||
sed -i '/NullSound/d' \
|
||||
gemrb/plugins/Makefile.am || die "enable sound failed"
|
||||
sed -i '/sysconf_DATA = GemRB.cfg.sample GemRB.cfg.subdir.sample/d' \
|
||||
gemrb/Makefile.am || die "remove default config failed"
|
||||
if ! use doc ; then
|
||||
sed -i 's|^SUBDIRS = \(.*\) docs|SUBDIRS = \1|' \
|
||||
gemrb/Makefile.am || die "don't install docs failed"
|
||||
fi
|
||||
eautoreconf || die "eautoreconf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
egamesconf \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
|| die "egamesconf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
libtool --finish "${GAMES_LIBDIR}"
|
||||
diropts -m0775 -g ${GAMES_GROUP}
|
||||
keepdir "/var/cache/gemrb"
|
||||
dodoc "${FILESDIR}/GemRB.cfg.sample"
|
||||
dodoc README AUTHORS
|
||||
prepgamesdirs
|
||||
}
|
||||
Reference in New Issue
Block a user