games-emulation/yuzu: GenerateSCMRev fails, fix titlebar

Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
Samuel Bauer
2021-07-13 03:51:09 +02:00
parent 12ce19ca54
commit dd9e6a6548

View File

@@ -101,6 +101,12 @@ src_prepare() {
sed -i '/PS5_RUMBLE/d' src/input_common/sdl/sdl_impl.cpp
fi
# Workaround: GenerateSCMRev fails
sed -i -e "s/@GIT_BRANCH@/${EGIT_BRANCH:-master}/" \
-e "s/@GIT_REV@/$(git rev-parse --short HEAD)/" \
-e "s/@GIT_DESC@/$(git describe --always --long)/" \
src/common/scm_rev.cpp.in || die
cmake_src_prepare
}