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