Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2023 15:18:56 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3270b2a7dbb3 - main - textproc/kreport: move webkit behind default-off option
Message-ID:  <202309121518.38CFIu9F022570@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3270b2a7dbb323afbb387c18b4d71cf98ce01ec1

commit 3270b2a7dbb323afbb387c18b4d71cf98ce01ec1
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-09-12 08:59:38 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-09-12 15:16:35 +0000

    textproc/kreport: move webkit behind default-off option
    
    qt5-webkit will be removed by the end of the year.
---
 textproc/kreport/Makefile  | 10 ++++++++--
 textproc/kreport/pkg-plist |  4 ++--
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309121518.38CFIu9F022570>