public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/
Date: Wed, 12 Sep 2018 10:57:44 +0000 (UTC)	[thread overview]
Message-ID: <1536749858.83a652d4d37f6b167d15077018f9f0ba817e2679.polynomial-c@gentoo> (raw)

commit:     83a652d4d37f6b167d15077018f9f0ba817e2679
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 12 10:57:22 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Sep 12 10:57:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a652d4

games-engines/residualvm: Bump to version 0.3.1

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 games-engines/residualvm/Manifest                |  1 +
 games-engines/residualvm/residualvm-0.3.1.ebuild | 91 ++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/games-engines/residualvm/Manifest b/games-engines/residualvm/Manifest
index e17a719991a..3aa86f9db79 100644
--- a/games-engines/residualvm/Manifest
+++ b/games-engines/residualvm/Manifest
@@ -1 +1,2 @@
 DIST residualvm-0.2.1-sources.tar.bz2 5533814 BLAKE2B befcb42c823d31ff1e8793d0c902bfdf6b3728530c97b3f43ada5d3b2903a0cddba3247095d1674e62cdd75a6db28a7a5f3b1437e5c39cb5eccb37dff9d52fad SHA512 9eed93770ef1ad828934c32e937b861c93f1ebbb0d936f3f56668e654588f734dc88e29446f0a69f8f26475e96b8ce7ca85318758b99aabc9586756692c721da
+DIST residualvm-0.3.1-sources.tar.bz2 6711799 BLAKE2B 93d21bc5ee2c567b1ef256a69a2634761cd52211a0b2d926edc67b65e0cc1bf23b41c91225e6d43990d61e6c3761acf19defaa9b477ad882d332ad77c71af1a6 SHA512 491a77f1775718795d93f099fa39ec5888755ac1df610089c17209334b98ae783271078ed03a61ced09835aa327446804a55522d4b83f618dd3b843c231444a0

diff --git a/games-engines/residualvm/residualvm-0.3.1.ebuild b/games-engines/residualvm/residualvm-0.3.1.ebuild
new file mode 100644
index 00000000000..7343afbb7e7
--- /dev/null
+++ b/games-engines/residualvm/residualvm-0.3.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="A cross-platform 3D game interpreter for play LucasArts' LUA-based 3D adventures"
+HOMEPAGE="http://www.residualvm.org/"
+if [[ "${PV}" = 9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/residualvm/residualvm.git"
+else
+	SRC_URI="http://www.residualvm.org/downloads/release/${PV}/${P}-sources.tar.bz2"
+	KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+# TODO: fix dynamic plugin support
+# games crash without media-libs/libsdl[alsa]
+RDEPEND="
+	media-libs/alsa-lib
+	media-libs/freetype:2
+	media-libs/glew:0=
+	media-libs/libpng:0=
+	media-libs/libsdl2[X,sound,alsa,joystick,opengl,video]
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	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)
+	local myconf=(
+		--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
+	)
+	./configure "${myconf[@]}" || 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
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}


             reply	other threads:[~2018-09-12 10:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-12 10:57 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-20  0:05 [gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/ Sam James
2021-12-28 17:10 Ionen Wolkens
2019-11-05  7:56 Lars Wendler
2019-03-15 22:45 Lars Wendler
2019-03-15 22:45 Lars Wendler
2019-03-15 22:45 Lars Wendler
2019-03-15 21:53 Lars Wendler
2018-09-12 10:57 Lars Wendler
2017-01-20  1:09 Austin English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1536749858.83a652d4d37f6b167d15077018f9f0ba817e2679.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox