1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

deskutils/syncthingtray: fix build on non-x86

Don't use webengine on non-x86, instead use webkit.
This commit is contained in:
Piotr Kubaj 2020-09-04 15:57:33 +00:00
parent 30ada7b995
commit 1b1e8d0490
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547546

View File

@ -26,7 +26,7 @@ GH_TUPLE= Martchus:${PORTNAME}:${DISTVERSIONPREFIX}${DISTVERSION}:syncthingtray/
USE_KDE= plasma-framework
USE_QT= concurrent core dbus declarative gui location network \
printsupport qdbus quickcontrols2 svg webchannel webengine \
printsupport qdbus quickcontrols2 svg webchannel \
widgets x11extras buildtools_build doc_build linguist_build \
qmake_build
@ -37,6 +37,15 @@ BUILD_WRKSRC= ${WRKDIR}
INSTALL_WRKSRC= ${WRKDIR}
CMAKE_SOURCE_PATH= ${WRKDIR}/subdirs/syncthingtray
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
USE_QT+= webengine
.else
CMAKE_ARGS+= -DWEBVIEW_PROVIDER=webkit
USE_QT+= webkit
.endif
post-install:
${RM} -r \
${STAGEDIR}${PREFIX}/include/c++utilities \
@ -66,4 +75,4 @@ post-install:
${STAGEDIR}${QT_PLUGINDIR} \
${STAGEDIR}${QT_LIBDIR}
.include <bsd.port.mk>
.include <bsd.port.post.mk>