1 |
commit: 89af8ce70562259d66541cf44d7c08c68ada3758 |
2 |
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> |
3 |
AuthorDate: Sun May 30 19:02:45 2021 +0000 |
4 |
Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> |
5 |
CommitDate: Sun May 30 19:06:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89af8ce7 |
7 |
|
8 |
games-emulation/yuzu: enable compatibility list support |
9 |
|
10 |
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr> |
11 |
|
12 |
games-emulation/yuzu/yuzu-9999.ebuild | 13 ++++++++----- |
13 |
1 file changed, 8 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/games-emulation/yuzu/yuzu-9999.ebuild b/games-emulation/yuzu/yuzu-9999.ebuild |
16 |
index 2942877d6..ce3240a30 100644 |
17 |
--- a/games-emulation/yuzu/yuzu-9999.ebuild |
18 |
+++ b/games-emulation/yuzu/yuzu-9999.ebuild |
19 |
@@ -54,8 +54,12 @@ pkg_setup() { |
20 |
fi |
21 |
} |
22 |
|
23 |
-# May fetch this file from src_unpack to provide compatibility list support |
24 |
-# curl https://api.yuzu-emu.org/gamedb/ > "${S}"/compatibility_list.json |
25 |
+src_unpack() { |
26 |
+ git-r3_src_unpack |
27 |
+ |
28 |
+ # Do not fetch via sources because this file always changes |
29 |
+ curl https://api.yuzu-emu.org/gamedb/ > "${S}"/compatibility_list.json |
30 |
+} |
31 |
|
32 |
src_prepare() { |
33 |
# Set yuzu dev flags |
34 |
@@ -112,10 +116,9 @@ src_configure() { |
35 |
-DYUZU_ALLOW_SYSTEM_SDL2=$(usex sdl) |
36 |
-DYUZU_ENABLE_BOXCAT=$(usex boxcat) |
37 |
-DYUZU_USE_QT_WEB_ENGINE=$(usex webengine) |
38 |
- -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=OFF |
39 |
) |
40 |
cmake_src_configure |
41 |
|
42 |
- ## This would be better in src_unpack but it would be unlinked |
43 |
- #mv "${S}"/compatibility_list.json "${BUILD_DIR}"/dist/compatibility_list/ || die |
44 |
+ # This would be better in src_unpack but it would be unlinked |
45 |
+ mv "${S}"/compatibility_list.json "${BUILD_DIR}"/dist/compatibility_list/ || die |
46 |
} |