1 |
commit: 91d470f82468430f2eeceac809213ecd6be640ea |
2 |
Author: Matthew Smith <matthew <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 13:20:09 2022 +0000 |
4 |
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 13:20:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d470f8 |
7 |
|
8 |
media-gfx/renderdoc: fix build after qtchooser removal |
9 |
|
10 |
Closes: https://bugs.gentoo.org/836474 |
11 |
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> |
12 |
|
13 |
media-gfx/renderdoc/renderdoc-1.18-r2.ebuild | 6 +++++- |
14 |
1 file changed, 5 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/media-gfx/renderdoc/renderdoc-1.18-r2.ebuild b/media-gfx/renderdoc/renderdoc-1.18-r2.ebuild |
17 |
index dde163f217a9..0673790fa460 100644 |
18 |
--- a/media-gfx/renderdoc/renderdoc-1.18-r2.ebuild |
19 |
+++ b/media-gfx/renderdoc/renderdoc-1.18-r2.ebuild |
20 |
@@ -13,7 +13,7 @@ AUTOTOOLS_AUTO_DEPEND="no" |
21 |
DOCS_BUILDER="sphinx" |
22 |
DOCS_DIR="docs" |
23 |
PYTHON_COMPAT=( python3_{9,10} ) |
24 |
-inherit autotools cmake optfeature python-single-r1 docs xdg |
25 |
+inherit autotools cmake optfeature python-single-r1 docs qmake-utils xdg |
26 |
|
27 |
DESCRIPTION="A stand-alone graphics debugging tool" |
28 |
HOMEPAGE="https://renderdoc.org https://github.com/baldurk/renderdoc" |
29 |
@@ -167,6 +167,10 @@ src_configure() { |
30 |
use qt5 && mycmakeargs+=( |
31 |
-DPython3_EXECUTABLE="${PYTHON}" |
32 |
-DRENDERDOC_SWIG_PACKAGE="${DISTDIR}"/${MY_SWIG}.tar.gz |
33 |
+ |
34 |
+ # Needed after qtchooser removal, bug #836474. |
35 |
+ -DQMAKE_QT5_COMMAND="$(qt5_get_bindir)"/qmake |
36 |
+ |
37 |
-DQRENDERDOC_ENABLE_PYSIDE2=$(usex pyside2) |
38 |
) |