git: d2acce4664ce - main - graphics/qgis: Update to 3.30.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 May 2023 14:22:40 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d2acce4664ce682d83cec435e394987ce76461f8
commit d2acce4664ce682d83cec435e394987ce76461f8
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-05-29 14:11:28 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-05-29 14:22:20 +0000
graphics/qgis: Update to 3.30.3
Bugfix release. While here, also
- Add USE_QT=multimedia, testlib
- Add CMAKE_ARGS+=-DPG_CONFIG=1
- Fix cmake configure: If PostgreSQL server and client are present,
the 'About' dialog does not show the PostgreSQL version any more
Changelog: https://github.com/qgis/QGIS/compare/final-3_30_2%5E...final-3_30_3
Reported by: portscout, Repology
MFH: 2023Q2
---
graphics/qgis/Makefile | 14 +++++++++-----
graphics/qgis/distinfo | 6 +++---
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile
index 08fdc2e8b5ce..e749faa957fb 100644
--- a/graphics/qgis/Makefile
+++ b/graphics/qgis/Makefile
@@ -1,6 +1,5 @@
PORTNAME= qgis
-DISTVERSION= 3.30.2
-PORTREVISION= 1
+DISTVERSION= 3.30.3
CATEGORIES= graphics geography
MASTER_SITES= https://qgis.org/downloads/
@@ -110,13 +109,14 @@ USE_LDCONFIG= yes
USE_PYQT= pyqt5 qscintilla2 pysip sip
USE_QT= 3d buildtools:build core concurrent dbus declarative \
designer:build qdoc:build gamepad gui linguist:build location \
- network printsupport qmake:build script serialport \
- sql sql-pgsql sql-sqlite3 svg uitools:build \
+ multimedia network printsupport qmake:build script serialport \
+ sql sql-pgsql sql-sqlite3 svg testlib uitools:build \
webengine webkit widgets xml
SHEBANG_FILES= src/plugins/grass/scripts/*.py
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DHAVE_PGCONFIG=1 \
-DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \
-DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \
-DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \
@@ -126,7 +126,7 @@ CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \
CMAKE_ON= USE_OPENCL WITH_3D WITH_ASTYLE WITH_BINDINGS \
WITH_COPC WITH_CUSTOM_WIDGETS WITH_EPT WITH_INTERNAL_LAZPERF \
WITH_POSTGRESQL WITH_PDAL
-CMAKE_OFF= ENABLE_TESTS WITH_INTERNAL_MDAL WITH_QWTPOLAR
+CMAKE_OFF= ENABLE_TESTING WITH_INTERNAL_MDAL WITH_QWTPOLAR
CONFLICTS_INSTALL= qgis-ltr
@@ -159,6 +159,10 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex
CMAKE_ARGS+= -DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex
.endif
+pre-patch:
+ @${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \
+ ${WRKSRC}/cmake/FindPostgres.cmake
+
post-patch:
# On i386, '-mllvm -inline-threshold=128' does not build under all circumstances
# See bugs 242557 and 241687.
diff --git a/graphics/qgis/distinfo b/graphics/qgis/distinfo
index f36d74bb3a04..02d0d3da69e4 100644
--- a/graphics/qgis/distinfo
+++ b/graphics/qgis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682787039
-SHA256 (qgis-3.30.2.tar.bz2) = 996e50561ba2c9234b99f19df512b98549203723da8b3856dd7eb091a60e4272
-SIZE (qgis-3.30.2.tar.bz2) = 158617634
+TIMESTAMP = 1685296606
+SHA256 (qgis-3.30.3.tar.bz2) = e291cb7c74fd44bfebf8ac3738490e185ab8e64b3e45bbec769b4b14c2f82687
+SIZE (qgis-3.30.3.tar.bz2) = 159193615