From 3b08f674e3f771b49370edb144dab0958c8cf721 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Aug 2021 08:59:54 +0100 Subject: gentoo resync : 31.08.2021 --- dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild') diff --git a/dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild b/dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild index f5324144a067..bd4507627705 100644 --- a/dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild +++ b/dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild @@ -9,6 +9,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 @@ -39,6 +41,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. -- cgit v1.2.3