diff --git a/desktop/toolkit/qt5/qt5-location/actions.py b/desktop/toolkit/qt5/qt5-location/actions.py
index fb34ed25b9..064b2880e4 100755
--- a/desktop/toolkit/qt5/qt5-location/actions.py
+++ b/desktop/toolkit/qt5/qt5-location/actions.py
@@ -9,10 +9,20 @@ from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt5
from pisi.actionsapi import get
+import os
def setup():
#shelltools.system("patch -R -p1 < 3eaed3d6.diff")
pisitools.dosed(".qmake.conf", "5.15.18", "5.15.16")
+
+ if not os.path.exists(".git"):
+ shelltools.system("git init")
+ shelltools.system("git add .")
+
+ shelltools.system("git submodule init")
+ shelltools.system('git submodule set-url src/3rdparty/mapbox-gl-native "%s/qtlocation-mapboxgl"' % get.workDIR())
+ shelltools.system("git -c protocol.file.allow=always submodule update")
+
qt5.configure()
def build():
diff --git a/desktop/toolkit/qt5/qt5-location/pspec.xml b/desktop/toolkit/qt5/qt5-location/pspec.xml
index 0373a80c34..29b849f068 100755
--- a/desktop/toolkit/qt5/qt5-location/pspec.xml
+++ b/desktop/toolkit/qt5/qt5-location/pspec.xml
@@ -11,11 +11,13 @@
Provides access to position, satellite and area monitoring classes
Provides access to position, satellite and area monitoring classes
LGPLv2.1-linking-exception
- https://invent.kde.org/qt/qt/qtlocation/-/archive/v5.15.18-lts-lgpl/qtlocation-v5.15.18-lts-lgpl.tar.bz2
+ https://source.pisilinux.org/qt5-location-5.15.18.tar.xz
+
3eaed3d6.diff
+ git
mesa-devel
zlib-devel
icu4c-devel
@@ -27,6 +29,7 @@
qt5-base-devel
qt5-assistant-devel
qt5-declarative-devel
+ qt5-serialport-devel