Index: head/astro/marble/Makefile =================================================================== --- head/astro/marble/Makefile (revision 489836) +++ head/astro/marble/Makefile (revision 489837) @@ -1,46 +1,46 @@ # $FreeBSD$ PORTNAME= marble DISTVERSION= ${KDE_APPLICATIONS_VERSION} PORTREVISION= 1 CATEGORIES= astro kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Virtual globe and world atlas for KDE LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libquazip5.so:archivers/quazip@qt5 USES= cmake compiler:c++11-lang desktop-file-utils gettext \ kde:5 qt:5 tar:xz USE_KDE= attica auth codecs completion config configwidgets coreaddons \ crash doctools ecm i18n jobwidgets kio newstuff package parts \ plasma-framework runner service sonnet textwidgets wallet \ widgetsaddons xmlgui USE_QT= concurrent core dbus declarative designer gui location network opengl \ phonon4 printsupport script sql svg webchannel widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null # We have to set QT_IMPORTS_PATH, as it does not get picked up CMAKE_ARGS= -DMOBILE:BOOL=FALSE \ -DQT_IMPORTS_DIR:PATH=${QT_IMPORTDIR} OPTIONS_DEFINE= GPS DOCS WEBENGINE OPTIONS_DEFAULT=GPS OPTIONS_DEFAULT_amd64= WEBENGINE OPTIONS_DEFAULT_i386= WEBENGINE OPTIONS_SUB= yes GPS_DESC= Support for GPS position provider GPS_LIB_DEPENDS= libgps.so:astro/gpsd -GPS_CMAKE_OFF= -DWITH_libgps:BOOL=FALSE +GPS_CMAKE_BOOL_ON= WITH_libgps WEBENGINE_DESC= Add dependency on qt5-webengine WEBENGINE_USE= QT=webengine -WEBENGINE_CMAKE_BOOL= WEBENGINE +WEBENGINE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets .include Index: head/astro/marble/files/patch-CMakeLists.txt =================================================================== --- head/astro/marble/files/patch-CMakeLists.txt (revision 489836) +++ head/astro/marble/files/patch-CMakeLists.txt (revision 489837) @@ -1,36 +1,49 @@ ---- CMakeLists.txt.orig 2018-12-30 17:28:44 UTC +From bc206d50cf8c0d0fc9f90cce58a2499ec945bd29 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Wed, 9 Jan 2019 20:41:28 +0100 +Subject: [PATCH] Avoid overwriting Qt5_FOUND with Qt5DBus or Qt5WebEngine + disabled + +--- + CMakeLists.txt | 17 ++++++----------- + 1 file changed, 6 insertions(+), 11 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9261a67a4..82f7206d2 100644 +--- CMakeLists.txt +++ CMakeLists.txt -@@ -76,6 +76,7 @@ include( MarbleMacros ) - # Generate the tiles with the tilecreator at compile time - # if this option is set, srtm.jpg will not be installed but the generated tiles instead - option(MOBILE "Create a Marble version optimized for handheld devices") -+option(WEBENGINE "Build browser plugin" ON) +@@ -121,18 +121,13 @@ find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED + ) - #################################################### - # Build a D-Bus interface for the Marble widget -@@ -128,15 +129,17 @@ if(CMAKE_SYSTEM_NAME STREQUAL Android) - ) + if(CMAKE_SYSTEM_NAME STREQUAL Android) +- find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED +- COMPONENTS +- Positioning +- Multimedia +- ) ++ find_package(Qt5Positioning ${REQUIRED_QT_VERSION} REQUIRED) ++ find_package(Qt5Multimedia) ++ set ( MARBLE_NO_WEBKITWIDGETS TRUE ) else() - find_package(Qt5 ${REQUIRED_QT_VERSION} - COMPONENTS - WebEngine - WebEngineWidgets - ) -+ if(WEBENGINE) -+ find_package(Qt5 ${REQUIRED_QT_VERSION} -+ COMPONENTS -+ WebEngine -+ WebEngineWidgets -+ ) ++ find_package(Qt5WebEngine ${REQUIRED_QT_VERSION}) ++ find_package(Qt5WebEngineWidgets ${REQUIRED_QT_VERSION}) -- if ( NOT Qt5WebEngineWidgets_FOUND ) -- set ( MARBLE_NO_WEBKITWIDGETS TRUE ) -- endif() -+ if( NOT Qt5WebEngineWidgets_FOUND ) -+ set ( MARBLE_NO_WEBKITWIDGETS TRUE ) -+ endif() -+ endif() + if ( NOT Qt5WebEngineWidgets_FOUND ) + set ( MARBLE_NO_WEBKITWIDGETS TRUE ) +@@ -140,7 +135,7 @@ else() endif() if (BUILD_WITH_DBUS) +- find_package(Qt5 ${REQUIRED_QT_VERSION} COMPONENTS DBus) ++ find_package(Qt5DBus ${REQUIRED_QT_VERSION} COMPONENTS) + if (NOT Qt5DBus_FOUND) + set(MARBLE_NO_DBUS TRUE) + endif() +-- +2.20.1 Index: head/astro/marble/files/patch-src_lib_marble_CMakeLists.txt =================================================================== --- head/astro/marble/files/patch-src_lib_marble_CMakeLists.txt (nonexistent) +++ head/astro/marble/files/patch-src_lib_marble_CMakeLists.txt (revision 489837) @@ -0,0 +1,32 @@ +diff --git a/src/lib/marble/CMakeLists.txt b/src/lib/marble/CMakeLists.txt +index 155c0fc51..1ce5f5f52 100644 +--- src/lib/marble/CMakeLists.txt ++++ src/lib/marble/CMakeLists.txt +@@ -1,4 +1,4 @@ +-PROJECT(marblewidget) ++# PROJECT(marblewidget) + + macro_optional_find_package(Phonon4Qt5 QUIET) + marble_set_package_properties( Phonon4Qt5 PROPERTIES +@@ -13,6 +13,10 @@ endif() + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config-phonon.h.cmake + ${CMAKE_CURRENT_BINARY_DIR}/config-phonon.h) + ++if(MARBLE_NO_WEBKITWIDGETS) ++ add_definitions(-DMARBLE_NO_WEBKITWIDGETS) ++endif() ++ + INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} +@@ -47,10 +51,6 @@ set(MARBLE_ABI_VERSION "28") + + ########### next target ############### + +-if(MARBLE_NO_WEBKITWIDGETS) +-add_definitions(-DMARBLE_NO_WEBKITWIDGETS) +-endif() +- + set(marblewidget_SRCS + ${geodata_SRCS} + ${graphicsview_SRCS} Property changes on: head/astro/marble/files/patch-src_lib_marble_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property