commit: cdac84df9f99e7e2a400c4e8e675979b8e062b10 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Aug 26 09:17:22 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Aug 26 12:10:04 2021 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=cdac84df
dev-qt/qtlocation: Add missing qtlocation-mapboxgl snapshot Bug: https://bugs.gentoo.org/810436 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-qt/qtlocation/qtlocation-5.15.9999.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-qt/qtlocation/qtlocation-5.15.9999.ebuild b/dev-qt/qtlocation/qtlocation-5.15.9999.ebuild index 89f942d3..72dde105 100644 --- a/dev-qt/qtlocation/qtlocation-5.15.9999.ebuild +++ b/dev-qt/qtlocation/qtlocation-5.15.9999.ebuild @@ -8,6 +8,8 @@ inherit qt5-build DESCRIPTION="Location (places, maps, navigation) library for the Qt5 framework" if [[ ${QT5_BUILD_TYPE} == release ]]; then + MAPBOXGL_COMMIT=d3101bbc22edd41c9036ea487d4a71eabd97823d + SRC_URI+=" https://invent.kde.org/qt/qt/${PN}-mapboxgl/-/archive/${MAPBOXGL_COMMIT}/${PN}-mapboxgl-${MAPBOXGL_COMMIT}.tar.gz -> ${PN}-mapboxgl-${PV}-${MAPBOXGL_COMMIT:0:8}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" fi @@ -38,6 +40,13 @@ QT5_TARGET_SUBDIRS=( src/plugins/geoservices ) +if [[ ${QT5_BUILD_TYPE} == release ]]; then +src_prepare() { + mv "${WORKDIR}"/${PN}-mapboxgl-${MAPBOXGL_COMMIT}/* src/3rdparty/mapbox-gl-native || die + qt5-build_src_prepare +} +fi + src_configure() { # src/plugins/geoservices requires files that are only generated when # qmake is run in the root directory. Bug 633776.
