summaryrefslogtreecommitdiff
path: root/games-engines/residualvm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-engines/residualvm
reinit the tree, so we can have metadata
Diffstat (limited to 'games-engines/residualvm')
-rw-r--r--games-engines/residualvm/Manifest6
-rw-r--r--games-engines/residualvm/metadata.xml11
-rw-r--r--games-engines/residualvm/residualvm-0.2.1-r1.ebuild81
-rw-r--r--games-engines/residualvm/residualvm-0.2.1.ebuild88
4 files changed, 186 insertions, 0 deletions
diff --git a/games-engines/residualvm/Manifest b/games-engines/residualvm/Manifest
new file mode 100644
index 000000000000..a40be875bf3d
--- /dev/null
+++ b/games-engines/residualvm/Manifest
@@ -0,0 +1,6 @@
+DIST residualvm-0.2.1-sources.tar.bz2 5533814 SHA256 cd2748a665f80b8c527c6dd35f8435e718d2e10440dca10e7765574c7402d924 SHA512 9eed93770ef1ad828934c32e937b861c93f1ebbb0d936f3f56668e654588f734dc88e29446f0a69f8f26475e96b8ce7ca85318758b99aabc9586756692c721da WHIRLPOOL fd055dc5f85ae653f38f6de6a4d80aad32aa77164ab997fb2cc64cd23284b1af7531d9a1076cdd903e6edc8bf48b6e455c42f0adb997ea7eeda660d958e3319b
+EBUILD residualvm-0.2.1-r1.ebuild 1791 SHA256 a33dffa1cc4284671d112609fffbef899aeada8b56e1744c8d218fd811fa48aa SHA512 e18cd04be84436fc4f13de9c9aaafa27f5888dfb0cc24e6713916105d515089e1ca23c7870da98138d8c2e673b8f79d54e13904b5b1966530277e485b875f661 WHIRLPOOL ff4ec99a4b448861018bcabf69a7317e56c8327c0b121556d282dc3a7424725e11e998db375f68f6c57d93743319854c114e6dbb1e0122a78894a22ec8346afd
+EBUILD residualvm-0.2.1.ebuild 1967 SHA256 cae7a6ce325a88986db2fd4d7de23c128bda294752fb75c1b43b7141d2bafc66 SHA512 45528f3c69a2ed3ff48982d7e7b6929aff1afc80c7a2fbddef7185f58fe1f7e23c4723ca3775514ea54630460ed7fe0ded2bb5aeb8bd8e5e055f05cd38ba81ff WHIRLPOOL 85cdea4c1e264dc78fb903562a2802abfa23c16f5e64059bf5a08864f6b590324c5564cbe44f0e49dea195e6a38d0ab692c3a427b4a43e87516ecf33ec42bba4
+MISC ChangeLog 2441 SHA256 e8f9199204ac621377b34388d77f2be1239c2f0f241bfa46d453c56a8049e5bc SHA512 dfa8cf2e4f7c2b1a9238e169180199a35c0d3814bb62b27db2ef863d2a1b4cf4f9f348ea0c7d87a9e1c100e7b008263d90f277012702934ff72b835aaa81870e WHIRLPOOL ce63ae13b720d66f21c8640970c73d4148ad2b5c23e0c5d2d359ebeccc091c8b4b974968b27e6572d1395aa488c4955af6d671908c6defcf883456f35dd412cc
+MISC ChangeLog-2015 1620 SHA256 1c535a268690a467ca7ea708e6a748645720c0887f1af7b3cdcde267c70a9023 SHA512 e3722614ad508eaed5f0d5d1e75129ac71286483006fb9da110318f895984213606ba5b621e55bc8283e1bb12f9e0e83e67a57a7068ba5122c558aa76a0de6f0 WHIRLPOOL 825edea493d890d5c1814a9354d054241849dfce2258748b4156b1c72f8f9322428f8cf87a847347e14dc371b0e2202ff3c991363a4da42208445f1d6dd0a170
+MISC metadata.xml 333 SHA256 9fb352789d5562aae77ccd9dd0b2e452a77cc4fe860f760d0ee94c044504f5c5 SHA512 41e3a0c69255f5f64ff9c3806e7f1871e0721dc9554d92f370e809487975454b6747818c93da77ad2b8c579b26948ac0a48ac4bb9969838e91f48f51dae2d2f7 WHIRLPOOL 0b32ff75d9207116a06f290d7fa40c200c4e47eb920886fefa8a1be6fc0e0954ec1a928a228e347720304b55bb1fd0c43713ab00219375cf49f49b7b62a26b6b
diff --git a/games-engines/residualvm/metadata.xml b/games-engines/residualvm/metadata.xml
new file mode 100644
index 000000000000..f346e5457981
--- /dev/null
+++ b/games-engines/residualvm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">residualvm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-engines/residualvm/residualvm-0.2.1-r1.ebuild b/games-engines/residualvm/residualvm-0.2.1-r1.ebuild
new file mode 100644
index 000000000000..5d005b46ebc2
--- /dev/null
+++ b/games-engines/residualvm/residualvm-0.2.1-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils toolchain-funcs gnome2-utils
+
+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,sound,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, verify on version bump !!!
+ # disable explicitly, otherwise we get unneeded linkage (some copy-paste build system)
+ ./configure \
+ --backend=sdl \
+ --disable-debug \
+ --disable-faad \
+ --disable-flac \
+ --disable-fluidsynth \
+ --disable-libunity \
+ --disable-mad \
+ --disable-sparkle \
+ --disable-translation \
+ --disable-tremor \
+ --disable-vorbis \
+ --docdir="/usr/share/doc/${PF}" \
+ --enable-all-engines \
+ --enable-release-mode \
+ --enable-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake \
+ VERBOSE_BUILD=1 \
+ AR="$(tc-getAR) cru" \
+ RANLIB=$(tc-getRANLIB)
+}
+
+src_install() {
+ dobin residualvm
+
+ insinto "/usr/share/${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.md KNOWN_BUGS TODO
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-engines/residualvm/residualvm-0.2.1.ebuild b/games-engines/residualvm/residualvm-0.2.1.ebuild
new file mode 100644
index 000000000000..7686d028847b
--- /dev/null
+++ b/games-engines/residualvm/residualvm-0.2.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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,sound,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.md 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
+}