aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2023-09-12 08:59:38 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2023-09-12 15:16:35 +0000
commit3270b2a7dbb323afbb387c18b4d71cf98ce01ec1 (patch)
tree50fc3c5757fdbcbc81aaf7eae9ea714da55d1cf2
parentf6d9efd08260d817e3639b35eece3b90c1895f1e (diff)
downloadports-3270b2a7dbb323afbb387c18b4d71cf98ce01ec1.tar.gz
ports-3270b2a7dbb323afbb387c18b4d71cf98ce01ec1.zip
textproc/kreport: move webkit behind default-off option
qt5-webkit will be removed by the end of the year.
-rw-r--r--textproc/kreport/Makefile10
-rw-r--r--textproc/kreport/pkg-plist4
2 files changed, 10 insertions, 4 deletions
diff --git a/textproc/kreport/Makefile b/textproc/kreport/Makefile
index 8e1e73e312a4..de17a1c895e2 100644
--- a/textproc/kreport/Makefile
+++ b/textproc/kreport/Makefile
@@ -1,6 +1,6 @@
PORTNAME= kreport
DISTVERSION= 3.2.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= textproc kde
MASTER_SITES= KDE/stable/${PORTNAME}/src
DIST_SUBDIR= KDE/${PORTNAME}
@@ -15,9 +15,15 @@ USES= cmake compiler:c++11-lang gettext kde:5 python qt:5 tar:xz
USE_KDE= config coreaddons marble widgetsaddons \
ecm:build
USE_QT= core declarative gui location network printsupport webchannel \
- webengine webkit widgets xml \
+ webengine widgets xml \
buildtools:build qmake:build
+OPTIONS_DEFINE= WEBKIT
+OPTIONS_SUB= yes
+WEBKIT_DESC= Use obsolete qt5-webkit to build Browser Plugin
+WEBKIT_USE= QT5=webkit
+WEBKIT_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets
+
CONFLICTS_INSTALL= calligra-2*
post-extract:
diff --git a/textproc/kreport/pkg-plist b/textproc/kreport/pkg-plist
index 2165b632c82e..9f2e19a7ced6 100644
--- a/textproc/kreport/pkg-plist
+++ b/textproc/kreport/pkg-plist
@@ -78,12 +78,12 @@ lib/libKReport3.so.4.2.0
%%QT_MKSPECDIR%%/modules/qt_KReport3.pri
%%QT_PLUGINDIR%%/kreport3/org.kde.kreport.barcode.so
%%QT_PLUGINDIR%%/kreport3/org.kde.kreport.maps.so
-%%QT_PLUGINDIR%%/kreport3/org.kde.kreport.web.so
+%%WEBKIT%%%%QT_PLUGINDIR%%/kreport3/org.kde.kreport.web.so
libdata/pkgconfig/KReport3.pc
%%DATADIR%%3/icons/kreport_breeze.rcc
%%DATADIR%%3/icons/org.kde.kreport.barcode_breeze.rcc
%%DATADIR%%3/icons/org.kde.kreport.maps_breeze.rcc
-%%DATADIR%%3/icons/org.kde.kreport.web_breeze.rcc
+%%WEBKIT%%%%DATADIR%%3/icons/org.kde.kreport.web_breeze.rcc
share/kservicetypes5/kreport_elementplugin.desktop
share/locale/af/LC_MESSAGES/kreport_qt.qm
share/locale/ar/LC_MESSAGES/kreport_qt.qm