commit:     dac7c921f474318661b1031f6f78b556e496a1d4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  8 20:47:46 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 21:22:14 2023 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=dac7c921

dev-qt/qtlocation: Move quirk back into local src_configure()

Of course, qtlocation is not a qttools module, so qt5_tools_oos_quirk was
never executed. Solve this by making the eclass function public and call
qt5_configure_oos_quirk before qt5-build_src_configure.

Closes: https://bugs.gentoo.org/910066
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtlocation/qtlocation-5.15.10.9999.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-qt/qtlocation/qtlocation-5.15.10.9999.ebuild 
b/dev-qt/qtlocation/qtlocation-5.15.10.9999.ebuild
index a560ac92..badb3cba 100644
--- a/dev-qt/qtlocation/qtlocation-5.15.10.9999.ebuild
+++ b/dev-qt/qtlocation/qtlocation-5.15.10.9999.ebuild
@@ -38,3 +38,10 @@ QT5_TARGET_SUBDIRS=(
        src/imports/locationlabs
        src/plugins/geoservices
 )
+
+src_configure() {
+       # src/plugins/geoservices requires files that are only generated when
+       # qmake is run in the root directory. Bug 633776.
+       qt5_configure_oos_quirk qtlocation-config.pri src/location
+       qt5-build_src_configure
+}

Reply via email to