mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
www/qt5-webview: fix build on non-x86
Drop webengine, it's not available there.
This commit is contained in:
parent
405126c1b7
commit
30ada7b995
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547545
@ -10,8 +10,17 @@ COMMENT= Qt component for displaying web content
|
||||
|
||||
USES= compiler:c++11-lang gl qmake:norecursive qt-dist:5
|
||||
USE_GL= gl
|
||||
USE_QT= core declarative gui location network webchannel webengine \
|
||||
USE_QT= core declarative gui location network webchannel \
|
||||
buildtools_build
|
||||
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == amd64 || ${ARCH} == i386
|
||||
PLIST_SUB+= WEBENGINE=""
|
||||
USE_QT+= webengine
|
||||
.else
|
||||
PLIST_SUB+= WEBENGINE="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -16,7 +16,7 @@
|
||||
%%QT_INCDIR%%/QtWebView/qwebview_global.h
|
||||
%%QT_CMAKEDIR%%/Qt5WebView/Qt5WebViewConfig.cmake
|
||||
%%QT_CMAKEDIR%%/Qt5WebView/Qt5WebViewConfigVersion.cmake
|
||||
%%QT_CMAKEDIR%%/Qt5WebView/Qt5WebView_QWebEngineWebViewPlugin.cmake
|
||||
%%WEBENGINE%%%%QT_CMAKEDIR%%/Qt5WebView/Qt5WebView_QWebEngineWebViewPlugin.cmake
|
||||
%%QT_LIBDIR%%/libQt5WebView.prl
|
||||
%%QT_LIBDIR%%/libQt5WebView.so
|
||||
%%QT_LIBDIR%%/libQt5WebView.so.5
|
||||
@ -25,7 +25,7 @@
|
||||
%%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
|
||||
%%WEBENGINE%%%%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
|
||||
|
Loading…
x
Reference in New Issue
Block a user