commit: fb473fc88f7710f84ffd948765a18ae8e1772ebc
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 23 03:56:35 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 03:58:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb473fc8
games-emulation/pcsx2: set git tag for version display
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-emulation/pcsx2/pcsx2-1.7.3329.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/games-emulation/pcsx2/pcsx2-1.7.3329.ebuild
b/games-emulation/pcsx2/pcsx2-1.7.3329.ebuild
index e43b31a9499e..b5e09ffc395f 100644
--- a/games-emulation/pcsx2/pcsx2-1.7.3329.ebuild
+++ b/games-emulation/pcsx2/pcsx2-1.7.3329.ebuild
@@ -122,8 +122,11 @@ src_prepare() {
# GS tests currently fail to build with qt6
use !qt6 || sed -i '/add_subdirectory(GS)/d' tests/ctest/CMakeLists.txt
|| die
- # delete all 3rdparty/* except known-used ones in non-live
if [[ ${PV} != 9999 ]]; then
+ sed -e '/set(PCSX2_GIT_TAG "")/s/""/"v'${PV}'"/' \
+ -i cmake/Pcsx2Utils.cmake || die
+
+ # delete all 3rdparty/* except known-used ones in non-live
local keep=(
cpuinfo glad imgui include jpgd lzma simpleini xbyak
$(usev vulkan 'glslang vulkan-headers')