[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/files/, games-engines/residualvm/, profiles/

2023-01-17 Thread James Le Cuirot
commit: b4683895cb37c523bd4925e205681d3014a49802
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Jan 17 21:53:42 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Jan 17 21:53:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4683895

games-engines/residualvm: Drop last-rited package

Signed-off-by: James Le Cuirot  gentoo.org>

 games-engines/residualvm/Manifest  |   1 -
 .../residualvm-0.3.1-freetype_pkgconfig.patch  | 145 -
 games-engines/residualvm/metadata.xml  |  14 --
 .../residualvm/residualvm-0.3.1-r2.ebuild  |  98 --
 games-engines/residualvm/residualvm-.ebuild|  82 
 profiles/package.mask  |   5 -
 6 files changed, 345 deletions(-)

diff --git a/games-engines/residualvm/Manifest 
b/games-engines/residualvm/Manifest
deleted file mode 100644
index fb840283578d..
--- a/games-engines/residualvm/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST residualvm-0.3.1-sources.tar.bz2 6711799 BLAKE2B 
93d21bc5ee2c567b1ef256a69a2634761cd52211a0b2d926edc67b65e0cc1bf23b41c91225e6d43990d61e6c3761acf19defaa9b477ad882d332ad77c71af1a6
 SHA512 
491a77f1775718795d93f099fa39ec5888755ac1df610089c17209334b98ae783271078ed03a61ced09835aa327446804a55522d4b83f618dd3b843c231444a0

diff --git 
a/games-engines/residualvm/files/residualvm-0.3.1-freetype_pkgconfig.patch 
b/games-engines/residualvm/files/residualvm-0.3.1-freetype_pkgconfig.patch
deleted file mode 100644
index 41468ebf2b13..
--- a/games-engines/residualvm/files/residualvm-0.3.1-freetype_pkgconfig.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-From 34fc21424803ad193532c8423049ad07131fd7db Mon Sep 17 00:00:00 2001
-From: Lars Wendler 
-Date: Sun, 6 May 2018 20:55:29 +0200
-Subject: [PATCH 1/2] BUILD: Prefer pkg-config over freetype-config if possible
-
-As of freetype-2.9.1 the freetype-config script no longer gets installed
-by default.

- configure | 47 ++-
- 1 file changed, 38 insertions(+), 9 deletions(-)
-
-diff --git a/configure b/configure
-index 7e0c9300..0a00cd95 100755
 a/configure
-+++ b/configure
-@@ -209,6 +209,7 @@ _sparklepath=
- _sdlconfig=sdl2-config
- _libcurlconfig=curl-config
- _freetypeconfig=freetype-config
-+_freetype_found="false"
- _sdlpath="$PATH"
- _freetypepath="$PATH"
- _libcurlpath="$PATH"
-@@ -4529,17 +4530,45 @@ echo "$_libunity"
- #
- # Check for FreeType2 to be present
- #
--if test "$_freetype2" != "no"; then
--
--  # Look for the freetype-config script
--  find_freetypeconfig
-+find_freetype() {
-+# Wrapper function which tries to find freetype
-+# either by callimg freetype-config or by using
-+# pkg-config.
-+# As of freetype-2.9.1 the freetype-config file
-+# no longer gets installed by default.
-+
-+  if pkg-config --exists freetype2; then
-+  FREETYPE2_LIBS=`pkg-config --libs freetype2`
-+  FREETYPE2_CFLAGS=`pkg-config --cflags freetype2`
-+  FREETYPE2_STATIC_LIBS=`pkg-config --static --libs freetype2`
-+  _freetype_found="true"
-+  else
-+  # Look for the freetype-config script
-+  find_freetypeconfig
-+  if test -n "$_freetypeconfig"; then
-+  # Since 2.3.12, freetype-config prepends $SYSROOT to 
everything.
-+  # This means we can't pass it a --prefix that includes 
$SYSROOT.
-+  freetypeprefix="$_freetypepath"
-+  if test -n "$SYSROOT" -a "$SYSROOT" != "/"; then
-+  teststring=VeryImplausibleSysrootX1Y2Z3
-+  if ( env SYSROOT=/$teststring 
"$_freetypeconfig" --cflags | grep $teststring 2> /dev/null > /dev/null ); then
-+  echo "Adapting FreeType prefix to 
SYSROOT" >> "$TMPLOG"
-+  
freetypeprefix="${freetypeprefix##$SYSROOT}"
-+  fi
-+  fi
-+  FREETYPE2_LIBS=`$_freetypeconfig 
--prefix="$freetypeprefix" --libs`
-+  FREETYPE2_CFLAGS=`$_freetypeconfig 
--prefix="$freetypeprefix" --cflags`
-+  FREETYPE2_STATIC_LIBS=`$_freetypeconfig 
--prefix="$freetypeprefix" --static --libs 2>/dev/null`
-+  _freetype_found="true"
-+  fi
-+  fi
-+}
- 
--  if test -z "$_freetypeconfig"; then
-+if test "$_freetype2" != "no"; then
-+  find_freetype
-+  if test $_freetype_found != true; then
-   _freetype2=no
-   else
--  FREETYPE2_LIBS=`$_freetypeconfig --prefix="$_freetypepath" 
--libs`
--  FREETYPE2_CFLAGS=`$_freetypeconfig --prefix="$_freetypepath" 
--cflags`
--
-   if test "$_freetype2" = "auto"; then
-   _freetype2=no
- 
-@@ -4559,7 

[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2022-03-19 Thread Sam James
commit: 3a07439dab6c90a145abb6b403c76eb43bfad2b2
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 19 23:50:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 19 23:50:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a07439d

games-engines/residualvm: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James  gentoo.org>

 games-engines/residualvm/residualvm-0.3.1-r2.ebuild | 4 ++--
 games-engines/residualvm/residualvm-.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/games-engines/residualvm/residualvm-0.3.1-r2.ebuild 
b/games-engines/residualvm/residualvm-0.3.1-r2.ebuild
index 43512e6b067d..327b61a26d51 100644
--- a/games-engines/residualvm/residualvm-0.3.1-r2.ebuild
+++ b/games-engines/residualvm/residualvm-0.3.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -77,7 +77,7 @@ src_configure() {
 }
 
 src_compile() {
-   emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
+   emake AR="$(tc-getAR) cru" RANLIB="$(tc-getRANLIB)"
 }
 
 src_install() {

diff --git a/games-engines/residualvm/residualvm-.ebuild 
b/games-engines/residualvm/residualvm-.ebuild
index 18b1a8d14d7c..704091853c9a 100644
--- a/games-engines/residualvm/residualvm-.ebuild
+++ b/games-engines/residualvm/residualvm-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -73,7 +73,7 @@ src_configure() {
 }
 
 src_compile() {
-   emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
+   emake AR="$(tc-getAR) cru" RANLIB="$(tc-getRANLIB)"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2021-12-28 Thread Ionen Wolkens
commit: e8df3c4486cf234e626d2c6136983486510f0be5
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Dec 28 15:04:00 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Dec 28 17:00:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8df3c44

games-engines/residualvm: drop 0.2.1-r1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-engines/residualvm/Manifest  |  1 -
 .../residualvm/residualvm-0.2.1-r1.ebuild  | 81 --
 2 files changed, 82 deletions(-)

diff --git a/games-engines/residualvm/Manifest 
b/games-engines/residualvm/Manifest
index 3aa86f9db791..fb840283578d 100644
--- a/games-engines/residualvm/Manifest
+++ b/games-engines/residualvm/Manifest
@@ -1,2 +1 @@
-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.2.1-r1.ebuild 
b/games-engines/residualvm/residualvm-0.2.1-r1.ebuild
deleted file mode 100644
index a9272195b281..
--- a/games-engines/residualvm/residualvm-0.2.1-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop toolchain-funcs gnome2-utils
-
-DESCRIPTION="A cross-platform 3D game interpreter for play LucasArts' 
LUA-based 3D adventures"
-HOMEPAGE="https://www.residualvm.org/";
-SRC_URI="mirror://sourceforge/${PN}/${P}-sources.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2019-11-04 Thread Lars Wendler
commit: b68856aa4f014788855cb80a10c8022ae8b67a94
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov  5 07:56:36 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov  5 07:56:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b68856aa

games-engines/residualvm: Simplified ebuild a bit

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 games-engines/residualvm/residualvm-.ebuild | 14 +-
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/games-engines/residualvm/residualvm-.ebuild 
b/games-engines/residualvm/residualvm-.ebuild
index 0f0a4bb4dbc..da2087300c2 100644
--- a/games-engines/residualvm/residualvm-.ebuild
+++ b/games-engines/residualvm/residualvm-.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
 IUSE="alsa debug jpeg mpeg2 mp3 opengl png truetype vorbis zlib"
 
 # TODO: fix dynamic plugin support
-# games crash without media-libs/libsdl[alsa]
+# games crash without media-libs/libsdl2[alsa]
 RDEPEND="
media-libs/glew:0=
media-libs/libsdl2[X,sound,alsa,joystick,opengl,video]
@@ -80,15 +80,3 @@ src_install() {
default
doicon -s 256 icons/${PN}.png
 }
-
-pkg_preinst() {
-   xdg_pkg_preinst
-}
-
-pkg_postinst() {
-   xdg_pkg_postinst
-}
-
-pkg_postrm() {
-   xdg_pkg_postrm
-}



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2019-03-15 Thread Lars Wendler
commit: 14f9a4f07ec77a04653d0e3dbd183cc3e7da8d55
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Mar 15 22:40:58 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 15 22:45:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f9a4f0

games-engines/residualvm: Added lots of USE flags.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 games-engines/residualvm/metadata.xml   |  3 ++
 games-engines/residualvm/residualvm-.ebuild | 45 +++--
 2 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/games-engines/residualvm/metadata.xml 
b/games-engines/residualvm/metadata.xml
index f346e545798..c5d960e91c7 100644
--- a/games-engines/residualvm/metadata.xml
+++ b/games-engines/residualvm/metadata.xml
@@ -5,6 +5,9 @@
ga...@gentoo.org
Gentoo Games Project

+   
+   enable mpeg2 codec for cutscenes
+   

residualvm


diff --git a/games-engines/residualvm/residualvm-.ebuild 
b/games-engines/residualvm/residualvm-.ebuild
index ded84a46d1d..0f0a4bb4dbc 100644
--- a/games-engines/residualvm/residualvm-.ebuild
+++ b/games-engines/residualvm/residualvm-.ebuild
@@ -15,20 +15,24 @@ else
 fi
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
-IUSE=""
+IUSE="alsa debug jpeg mpeg2 mp3 opengl png truetype vorbis zlib"
 
 # 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"
+   alsa? ( media-libs/alsa-lib )
+   jpeg? ( virtual/jpeg:0 )
+   mp3? ( media-libs/libmad )
+   mpeg2? ( media-libs/libmpeg2 )
+   opengl? ( virtual/opengl )
+   png? ( media-libs/libpng:0= )
+   truetype? ( media-libs/freetype:2 )
+   vorbis? ( media-libs/libvorbis )
+   zlib? ( sys-libs/zlib:= )
+"
 DEPEND="${RDEPEND}"
 BDEPEND="
virtual/pkgconfig
@@ -36,35 +40,40 @@ BDEPEND="
 
 src_configure() {
# not an autotools script
-   # most configure options currently do nothing, verify on version bump 
!!!
+   # some 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
+   --enable-verbose-build
+   --libdir="${EPREFIX}/usr/$(get_libdir)"
--host="${CHOST}"
--prefix="${EPREFIX}/usr"
+   $(use_enable alsa)
+   $(use_enable debug)
+   $(use_enable !debug release-mode)
+   $(use_enable jpeg)
+   $(use_enable mp3 mad)
+   $(use_enable mpeg2)
+   $(use_enable opengl)
+   $(use_enable opengl opengl-shaders)
+   $(use_enable png)
+   $(use_enable truetype freetype2)
+   $(use_enable vorbis)
+   $(use_enable zlib)
)
./configure "${myconf[@]}" "${EXTRA_ECONF}" || die
 }
 
 src_compile() {
-   emake \
-   VERBOSE_BUILD=1 \
-   AR="$(tc-getAR) cru" \
-   RANLIB=$(tc-getRANLIB)
+   emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2019-03-15 Thread Lars Wendler
commit: f1b88229a9ca4e5f9a38ed92a325a8b360c0b50e
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Mar 15 22:15:54 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 15 22:45:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b88229

games-engines/residualvm: Added EXTRA_ECONF

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 games-engines/residualvm/residualvm-0.3.1-r1.ebuild | 6 +++---
 games-engines/residualvm/residualvm-.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/games-engines/residualvm/residualvm-0.3.1-r1.ebuild 
b/games-engines/residualvm/residualvm-0.3.1-r1.ebuild
index c58d9fb53f7..97f1d29ed54 100644
--- a/games-engines/residualvm/residualvm-0.3.1-r1.ebuild
+++ b/games-engines/residualvm/residualvm-0.3.1-r1.ebuild
@@ -58,9 +58,10 @@ src_configure() {
--enable-all-engines
--enable-release-mode
--enable-zlib
+   --host="${CHOST}"
--prefix="${EPREFIX}/usr"
)
-   ./configure "${myconf[@]}" || die "configure failed"
+   ./configure "${myconf[@]}" "${EXTRA_ECONF}" || die
 }
 
 src_compile() {
@@ -71,8 +72,7 @@ src_compile() {
 }
 
 src_install() {
-   emake DESTDIR="${D}" install
-
+   default
doicon -s 256 icons/${PN}.png
 }
 

diff --git a/games-engines/residualvm/residualvm-.ebuild 
b/games-engines/residualvm/residualvm-.ebuild
index d263427ea17..ded84a46d1d 100644
--- a/games-engines/residualvm/residualvm-.ebuild
+++ b/games-engines/residualvm/residualvm-.ebuild
@@ -54,9 +54,10 @@ src_configure() {
--enable-all-engines
--enable-release-mode
--enable-zlib
+   --host="${CHOST}"
--prefix="${EPREFIX}/usr"
)
-   ./configure "${myconf[@]}" || die "configure failed"
+   ./configure "${myconf[@]}" "${EXTRA_ECONF}" || die
 }
 
 src_compile() {
@@ -67,8 +68,7 @@ src_compile() {
 }
 
 src_install() {
-   emake DESTDIR="${D}" install
-
+   default
doicon -s 256 icons/${PN}.png
 }
 



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2019-03-15 Thread Lars Wendler
commit: b3f5860372b2b084f0e291c94331e75e9f72e63b
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Mar 15 22:44:58 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 15 22:45:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f58603

games-engines/residualvm: Revbump to add USE flags to release.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 ...-0.3.1-r1.ebuild => residualvm-0.3.1-r2.ebuild} | 45 +-
 1 file changed, 27 insertions(+), 18 deletions(-)

diff --git a/games-engines/residualvm/residualvm-0.3.1-r1.ebuild 
b/games-engines/residualvm/residualvm-0.3.1-r2.ebuild
similarity index 63%
rename from games-engines/residualvm/residualvm-0.3.1-r1.ebuild
rename to games-engines/residualvm/residualvm-0.3.1-r2.ebuild
index 97f1d29ed54..fd5eba9a277 100644
--- a/games-engines/residualvm/residualvm-0.3.1-r1.ebuild
+++ b/games-engines/residualvm/residualvm-0.3.1-r2.ebuild
@@ -15,20 +15,24 @@ else
 fi
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
-IUSE=""
+IUSE="alsa debug jpeg mpeg2 mp3 opengl png truetype vorbis zlib"
 
 # 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"
+   alsa? ( media-libs/alsa-lib )
+   jpeg? ( virtual/jpeg:0 )
+   mp3? ( media-libs/libmad )
+   mpeg2? ( media-libs/libmpeg2 )
+   opengl? ( virtual/opengl )
+   png? ( media-libs/libpng:0= )
+   truetype? ( media-libs/freetype:2 )
+   vorbis? ( media-libs/libvorbis )
+   zlib? ( sys-libs/zlib:= )
+"
 DEPEND="${RDEPEND}"
 BDEPEND="
virtual/pkgconfig
@@ -40,35 +44,40 @@ PATCHES=(
 
 src_configure() {
# not an autotools script
-   # most configure options currently do nothing, verify on version bump 
!!!
+   # some 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
+   --enable-verbose-build
+   --libdir="${EPREFIX}/usr/$(get_libdir)"
--host="${CHOST}"
--prefix="${EPREFIX}/usr"
+   $(use_enable alsa)
+   $(use_enable debug)
+   $(use_enable !debug release-mode)
+   $(use_enable jpeg)
+   $(use_enable mp3 mad)
+   $(use_enable mpeg2)
+   $(use_enable opengl)
+   $(use_enable opengl opengl-shaders)
+   $(use_enable png)
+   $(use_enable truetype freetype2)
+   $(use_enable vorbis)
+   $(use_enable zlib)
)
./configure "${myconf[@]}" "${EXTRA_ECONF}" || die
 }
 
 src_compile() {
-   emake \
-   VERBOSE_BUILD=1 \
-   AR="$(tc-getAR) cru" \
-   RANLIB=$(tc-getRANLIB)
+   emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2019-03-15 Thread Lars Wendler
commit: d5f1692b30355f9ebf076f7d94b51671de875820
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Mar 15 21:53:35 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 15 21:53:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f1692b

games-engines/residualvm: Synced live ebuild.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 games-engines/residualvm/residualvm-.ebuild | 30 ++---
 1 file changed, 12 insertions(+), 18 deletions(-)

diff --git a/games-engines/residualvm/residualvm-.ebuild 
b/games-engines/residualvm/residualvm-.ebuild
index 7343afbb7e7..d263427ea17 100644
--- a/games-engines/residualvm/residualvm-.ebuild
+++ b/games-engines/residualvm/residualvm-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit gnome2-utils toolchain-funcs xdg-utils
+EAPI=7
+inherit desktop toolchain-funcs xdg
 
 DESCRIPTION="A cross-platform 3D game interpreter for play LucasArts' 
LUA-based 3D adventures"
 HOMEPAGE="http://www.residualvm.org/";
@@ -25,11 +25,14 @@ RDEPEND="
media-libs/glew:0=
media-libs/libpng:0=
media-libs/libsdl2[X,sound,alsa,joystick,opengl,video]
-   sys-libs/zlib
+   sys-libs/zlib:=
virtual/glu
virtual/jpeg:0
virtual/opengl"
 DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+"
 
 src_configure() {
# not an autotools script
@@ -51,6 +54,7 @@ src_configure() {
--enable-all-engines
--enable-release-mode
--enable-zlib
+   --prefix="${EPREFIX}/usr"
)
./configure "${myconf[@]}" || die "configure failed"
 }
@@ -63,29 +67,19 @@ src_compile() {
 }
 
 src_install() {
-   dobin residualvm
+   emake DESTDIR="${D}" install
 
-   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
+   xdg_pkg_preinst
 }
 
 pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
+   xdg_pkg_postinst
 }
 
 pkg_postrm() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
+   xdg_pkg_postrm
 }



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/, games-engines/residualvm/files/

2019-03-15 Thread Lars Wendler
commit: 65cc7020a65691e5974b8c883d9e15b0a0229f49
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Mar 15 21:50:18 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 15 21:53:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cc7020

games-engines/residualvm: Revbump to fix freetype detection

- Bumped to EAPI-7
- Use provided build system to install files

Bug: https://bugs.gentoo.org/655032
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 .../residualvm-0.3.1-freetype_pkgconfig.patch  | 145 +
 ...lvm-0.3.1.ebuild => residualvm-0.3.1-r1.ebuild} |  34 +++--
 2 files changed, 161 insertions(+), 18 deletions(-)

diff --git 
a/games-engines/residualvm/files/residualvm-0.3.1-freetype_pkgconfig.patch 
b/games-engines/residualvm/files/residualvm-0.3.1-freetype_pkgconfig.patch
new file mode 100644
index 000..41468ebf2b1
--- /dev/null
+++ b/games-engines/residualvm/files/residualvm-0.3.1-freetype_pkgconfig.patch
@@ -0,0 +1,145 @@
+From 34fc21424803ad193532c8423049ad07131fd7db Mon Sep 17 00:00:00 2001
+From: Lars Wendler 
+Date: Sun, 6 May 2018 20:55:29 +0200
+Subject: [PATCH 1/2] BUILD: Prefer pkg-config over freetype-config if possible
+
+As of freetype-2.9.1 the freetype-config script no longer gets installed
+by default.
+---
+ configure | 47 ++-
+ 1 file changed, 38 insertions(+), 9 deletions(-)
+
+diff --git a/configure b/configure
+index 7e0c9300..0a00cd95 100755
+--- a/configure
 b/configure
+@@ -209,6 +209,7 @@ _sparklepath=
+ _sdlconfig=sdl2-config
+ _libcurlconfig=curl-config
+ _freetypeconfig=freetype-config
++_freetype_found="false"
+ _sdlpath="$PATH"
+ _freetypepath="$PATH"
+ _libcurlpath="$PATH"
+@@ -4529,17 +4530,45 @@ echo "$_libunity"
+ #
+ # Check for FreeType2 to be present
+ #
+-if test "$_freetype2" != "no"; then
+-
+-  # Look for the freetype-config script
+-  find_freetypeconfig
++find_freetype() {
++# Wrapper function which tries to find freetype
++# either by callimg freetype-config or by using
++# pkg-config.
++# As of freetype-2.9.1 the freetype-config file
++# no longer gets installed by default.
++
++  if pkg-config --exists freetype2; then
++  FREETYPE2_LIBS=`pkg-config --libs freetype2`
++  FREETYPE2_CFLAGS=`pkg-config --cflags freetype2`
++  FREETYPE2_STATIC_LIBS=`pkg-config --static --libs freetype2`
++  _freetype_found="true"
++  else
++  # Look for the freetype-config script
++  find_freetypeconfig
++  if test -n "$_freetypeconfig"; then
++  # Since 2.3.12, freetype-config prepends $SYSROOT to 
everything.
++  # This means we can't pass it a --prefix that includes 
$SYSROOT.
++  freetypeprefix="$_freetypepath"
++  if test -n "$SYSROOT" -a "$SYSROOT" != "/"; then
++  teststring=VeryImplausibleSysrootX1Y2Z3
++  if ( env SYSROOT=/$teststring 
"$_freetypeconfig" --cflags | grep $teststring 2> /dev/null > /dev/null ); then
++  echo "Adapting FreeType prefix to 
SYSROOT" >> "$TMPLOG"
++  
freetypeprefix="${freetypeprefix##$SYSROOT}"
++  fi
++  fi
++  FREETYPE2_LIBS=`$_freetypeconfig 
--prefix="$freetypeprefix" --libs`
++  FREETYPE2_CFLAGS=`$_freetypeconfig 
--prefix="$freetypeprefix" --cflags`
++  FREETYPE2_STATIC_LIBS=`$_freetypeconfig 
--prefix="$freetypeprefix" --static --libs 2>/dev/null`
++  _freetype_found="true"
++  fi
++  fi
++}
+ 
+-  if test -z "$_freetypeconfig"; then
++if test "$_freetype2" != "no"; then
++  find_freetype
++  if test $_freetype_found != true; then
+   _freetype2=no
+   else
+-  FREETYPE2_LIBS=`$_freetypeconfig --prefix="$_freetypepath" 
--libs`
+-  FREETYPE2_CFLAGS=`$_freetypeconfig --prefix="$_freetypepath" 
--cflags`
+-
+   if test "$_freetype2" = "auto"; then
+   _freetype2=no
+ 
+@@ -4559,7 +4588,7 @@ EOF
+   # required flags for static linking. We abuse this to 
detect
+   # FreeType2 builds which are static themselves.
+   if test "$_freetype2" != "yes"; then
+-  FREETYPE2_LIBS=`$_freetypeconfig 
--prefix="$_freetypepath" --static --libs 2>/dev/null`
++  FREETYPE2_LIBS="$FREETYPE2_STATIC_LIBS"
+   cc_check_no_clean $FREETYPE2_CFLAGS 
$FREETYPE2_LIBS && _freetype2=yes
+   fi
+   cc_check_clean
+-- 
+2.21.0
+
+From c42f90595efae54e

[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2018-09-12 Thread Lars Wendler
commit: 8840ef51bb6c7e9de64dc1254c0b9fc0d929376e
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 12 10:54:28 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 12 10:57:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8840ef51

games-engines/residualvm: Added live ebuild.

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 games-engines/residualvm/residualvm-.ebuild | 91 +
 1 file changed, 91 insertions(+)

diff --git a/games-engines/residualvm/residualvm-.ebuild 
b/games-engines/residualvm/residualvm-.ebuild
new file mode 100644
index 000..7343afbb7e7
--- /dev/null
+++ b/games-engines/residualvm/residualvm-.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}" = * ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2018-09-12 Thread Lars Wendler
commit: 83a652d4d37f6b167d15077018f9f0ba817e2679
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 12 10:57:22 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 12 10:57:38 2018 +
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 000..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}" = * ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/, games-engines/frotz/, games-engines/gargoyle/, ...

2017-12-09 Thread Michał Górny
commit: b44a0ded528816d8ae59a13fcf98e7a281e457e9
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 23:28:50 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 10 00:05:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44a0ded

games-engines/*: Update Manifest hashes

 games-engines/frobtads/Manifest  | 4 ++--
 games-engines/frotz/Manifest | 2 +-
 games-engines/gargoyle/Manifest  | 2 +-
 games-engines/gemrb/Manifest | 2 +-
 games-engines/love/Manifest  | 4 ++--
 games-engines/nazghul/Manifest   | 2 +-
 games-engines/odamex/Manifest| 2 +-
 games-engines/openmw/Manifest| 4 ++--
 games-engines/openxcom/Manifest  | 2 +-
 games-engines/qtads/Manifest | 2 +-
 games-engines/renpy/Manifest | 4 ++--
 games-engines/residualvm/Manifest| 2 +-
 games-engines/scummvm-tools/Manifest | 2 +-
 games-engines/scummvm/Manifest   | 6 +++---
 games-engines/solarus/Manifest   | 2 +-
 games-engines/stratagus/Manifest | 4 ++--
 games-engines/xzip/Manifest  | 2 +-
 games-engines/zoom/Manifest  | 2 +-
 18 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/games-engines/frobtads/Manifest b/games-engines/frobtads/Manifest
index 4ed780f6019..61c1572dfa0 100644
--- a/games-engines/frobtads/Manifest
+++ b/games-engines/frobtads/Manifest
@@ -1,2 +1,2 @@
-DIST frobtads-1.2.2.tar.gz 5213193 SHA256 
f2802f6b8b2fb1e2a2c46cdec92b32e7135b6aceb3054a588eb9ebb9434a186e SHA512 
14c0c8a624632b00a7615e643f592eac2d6a0a523f9e019527e9ae8f04402cc4ee1568417bacbfdfd31df6452536a65e012ba0f0d3cced8ba6901988e7a5bc42
 WHIRLPOOL 
ffdd10df65bdd11512c115d8ef0a9a990fa31220628b437eb351eddd2a260fd51d838096cd9860c737861f941e18c148b85a15388c2544e047f6f2ef589ae9b3
-DIST frobtads-1.2.3.tar.gz 5227704 SHA256 
88c6a987813d4be1420a1c697e99ecef4fa9dd9bc922be4acf5a3054967ee788 SHA512 
4efb60edda24bb5a5812967d0b863614558e9839cf0cfabc649ab0175719bf663de5e725034ba160c015d269dbe2df046cf47ad1019e668bf5b1fb564d7d
 WHIRLPOOL 
47f23a3d8adbaea2c450c794923a23c516db7aecc1334aa2907dca77c2dabfd3a9707a9b7a3c1bd06cac3df648a33a9543ad1f3401eeb45d765ac845a76884bb
+DIST frobtads-1.2.2.tar.gz 5213193 BLAKE2B 
323454711b2554634d162073d11dd65719dec609ef00579c775afe49ae7f074c2990240ccf218df39b2da615a8c404b21602a33f7abd9babe44dc3a9af4b8b7d
 SHA512 
14c0c8a624632b00a7615e643f592eac2d6a0a523f9e019527e9ae8f04402cc4ee1568417bacbfdfd31df6452536a65e012ba0f0d3cced8ba6901988e7a5bc42
+DIST frobtads-1.2.3.tar.gz 5227704 BLAKE2B 
fd481201da6dbddf3b0f5adf7c600282c9500bd65cebebf13e23b139ca1e9793091c6df50bebebed179c6f775d188c8ccbe8450d0058863c55dd322e8a92ce32
 SHA512 
4efb60edda24bb5a5812967d0b863614558e9839cf0cfabc649ab0175719bf663de5e725034ba160c015d269dbe2df046cf47ad1019e668bf5b1fb564d7d

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 48687057417..479656678cb 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1 +1 @@
-DIST frotz-2.43.tar.gz 160771 SHA256 
f831eae9182e4a1407a34cb1098a4f5ad5ad6c6632e34eed734b9601a06a764b SHA512 
654f2ca2d1a625df8f88b5629e09a873668cea42688acdf154636b066b94fc9d70b7f45acb33a71d234c19b59c394c63aee38d6224245b3b329210e6b4a58409
 WHIRLPOOL 
af75842ed8693895d564cbaa4fa3d7b095a4470101728179a7d8659876e1043d98274330d2f7efbe0fd1443ea68ad2fcb49efe4b3e6a6dede6f3e9f4e574de5c
+DIST frotz-2.43.tar.gz 160771 BLAKE2B 
edee48050b247320df3d02ea4682579d4f933a5853cc9a31f56c4d12596d5e5657e79e176ed1725e72028497a843db1d0b13833ffe44e41ec7f532f0d40ccaf9
 SHA512 
654f2ca2d1a625df8f88b5629e09a873668cea42688acdf154636b066b94fc9d70b7f45acb33a71d234c19b59c394c63aee38d6224245b3b329210e6b4a58409

diff --git a/games-engines/gargoyle/Manifest b/games-engines/gargoyle/Manifest
index c324724138c..1be9eb20f80 100644
--- a/games-engines/gargoyle/Manifest
+++ b/games-engines/gargoyle/Manifest
@@ -1 +1 @@
-DIST gargoyle-2011.1-sources.zip 11291660 SHA256 
8642ac38add31d47bfd531d4121dc1e956d06895a9352ce573b5007e9cae4634 SHA512 
65159580cf3494944f841c44320135580557258e37ad5523ae3ea30555c19834a2793231a8e42c217e5c1d055d50ed6a20d372d6302e880a2818bc4ea59b226f
 WHIRLPOOL 
19e572d52ec6436c5b41d767e45d509bd965a0d4009b4445db08e79125eabb20636374bbb818ef7115a1ca9ac983a29cb2eaa3848a22e17d5e7d26284200b86f
+DIST gargoyle-2011.1-sources.zip 11291660 BLAKE2B 
aac47c41bd02e772c4717dfdeae8678105f72704641ea3df39105d412afe61734cc43f863b9556e38ea34287259df9f4d72ae93b3092d0372434b9f59f99483d
 SHA512 
65159580cf3494944f841c44320135580557258e37ad5523ae3ea30555c19834a2793231a8e42c217e5c1d055d50ed6a20d372d6302e880a2818bc4ea59b226f

diff --git a/games-engines/gemrb/Manifest b/games-engines/gemrb/Manifest
index 2e2ac3076f8..fec38df11f5 100644
--- a/games-engines/gemrb/Manifest
+++ b/games-engines/gemrb/Manifest
@@ -1 +1 @@
-DIST gemrb-0.8.3.tar.gz 12370971 SHA256 
4996d4d66e60d9ec0c63b94f687c4a6d54f4fbbfb80304245e8ff0fa886f5664 SHA512 
6f091ba54d129c47b6ad7c3b1da898c7ef79b80629b373527963a0b35096ccbf916500

[gentoo-commits] repo/gentoo:master commit in: games-engines/residualvm/

2017-01-19 Thread Austin English
commit: 92e65665ad9bbea2dd569c875f43623d3e4a17e0
Author: Austin English  gentoo  org>
AuthorDate: Thu Jan 19 23:50:47 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Jan 20 01:09:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e65665

games-engines/residualvm: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 .../residualvm/residualvm-0.2.1-r1.ebuild  | 82 ++
 1 file changed, 82 insertions(+)

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 ..c3d0cd1
--- /dev/null
+++ b/games-engines/residualvm/residualvm-0.2.1-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}