Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #84 from opengisch/5_15_2
Browse files Browse the repository at this point in the history
Bump Qt to 5.15.2
  • Loading branch information
signedav committed Dec 14, 2020
2 parents 6bd87cc + b450229 commit 4ce6684
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 4 deletions.
1 change: 1 addition & 0 deletions .docker/qgis-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN dnf -y install \
libspatialite-devel \
protobuf-lite-devel \
libpq-devel \
libzstd-devel \
qt5-qtwebview-devel


Expand Down
1 change: 1 addition & 0 deletions .docker/qt-ndk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ RUN /tmp/qt/install-qt.sh --version ${QT_VERSION} --target android --directory "
qttools \
qtsvg \
qtwebview \
qtconnectivity \
qtcharts

# Download & unpack android SDK
Expand Down
2 changes: 1 addition & 1 deletion qt_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.14.2
5.15.2
59 changes: 59 additions & 0 deletions recipes/libzstd/recipe.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#!/bin/bash

# version of your package
VERSION_libzstd=v1.4.5

# dependencies of this recipe
DEPS_libzstd=()

# url of the package
URL_libzstd=https://github.com/facebook/zstd/archive/${VERSION_libzstd}.zip

# md5 of the package
MD5_libzstd=beb47f4f92ef69d28400be661cf95c20

# default build path
BUILD_libzstd=$BUILD_PATH/libzstd/$(get_directory $URL_libzstd)

# default recipe path
RECIPE_libzstd=$RECIPES_PATH/libzstd

# function called for preparing source code if needed
# (you can apply patch etc here.)
function prebuild_libzstd() {
cd $BUILD_libzstd

# check marker
if [ -f .patched ]; then
return
fi
}

function shouldbuild_libzstd() {
# If lib is newer than the sourcecode skip build
if [ $BUILD_PATH/libzstd/build-$ARCH/lib/libzstd.so -nt $BUILD_libzstd/.patched ]; then
DO_BUILD=0
fi
}

# function called to build the source code
function build_libzstd() {
try mkdir -p $BUILD_PATH/libzstd/build-$ARCH
try cd $BUILD_PATH/libzstd/build-$ARCH
push_arm

# configure
try $CMAKECMD \
-DCMAKE_INSTALL_PREFIX:PATH=$STAGE_PATH \
$BUILD_libzstd/build/cmake/

# try $MAKESMP
try $MAKESMP install

pop_arm
}

# function called after all the compile have been done
function postbuild_libzstd() {
true
}
6 changes: 3 additions & 3 deletions recipes/qgis/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
VERSION_qgis=3.13

# dependencies of this recipe
DEPS_qgis=(zlib gdal qca libspatialite libspatialindex expat gsl postgresql libzip qtkeychain exiv2 protobuf)
DEPS_qgis=(zlib gdal qca libspatialite libspatialindex expat gsl postgresql libzip qtkeychain exiv2 protobuf libzstd)
# DEPS_qgis=()

# url of the package
URL_qgis=https://github.com/qgis/QGIS/archive/43b64b13f38cd032778591f28d426dd5261fe078.tar.gz
URL_qgis=https://github.com/qgis/QGIS/archive/df28e637cdddc0c6e93355a9f98ad2d12d9e6acc.tar.gz

# md5 of the package
MD5_qgis=4917f14aeda73aed420e51221da84bf2
MD5_qgis=21f1d8d6e5ccae77ba1baa323155e1d4

# default build path
BUILD_qgis=$BUILD_PATH/qgis/$(get_directory $URL_qgis)
Expand Down

0 comments on commit 4ce6684

Please sign in to comment.