diff options
Diffstat (limited to 'games-engines/residualvm')
-rw-r--r-- | games-engines/residualvm/Manifest | 3 | ||||
-rw-r--r-- | games-engines/residualvm/metadata.xml | 11 | ||||
-rw-r--r-- | games-engines/residualvm/residualvm-0.2.1-r1.ebuild | 81 |
3 files changed, 95 insertions, 0 deletions
diff --git a/games-engines/residualvm/Manifest b/games-engines/residualvm/Manifest new file mode 100644 index 000000000000..b853dcbd8487 --- /dev/null +++ b/games-engines/residualvm/Manifest @@ -0,0 +1,3 @@ +DIST residualvm-0.2.1-sources.tar.bz2 5533814 BLAKE2B befcb42c823d31ff1e8793d0c902bfdf6b3728530c97b3f43ada5d3b2903a0cddba3247095d1674e62cdd75a6db28a7a5f3b1437e5c39cb5eccb37dff9d52fad SHA512 9eed93770ef1ad828934c32e937b861c93f1ebbb0d936f3f56668e654588f734dc88e29446f0a69f8f26475e96b8ce7ca85318758b99aabc9586756692c721da +EBUILD residualvm-0.2.1-r1.ebuild 1791 BLAKE2B 72cb7fe160b57c2e5d2858fd2aeb3f5b82041374f7523a64f43b69eb211c877d69898e1c2fcf15ba7111ea75ca24a14215cf0d892a65a4ccca47d2e659eed9e8 SHA512 e18cd04be84436fc4f13de9c9aaafa27f5888dfb0cc24e6713916105d515089e1ca23c7870da98138d8c2e673b8f79d54e13904b5b1966530277e485b875f661 +MISC metadata.xml 333 BLAKE2B 37cda9e5ddf385a47b3ad7c5678bd318b79b5c6b87dab92523ad6fd44b850470eae65a01562213709c0b2f6f943c023e5892588ffe484fae12780e531c1725f0 SHA512 41e3a0c69255f5f64ff9c3806e7f1871e0721dc9554d92f370e809487975454b6747818c93da77ad2b8c579b26948ac0a48ac4bb9969838e91f48f51dae2d2f7 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 +} |