From fb473fc88f7710f84ffd948765a18ae8e1772ebc Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 22 Sep 2022 23:56:35 -0400 Subject: [PATCH] games-emulation/pcsx2: set git tag for version display Signed-off-by: Ionen Wolkens --- 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 e43b31a9499e6..b5e09ffc395f5 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')