From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- games-engines/residualvm/Manifest | 1 + games-engines/residualvm/metadata.xml | 8 +++ games-engines/residualvm/residualvm-0.2.1.ebuild | 89 ++++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 games-engines/residualvm/Manifest create mode 100644 games-engines/residualvm/metadata.xml create mode 100644 games-engines/residualvm/residualvm-0.2.1.ebuild (limited to 'games-engines/residualvm') diff --git a/games-engines/residualvm/Manifest b/games-engines/residualvm/Manifest new file mode 100644 index 000000000000..b172037f1d44 --- /dev/null +++ b/games-engines/residualvm/Manifest @@ -0,0 +1 @@ +DIST residualvm-0.2.1-sources.tar.bz2 5533814 SHA256 cd2748a665f80b8c527c6dd35f8435e718d2e10440dca10e7765574c7402d924 SHA512 9eed93770ef1ad828934c32e937b861c93f1ebbb0d936f3f56668e654588f734dc88e29446f0a69f8f26475e96b8ce7ca85318758b99aabc9586756692c721da WHIRLPOOL fd055dc5f85ae653f38f6de6a4d80aad32aa77164ab997fb2cc64cd23284b1af7531d9a1076cdd903e6edc8bf48b6e455c42f0adb997ea7eeda660d958e3319b diff --git a/games-engines/residualvm/metadata.xml b/games-engines/residualvm/metadata.xml new file mode 100644 index 000000000000..6e55bbad6584 --- /dev/null +++ b/games-engines/residualvm/metadata.xml @@ -0,0 +1,8 @@ + + + + games + + residualvm + + 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..373734a181cb --- /dev/null +++ b/games-engines/residualvm/residualvm-0.2.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} -- cgit v1.2.3-65-gdbad