mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
gis/qgis: Updated for version 2.18.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a81e7eaf0c
commit
b6f9404c9a
2 changed files with 22 additions and 20 deletions
|
@ -24,7 +24,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=qgis
|
||||
VERSION=${VERSION:-2.18.0}
|
||||
VERSION=${VERSION:-2.18.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -84,22 +84,24 @@ fi
|
|||
# fix double qjson target
|
||||
patch -p1 < $CWD/qjson.cmake.diff
|
||||
|
||||
cmake . \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
|
||||
-DQGIS_LIB_SUBDIR=lib${LIBDIRSUFFIX} \
|
||||
-DQGIS_LIBEXEC_SUBDIR=lib${LIBDIRSUFFIX}/qgis \
|
||||
-DQGIS_PLUGIN_SUBDIR=lib${LIBDIRSUFFIX}/qgis \
|
||||
-DWITH_INTERNAL_QWTPOLAR=FALSE \
|
||||
-DQWTPOLAR_INCLUDE_DIR=/usr/include/qwt \
|
||||
-DENABLE_TESTS=FALSE \
|
||||
$WITHSERVER \
|
||||
$WITHGRASS
|
||||
|
||||
make install DESTDIR=$PKG
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_BUILD_TYPE="Release" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
|
||||
-DQGIS_LIB_SUBDIR=lib${LIBDIRSUFFIX} \
|
||||
-DQGIS_LIBEXEC_SUBDIR=lib${LIBDIRSUFFIX}/qgis \
|
||||
-DQGIS_PLUGIN_SUBDIR=lib${LIBDIRSUFFIX}/qgis \
|
||||
-DWITH_INTERNAL_QWTPOLAR=FALSE \
|
||||
-DQWTPOLAR_INCLUDE_DIR=/usr/include/qwt \
|
||||
-DENABLE_TESTS=FALSE \
|
||||
$WITHSERVER \
|
||||
$WITHGRASS
|
||||
make install DESTDIR=$PKG
|
||||
cd -
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="qgis"
|
||||
VERSION="2.18.0"
|
||||
VERSION="2.18.1"
|
||||
HOMEPAGE="http://qgis.org/"
|
||||
DOWNLOAD="http://qgis.org/downloads/qgis-2.18.0.tar.bz2"
|
||||
MD5SUM="861c4af53113158581b42df2acbc3773"
|
||||
DOWNLOAD="http://qgis.org/downloads/qgis-2.18.1.tar.bz2"
|
||||
MD5SUM="97a1bd221adc665b054436142cb7f067"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="gdal libspatialindex pyspatialite numpy psycopg2 qwtpolar"
|
||||
|
|
Loading…
Reference in a new issue