1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

New port: www/qt5-webview

Qt WebView provides a way to display web content in a QML application without
necessarily including a full web browser stack by using native APIs where it
makes sense.

[1] http://doc.qt.io/qt-5/qtwebview-index.html

PR:		234910
This commit is contained in:
Tobias C. Berner 2019-01-13 10:14:23 +00:00
parent 0f09b41986
commit f1d73a7167
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490122
4 changed files with 55 additions and 1 deletions

View File

@ -156,7 +156,7 @@ _USE_QT5_ONLY= 3d buildtools canvas3d charts concurrent connectivity \
qdbus qdoc qdoc-data qev quickcontrols \
quickcontrols2 scxml sensors serialbus serialport speech \
sql-tds uiplugin uitools virtualkeyboard wayland webchannel \
webengine websockets websockets-qml widgets x11extras
webengine websockets websockets-qml webview widgets x11extras
# Dependency tuples: _LIB should be preferred if possible.
3d_PORT= graphics/${_QT_RELNAME}-3d
@ -441,6 +441,9 @@ websockets-qml_PATH= ${LOCALBASE}/${QT_QMLDIR_REL}/QtWebSockets/qmldir
webkit_PORT= www/${_QT_RELNAME}-webkit
webkit_LIB= libQt${_QT_LIBVER}WebKit.so
webview_PORT= www/${_QT_RELNAME}-webview
webview_LIB= libQt${_QT_LIBVER}WebView.so
widgets_PORT= x11-toolkits/${_QT_RELNAME}-widgets
widgets_LIB= libQt${_QT_LIBVER}Widgets.so

View File

@ -1894,6 +1894,7 @@
SUBDIR += qt5-webkit
SUBDIR += qt5-websockets
SUBDIR += qt5-websockets-qml
SUBDIR += qt5-webview
SUBDIR += quark
SUBDIR += qupzilla-qt4
SUBDIR += qupzilla-qt5

16
www/qt5-webview/Makefile Normal file
View File

@ -0,0 +1,16 @@
# $FreeBSD$
PORTNAME= webview
DISTVERSION= ${QT5_VERSION}
CATEGORIES= www
PKGNAMEPREFIX= qt5-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt component for displaying web content
USES= compiler:c++11-lang qmake:norecursive qt-dist:5
USE_QT= core declarative gui network webengine \
buildtools_build
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
.include <bsd.port.mk>

34
www/qt5-webview/pkg-plist Normal file
View File

@ -0,0 +1,34 @@
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qabstractwebview_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qnativeviewcontroller_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qquickviewcontroller_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qquickwebview_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qquickwebviewloadrequest_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebview_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebviewfactory_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebviewinterface_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebviewloadrequest_p.h
%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebviewplugin_p.h
%%QT_INCDIR%%/QtWebView/QtWebView
%%QT_INCDIR%%/QtWebView/QtWebViewDepends
%%QT_INCDIR%%/QtWebView/QtWebViewVersion
%%QT_INCDIR%%/QtWebView/qtwebviewfunctions.h
%%QT_INCDIR%%/QtWebView/qtwebviewversion.h
%%QT_INCDIR%%/QtWebView/qwebview_global.h
%%QT_CMAKEDIR%%/Qt5WebView/Qt5WebViewConfig.cmake
%%QT_CMAKEDIR%%/Qt5WebView/Qt5WebViewConfigVersion.cmake
%%QT_CMAKEDIR%%/Qt5WebView/Qt5WebView_QWebEngineWebViewPlugin.cmake
%%QT_LIBDIR%%/libQt5WebView.prl
%%QT_LIBDIR%%/libQt5WebView.so
%%QT_LIBDIR%%/libQt5WebView.so.5
%%QT_LIBDIR%%/libQt5WebView.so.%%SHORTVER%%
%%QT_LIBDIR%%/libQt5WebView.so.%%FULLVER%%
%%DEBUG%%%%QT_LIBDIR%%/libQt5WebView.so.%%FULLVER%%.debug
%%QT_MKSPECDIR%%/modules/qt_lib_webview.pri
%%QT_MKSPECDIR%%/modules/qt_lib_webview_private.pri
%%QT_PLUGINDIR%%/webview/libqtwebview_webengine.so
%%DEBUG%%%%QT_PLUGINDIR%%/webview/libqtwebview_webengine.so.debug
%%QT_QMLDIR%%/QtWebView/libdeclarative_webview.so
%%DEBUG%%%%QT_QMLDIR%%/QtWebView/libdeclarative_webview.so.debug
%%QT_QMLDIR%%/QtWebView/plugins.qmltypes
%%QT_QMLDIR%%/QtWebView/qmldir
libdata/pkgconfig/Qt5WebView.pc