diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
commit | 3b08f674e3f771b49370edb144dab0958c8cf721 (patch) | |
tree | 3673eb62859b2343bc70589f2f9d670c2eee5cc8 /dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild | |
parent | b1c81de4fadbd00897700a7321f03b390d952b2e (diff) |
gentoo resync : 31.08.2021
Diffstat (limited to 'dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild')
-rw-r--r-- | dev-qt/qtlocation/qtlocation-5.15.2-r10.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
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. |