games-emulation/pcsx2: set git tag for version display

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-09-22 23:56:35 -04:00
parent 9f080d649d
commit fb473fc88f

View File

@@ -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')