commit: 3602cf6f868a464ef67cc359bf051e87d115a9ad
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Mar 9 22:29:33 2023 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Mar 9 22:29:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3602cf6f
games-util/itch-bin: update EAPI 7 -> 8, small fixes
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
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 3dafe302c..e81890c24 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