summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-14 18:35:28 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-14 18:35:28 +0000
commite47bc755034f02d89f434858519bb41920634025 (patch)
treee3d494c4bd7b15496c380d6e1ac889c25389404e /games-engines/residualvm
parentBetter fix for bug #448382 (diff)
downloadgentoo-2-e47bc755034f02d89f434858519bb41920634025.tar.gz
gentoo-2-e47bc755034f02d89f434858519bb41920634025.tar.bz2
gentoo-2-e47bc755034f02d89f434858519bb41920634025.zip
initial import wrt #451542
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-engines/residualvm')
-rw-r--r--games-engines/residualvm/ChangeLog10
-rw-r--r--games-engines/residualvm/Manifest4
-rw-r--r--games-engines/residualvm/metadata.xml10
-rw-r--r--games-engines/residualvm/residualvm-0.1.0.ebuild89
4 files changed, 113 insertions, 0 deletions
diff --git a/games-engines/residualvm/ChangeLog b/games-engines/residualvm/ChangeLog
new file mode 100644
index 000000000000..5bd4b71bf153
--- /dev/null
+++ b/games-engines/residualvm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-engines/residualvm
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/residualvm/ChangeLog,v 1.1 2013/01/14 18:35:28 hasufell Exp $
+
+*residualvm-0.1.0 (14 Jan 2013)
+
+ 14 Jan 2013; Julian Ospald <hasufell@gentoo.org> +residualvm-0.1.0.ebuild,
+ +metadata.xml:
+ initial import wrt #451542
+
diff --git a/games-engines/residualvm/Manifest b/games-engines/residualvm/Manifest
new file mode 100644
index 000000000000..9eb96db70f82
--- /dev/null
+++ b/games-engines/residualvm/Manifest
@@ -0,0 +1,4 @@
+DIST residualvm-0.1.0-sources.tar.bz2 4704016 SHA256 faace790d974da08133277c2bf22e0cc36a69e0bf70e3cfcd252be745b42fa83 SHA512 acb477e11f0fa230e52f6b961ef421514a98811f43dd25b4d8653af94b72c764f815f3806928b50526499053875fe4d06e3a69c8faf6ec57eca97b4bf7b860fd WHIRLPOOL e838ac4d0de9079f37d806e03428581339b6718dac9add5e4e03a8678598ed2c85e71a377f7bca8af223615873ffc8f0d116fe7b1097158142a3c38094ef4198
+EBUILD residualvm-0.1.0.ebuild 1979 SHA256 370cd62e313e6b3c9f47347e5ab5d53a8f50e968a3c0a37232b7105af81abd4f SHA512 33a3fc083f59c7bb87dafaa552b20826b319b9a7efd178faf81423039906c4af553ee7320bbf3d8f6e5bc8d47f53a963198b16769067fcef1009349b63238415 WHIRLPOOL a9d908eea27ad743c82d915f206ab74c9ccdb724e7ab86ab30cd1729b3e4a0f949be7c5aa7651c3c177c622693952d0225ba371e68f64a4fb927b6423c784ec4
+MISC ChangeLog 282 SHA256 8d65ef09fbba4c5da5efe7cd2df4ce60e23a985ba91b4b1883297f545bf59b09 SHA512 90bf073234c59e9f89b871d15f98cace34a4fb413d888c008430d272155bf7fb75a27bd30b583a25d2e53fd557eb3cdd261b4590db220a396e806d94cfd6b64e WHIRLPOOL d99a2b2f34026de01e3f85e9a184eb1a9469cba056f25d4e093885fbf0a0d52cd552e61b4e528bde64d1fdb4375698cb3b3493dbf4632c4f43d218f4de1d29fc
+MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8
diff --git a/games-engines/residualvm/metadata.xml b/games-engines/residualvm/metadata.xml
new file mode 100644
index 000000000000..e52db06ebd8c
--- /dev/null
+++ b/games-engines/residualvm/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/games-engines/residualvm/residualvm-0.1.0.ebuild b/games-engines/residualvm/residualvm-0.1.0.ebuild
new file mode 100644
index 000000000000..73902e0f625b
--- /dev/null
+++ b/games-engines/residualvm/residualvm-0.1.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/residualvm/residualvm-0.1.0.ebuild,v 1.1 2013/01/14 18:35:28 hasufell Exp $
+
+EAPI=5
+inherit eutils toolchain-funcs gnome2-utils games
+
+DESCRIPTION="A cross-platform 3D game interpreter for play LucasArts' LUA-based 3D adventures"
+HOMEPAGE="http://www.residualvm.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-sources.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# TODO: fix dynamic plugin support
+# games crash without media-libs/libsdl[alsa]
+RDEPEND="
+ media-libs/alsa-lib
+ media-libs/freetype:2
+ media-libs/libsdl[X,audio,alsa,joystick,opengl,video]
+ sys-libs/zlib
+ virtual/glu
+ virtual/opengl"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ # not an autotools script
+ # most configure options currently do nothing, recheck on version bump !!!
+ # disable explicitly, otherwise we get unneeded linkage (some copy-paste build system)
+ ./configure \
+ --disable-debug \
+ --enable-all-engines \
+ --backend=sdl \
+ --enable-release-mode \
+ --disable-tremor \
+ --disable-sparkle \
+ --prefix="${GAMES_PREFIX}" \
+ --datadir="${GAMES_DATADIR}/${PN}" \
+ --libdir="$(games_get_libdir)" \
+ --docdir="/usr/share/doc/${PF}" \
+ --disable-libunity \
+ --disable-faad \
+ --disable-flac \
+ --disable-fluidsynth \
+ --disable-mad \
+ --disable-translation \
+ --disable-vorbis \
+ --enable-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake \
+ VERBOSE_BUILD=1 \
+ AR="$(tc-getAR) cru" \
+ RANLIB=$(tc-getRANLIB)
+}
+
+src_install() {
+ dogamesbin residualvm
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins gui/themes/modern.zip dists/engine-data/residualvm-grim-patch.lab
+
+ doicon -s scalable icons/${PN}.svg
+ doicon -s 256 icons/${PN}.png
+ domenu dists/${PN}.desktop
+
+ doman dists/${PN}.6
+ dodoc AUTHORS README KNOWN_BUGS TODO
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}