commit: f1f54feb4f20e305945cbf832344929c0619aeb7 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Mon Sep 6 00:01:37 2021 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Wed Sep 8 00:03:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f54feb
games-engines/scummvm: fix build, deps, bump eapi Closes: https://bugs.gentoo.org/744421 Closes: https://bugs.gentoo.org/801229 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> .../{scummvm-2.2.0-r1.ebuild => scummvm-2.2.0-r2.ebuild} | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/games-engines/scummvm/scummvm-2.2.0-r1.ebuild b/games-engines/scummvm/scummvm-2.2.0-r2.ebuild similarity index 94% rename from games-engines/scummvm/scummvm-2.2.0-r1.ebuild rename to games-engines/scummvm/scummvm-2.2.0-r2.ebuild index b6022c564f3..afdf8a36bf7 100644 --- a/games-engines/scummvm/scummvm-2.2.0-r1.ebuild +++ b/games-engines/scummvm/scummvm-2.2.0-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop flag-o-matic toolchain-funcs xdg DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures" @@ -29,13 +29,17 @@ RDEPEND=" jpeg? ( virtual/jpeg:0 ) mp3? ( media-libs/libmad ) mpeg2? ( media-libs/libmpeg2 ) - net? ( media-libs/sdl2-net ) + net? ( + media-libs/sdl2-net + net-misc/curl + ) opengl? ( || ( virtual/opengl media-libs/mesa[gles2] media-libs/mesa[gles1] ) ) png? ( media-libs/libpng:0 ) + sndio? ( media-sound/sndio:= ) speech? ( app-accessibility/speech-dispatcher ) truetype? ( media-libs/freetype:2 ) theora? ( media-libs/libtheora ) @@ -60,7 +64,7 @@ PATCHES=( ) src_prepare() { - xdg_src_prepare + default # -g isn't needed for nasm here sed -i \ @@ -75,6 +79,7 @@ src_prepare() { src_configure() { use x86 && append-ldflags -Wl,-z,noexecstack + tc-export STRINGS local myconf=( --backend=sdl @@ -97,6 +102,7 @@ src_configure() { $(use_enable lua) $(use_enable mp3 mad) $(use_enable mpeg2) + $(use_enable net libcurl) $(use_enable net sdlnet) $(use_enable png) $(use_enable sndio) @@ -117,8 +123,7 @@ src_configure() { src_compile() { emake \ AR="$(tc-getAR) cru" \ - RANLIB="$(tc-getRANLIB)" \ - STRINGS="$(tc-getSTRINGS)" + RANLIB="$(tc-getRANLIB)" } src_install() {
