diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-06-24 09:33:11 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-06-24 09:33:11 +0000 |
commit | 8bfc593e0b0498b9ae3c31e51fce54eb3df0052a (patch) | |
tree | cb5e31138f71c9467795d5be88b02a0615fb9b3f /net-p2p | |
parent | cad/ktechlab: : Prepare for Qt5.15 (diff) |
net-p2p/ktorrent: fix build on non-x86 non-aarch64
Webengine is not available there, at least now.
PR: 247128
Approved by: kde (maintainer timeout)
Notes
Notes:
svn path=/head/; revision=540020
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/ktorrent/Makefile | 11 | ||||
-rw-r--r-- | net-p2p/ktorrent/pkg-plist | 76 |
2 files changed, 48 insertions, 39 deletions
diff --git a/net-p2p/ktorrent/Makefile b/net-p2p/ktorrent/Makefile index 1f10a60e22c5..d673bdd9cc25 100644 --- a/net-p2p/ktorrent/Makefile +++ b/net-p2p/ktorrent/Makefile @@ -23,7 +23,7 @@ USE_KDE= archive auth bookmarks codecs completion config configwidgets \ notifyconfig parts plotting service \ solid sonnet syndication textwidgets widgetsaddons \ windowsystem xmlgui -USE_QT= concurrent core dbus gui network phonon4 script webengine widgets xml \ +USE_QT= concurrent core dbus gui network phonon4 script widgets xml \ buildtools_build qmake_build OPTIONS_DEFINE= WORKSPACE @@ -34,4 +34,13 @@ WORKSPACE_USE= KDE=plasma-workspace WORKSPACE_DESC= Shutdown on completion support WORKSPACE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibKWorkspace +.include <bsd.port.options.mk> + +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 +PLIST_SUB+= WEBENGINE="" +USE_QT+= webengine +.else +PLIST_SUB+= WEBENGINE="@comment " +.endif + .include <bsd.port.mk> diff --git a/net-p2p/ktorrent/pkg-plist b/net-p2p/ktorrent/pkg-plist index 07968eeaad8a..84a0109bbe7c 100644 --- a/net-p2p/ktorrent/pkg-plist +++ b/net-p2p/ktorrent/pkg-plist @@ -12,10 +12,10 @@ lib/libktcore.so.16.0.0 %%QT_PLUGINDIR%%/ktorrent/ktorrent_mediaplayer.so %%QT_PLUGINDIR%%/ktorrent/ktorrent_scanfolder.so %%QT_PLUGINDIR%%/ktorrent/ktorrent_scripting.so -%%QT_PLUGINDIR%%/ktorrent/ktorrent_search.so +%%WEBENGINE%%%%QT_PLUGINDIR%%/ktorrent/ktorrent_search.so %%WORKSPACE%%%%QT_PLUGINDIR%%/ktorrent/ktorrent_shutdown.so %%QT_PLUGINDIR%%/ktorrent/ktorrent_stats.so -%%QT_PLUGINDIR%%/ktorrent/ktorrent_syndication.so +%%WEBENGINE%%%%QT_PLUGINDIR%%/ktorrent/ktorrent_syndication.so %%QT_PLUGINDIR%%/ktorrent/ktorrent_upnp.so %%QT_PLUGINDIR%%/ktorrent/ktorrent_zeroconf.so share/applications/org.kde.ktorrent.desktop @@ -46,20 +46,20 @@ share/doc/HTML/sv/ktorrent/index.docbook share/doc/HTML/uk/ktorrent/index.cache.bz2 share/doc/HTML/uk/ktorrent/index.docbook share/icons/hicolor/128x128/apps/ktorrent.png -share/icons/hicolor/16x16/actions/kt-add-feeds.png -share/icons/hicolor/16x16/actions/kt-add-filters.png -share/icons/hicolor/16x16/actions/kt-remove-feeds.png -share/icons/hicolor/16x16/actions/kt-remove-filters.png +%%WEBENGINE%%share/icons/hicolor/16x16/actions/kt-add-feeds.png +%%WEBENGINE%%share/icons/hicolor/16x16/actions/kt-add-filters.png +%%WEBENGINE%%share/icons/hicolor/16x16/actions/kt-remove-feeds.png +%%WEBENGINE%%share/icons/hicolor/16x16/actions/kt-remove-filters.png share/icons/hicolor/16x16/actions/kt-stop-all.png share/icons/hicolor/16x16/actions/kt-stop.png share/icons/hicolor/16x16/actions/kt-upnp.png share/icons/hicolor/16x16/apps/ktorrent.png -share/icons/hicolor/22x22/actions/kt-add-feeds.png -share/icons/hicolor/22x22/actions/kt-add-filters.png +%%WEBENGINE%%share/icons/hicolor/22x22/actions/kt-add-feeds.png +%%WEBENGINE%%share/icons/hicolor/22x22/actions/kt-add-filters.png share/icons/hicolor/22x22/actions/kt-magnet.png share/icons/hicolor/22x22/actions/kt-pause.png -share/icons/hicolor/22x22/actions/kt-remove-feeds.png -share/icons/hicolor/22x22/actions/kt-remove-filters.png +%%WEBENGINE%%share/icons/hicolor/22x22/actions/kt-remove-feeds.png +%%WEBENGINE%%share/icons/hicolor/22x22/actions/kt-remove-filters.png share/icons/hicolor/22x22/actions/kt-remove.png share/icons/hicolor/22x22/actions/kt-set-max-download-speed.png share/icons/hicolor/22x22/actions/kt-set-max-upload-speed.png @@ -69,14 +69,14 @@ share/icons/hicolor/22x22/actions/kt-start.png share/icons/hicolor/22x22/actions/kt-stop-all.png share/icons/hicolor/22x22/actions/kt-stop.png share/icons/hicolor/22x22/apps/ktorrent.png -share/icons/hicolor/32x32/actions/kt-add-feeds.png -share/icons/hicolor/32x32/actions/kt-add-filters.png +%%WEBENGINE%%share/icons/hicolor/32x32/actions/kt-add-feeds.png +%%WEBENGINE%%share/icons/hicolor/32x32/actions/kt-add-filters.png share/icons/hicolor/32x32/actions/kt-info-widget.png share/icons/hicolor/32x32/actions/kt-magnet.png share/icons/hicolor/32x32/actions/kt-pause.png share/icons/hicolor/32x32/actions/kt-queue-manager.png -share/icons/hicolor/32x32/actions/kt-remove-feeds.png -share/icons/hicolor/32x32/actions/kt-remove-filters.png +%%WEBENGINE%%share/icons/hicolor/32x32/actions/kt-remove-feeds.png +%%WEBENGINE%%share/icons/hicolor/32x32/actions/kt-remove-filters.png share/icons/hicolor/32x32/actions/kt-remove.png share/icons/hicolor/32x32/actions/kt-set-max-download-speed.png share/icons/hicolor/32x32/actions/kt-set-max-upload-speed.png @@ -116,14 +116,14 @@ share/icons/hicolor/scalable/actions/kt-set-max-download-speed.svgz share/icons/hicolor/scalable/actions/kt-set-max-upload-speed.svgz share/icons/hicolor/scalable/actions/kt-speed-limits.svgz share/knotifications5/ktorrent.notifyrc -%%DATADIR%%/opensearch/btdb.in/favicon.ico -%%DATADIR%%/opensearch/btdb.in/opensearch.xml -%%DATADIR%%/opensearch/btdig.com/favicon.ico -%%DATADIR%%/opensearch/btdig.com/opensearch.xml -%%DATADIR%%/opensearch/duckduckgo.com/favicon.ico -%%DATADIR%%/opensearch/duckduckgo.com/opensearch.xml -%%DATADIR%%/opensearch/torrentproject.se/favicon.ico -%%DATADIR%%/opensearch/torrentproject.se/opensearch.xml +%%WEBENGINE%%%%DATADIR%%/opensearch/btdb.in/favicon.ico +%%WEBENGINE%%%%DATADIR%%/opensearch/btdb.in/opensearch.xml +%%WEBENGINE%%%%DATADIR%%/opensearch/btdig.com/favicon.ico +%%WEBENGINE%%%%DATADIR%%/opensearch/btdig.com/opensearch.xml +%%WEBENGINE%%%%DATADIR%%/opensearch/duckduckgo.com/favicon.ico +%%WEBENGINE%%%%DATADIR%%/opensearch/duckduckgo.com/opensearch.xml +%%WEBENGINE%%%%DATADIR%%/opensearch/torrentproject.se/favicon.ico +%%WEBENGINE%%%%DATADIR%%/opensearch/torrentproject.se/opensearch.xml %%DATADIR%%/scripts/auto_remove/auto_remove.desktop %%DATADIR%%/scripts/auto_remove/auto_remove.py %%DATADIR%%/scripts/auto_remove/auto_remove.ui @@ -135,28 +135,28 @@ share/knotifications5/ktorrent.notifyrc %%DATADIR%%/scripts/email_notifications/emailconfig.ui %%DATADIR%%/scripts/tracker_groups/tracker_groups.desktop %%DATADIR%%/scripts/tracker_groups/tracker_groups.py -%%DATADIR%%/search/home/body-background.jpg -%%DATADIR%%/search/home/box-bottom-left.png -%%DATADIR%%/search/home/box-bottom-middle.png -%%DATADIR%%/search/home/box-bottom-right.png -%%DATADIR%%/search/home/box-center.png -%%DATADIR%%/search/home/box-middle-left.png -%%DATADIR%%/search/home/box-middle-right.png -%%DATADIR%%/search/home/box-top-left.png -%%DATADIR%%/search/home/box-top-middle.png -%%DATADIR%%/search/home/box-top-right.png -%%DATADIR%%/search/home/home.css -%%DATADIR%%/search/home/home.html -%%DATADIR%%/search/home/ktorrent-icon.png -%%DATADIR%%/search/home/ktorrent_infopage.css +%%WEBENGINE%%%%DATADIR%%/search/home/body-background.jpg +%%WEBENGINE%%%%DATADIR%%/search/home/box-bottom-left.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-bottom-middle.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-bottom-right.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-center.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-middle-left.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-middle-right.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-top-left.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-top-middle.png +%%WEBENGINE%%%%DATADIR%%/search/home/box-top-right.png +%%WEBENGINE%%%%DATADIR%%/search/home/home.css +%%WEBENGINE%%%%DATADIR%%/search/home/home.html +%%WEBENGINE%%%%DATADIR%%/search/home/ktorrent-icon.png +%%WEBENGINE%%%%DATADIR%%/search/home/ktorrent_infopage.css share/kxmlgui5/ktorrent/ktorrent_bwschedulerui.rc share/kxmlgui5/ktorrent/ktorrent_downloadorderui.rc share/kxmlgui5/ktorrent/ktorrent_magnetgeneratorui.rc share/kxmlgui5/ktorrent/ktorrent_mediaplayerui.rc share/kxmlgui5/ktorrent/ktorrent_scriptingui.rc -share/kxmlgui5/ktorrent/ktorrent_searchui.rc +%%WEBENGINE%%share/kxmlgui5/ktorrent/ktorrent_searchui.rc %%WORKSPACE%%share/kxmlgui5/ktorrent/ktorrent_shutdownui.rc -share/kxmlgui5/ktorrent/ktorrent_syndicationui.rc +%%WEBENGINE%%share/kxmlgui5/ktorrent/ktorrent_syndicationui.rc share/kxmlgui5/ktorrent/ktorrentui.rc share/kxmlgui5/ktorrent/kttorrentactivityui.rc share/locale/ar/LC_MESSAGES/ktorrent.mo |