1 |
commit: dd9e6a6548da4094798bf354d4d50900f5a7084e |
2 |
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> |
3 |
AuthorDate: Tue Jul 13 01:51:09 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 13 01:51:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd9e6a65 |
7 |
|
8 |
games-emulation/yuzu: GenerateSCMRev fails, fix titlebar |
9 |
|
10 |
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr> |
11 |
|
12 |
games-emulation/yuzu/yuzu-9999.ebuild | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/games-emulation/yuzu/yuzu-9999.ebuild b/games-emulation/yuzu/yuzu-9999.ebuild |
16 |
index fc3082cb2..9a6f4bd8f 100644 |
17 |
--- a/games-emulation/yuzu/yuzu-9999.ebuild |
18 |
+++ b/games-emulation/yuzu/yuzu-9999.ebuild |
19 |
@@ -101,6 +101,12 @@ src_prepare() { |
20 |
sed -i '/PS5_RUMBLE/d' src/input_common/sdl/sdl_impl.cpp |
21 |
fi |
22 |
|
23 |
+ # Workaround: GenerateSCMRev fails |
24 |
+ sed -i -e "s/@GIT_BRANCH@/${EGIT_BRANCH:-master}/" \ |
25 |
+ -e "s/@GIT_REV@/$(git rev-parse --short HEAD)/" \ |
26 |
+ -e "s/@GIT_DESC@/$(git describe --always --long)/" \ |
27 |
+ src/common/scm_rev.cpp.in || die |
28 |
+ |
29 |
cmake_src_prepare |
30 |
} |