From 3602cf6f868a464ef67cc359bf051e87d115a9ad Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Thu, 9 Mar 2023 23:29:33 +0100 Subject: [PATCH] games-util/itch-bin: update EAPI 7 -> 8, small fixes Signed-off-by: Ronny (tastytea) Gutbrod --- games-util/itch-bin/itch-bin-25.5.1-r2.ebuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/games-util/itch-bin/itch-bin-25.5.1-r2.ebuild b/games-util/itch-bin/itch-bin-25.5.1-r2.ebuild index 3dafe302c2..e81890c241 100644 --- a/games-util/itch-bin/itch-bin-25.5.1-r2.ebuild +++ b/games-util/itch-bin/itch-bin-25.5.1-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop xdg @@ -34,9 +34,9 @@ RDEPEND=" " QA_PREBUILT=" - /opt/itch-bin/itch - /opt/itch-bin/libvk_swiftshader.so - !system-ffmpeg? ( /opt/itch-bin/libffmpeg.so ) + opt/itch-bin/itch + opt/itch-bin/libvk_swiftshader.so + !system-ffmpeg? ( opt/itch-bin/libffmpeg.so ) " S="${WORKDIR}" @@ -45,13 +45,15 @@ src_install() { local destdir="${EPREFIX}/opt/${PN}" insinto "${destdir}" doins -r locales resources - doins *.pak *.dat *.bin *.json version libvk_swiftshader.so + doins ./*.pak ./*.dat ./*.bin ./*.json version libvk_swiftshader.so if use system-ffmpeg; then # bug 710944 rm libffmpeg.so || die - ln -s "${EPREFIX}/usr/$(get_libdir)/chromium/libffmpeg.so" || die + dosym -r "${EPREFIX}/usr/$(get_libdir)/chromium/libffmpeg.so" \ + ${destdir}/libffmpeg.so + else + doins libffmpeg.so fi - doins libffmpeg.so exeinto "${destdir}" doexe itch