QGIS/ms-windows/cygwin/package.sh
José de Paula Rodrigues Neto Assis c91e0e8450 Drop Globe plugin
Dropping Globe plugin from the QGIS sources. It depends on osgearth no
newer than version 2.8, released on 2016-09-05, and which is impossible
to build against modern (Qt 5.13+) versions of Qt. With this, the
optional QGIS dependency on OpenSceneGraph and osgearth is also removed.
2020-05-25 08:29:03 +10:00

42 lines
1.5 KiB
Bash

#!/usr/bin/env bash
###########################################################################
# package.sh
# ---------------------
# Date : April 2013
# Copyright : (C) 2013 by Juergen E. Fischer
# Email : jef at norbit dot de
###########################################################################
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################
set -e
[ -d build ] || mkdir build
cd build
cmake -D BUILDNAME="cygwin" \
-D SITE="qgis.org" \
-D PEDANTIC=TRUE \
-D WITH_GRASS=FALSE \
-D WITH_SPATIALITE=TRUE \
-D WITH_QSPATIALITE=TRUE \
-D WITH_SERVER=TRUE \
-D WITH_ORACLE=FALSE \
-D CMAKE_LEGACY_CYGWIN_WIN32=0 \
-D PYUIC4_PROGRAM=/usr/lib/python2.7/site-packages/PyQt4/pyuic4 \
-D PYRCC4_PROGRAM=/usr/lib/python2.7/site-packages/PyQt4/pyrcc4.exe \
-D ENABLE_TESTS=YES \
-D CMAKE_INSTALL_PREFIX=/usr \
-D WITH_CUSTOM_WIDGETS=TRUE \
../../..
make -j8
make test
make install