summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-22 23:56:35 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-22 23:58:41 -0400
commitfb473fc88f7710f84ffd948765a18ae8e1772ebc (patch)
tree47018800e570843bce262c9669806d50c390622c /games-emulation
parentdev-lang/rust-bin: unkeyword 1.64.0 (diff)
downloadgentoo-fb473fc88f7710f84ffd948765a18ae8e1772ebc.tar.gz
gentoo-fb473fc88f7710f84ffd948765a18ae8e1772ebc.tar.bz2
gentoo-fb473fc88f7710f84ffd948765a18ae8e1772ebc.zip
games-emulation/pcsx2: set git tag for version display
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/pcsx2/pcsx2-1.7.3329.ebuild5
1 files changed, 4 insertions, 1 deletions
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')