2018-03-17 17:52:45 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
|
2020-10-15 01:26:04 +01:00
|
|
|
# KDE Release Service Version, managed by release script
|
2020-11-08 18:04:04 +00:00
|
|
|
set (RELEASE_SERVICE_VERSION_MAJOR "21")
|
2021-07-10 19:28:23 +01:00
|
|
|
set (RELEASE_SERVICE_VERSION_MINOR "11")
|
2020-10-15 01:26:04 +01:00
|
|
|
set (RELEASE_SERVICE_VERSION_MICRO "70")
|
|
|
|
set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
|
|
|
|
|
|
|
|
project(kdeconnect VERSION ${RELEASE_SERVICE_VERSION})
|
2021-03-08 20:25:47 +00:00
|
|
|
|
2019-07-22 23:28:02 +01:00
|
|
|
if (SAILFISHOS)
|
2019-12-09 22:14:19 +00:00
|
|
|
set(KF5_MIN_VERSION "5.36.0")
|
2019-07-22 23:28:02 +01:00
|
|
|
set(QT_MIN_VERSION "5.6.0")
|
|
|
|
else()
|
2020-07-05 01:27:57 +01:00
|
|
|
set(KF5_MIN_VERSION "5.71.0")
|
2019-07-22 23:28:02 +01:00
|
|
|
set(QT_MIN_VERSION "5.10.0")
|
|
|
|
endif()
|
2019-12-09 22:14:19 +00:00
|
|
|
set(QCA_MIN_VERSION "2.1.0")
|
2019-07-22 23:28:02 +01:00
|
|
|
|
2019-06-12 22:48:12 +01:00
|
|
|
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
|
|
|
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
|
|
|
|
|
2021-07-27 21:57:58 +01:00
|
|
|
set(CMAKE_C_STANDARD 99)
|
2021-03-03 14:21:37 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
|
2019-06-12 22:48:12 +01:00
|
|
|
include(KDEInstallDirs)
|
|
|
|
include(KDECompilerSettings NO_POLICY_SCOPE)
|
|
|
|
include(KDECMakeSettings)
|
|
|
|
include(ECMAddTests)
|
|
|
|
include(ECMSetupVersion)
|
|
|
|
include(ECMInstallIcons)
|
2020-05-26 17:55:47 +01:00
|
|
|
include(ECMQtDeclareLoggingCategory)
|
2019-06-12 22:48:12 +01:00
|
|
|
include(FeatureSummary)
|
|
|
|
include(GenerateExportHeader)
|
2021-05-09 18:33:52 +01:00
|
|
|
include(ECMGenerateQmlTypes)
|
2020-03-01 20:00:40 +00:00
|
|
|
if (NOT SAILFISHOS)
|
|
|
|
include(ECMQMLModules)
|
|
|
|
endif()
|
2018-09-06 17:23:11 +01:00
|
|
|
|
2019-06-12 22:48:12 +01:00
|
|
|
include(KDEConnectMacros.cmake)
|
|
|
|
|
2020-10-15 01:26:04 +01:00
|
|
|
ecm_setup_version(${RELEASE_SERVICE_VERSION}
|
2019-06-12 22:48:12 +01:00
|
|
|
VARIABLE_PREFIX KDECONNECT
|
|
|
|
VERSION_HEADER ${CMAKE_CURRENT_BINARY_DIR}/kdeconnect-version.h
|
|
|
|
)
|
2015-02-05 07:52:07 +00:00
|
|
|
|
2020-07-30 09:53:44 +01:00
|
|
|
# Make the version header available by linking against kdeconnectversion
|
|
|
|
add_library(kdeconnectversion INTERFACE)
|
|
|
|
target_include_directories(kdeconnectversion INTERFACE ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
if (SAILFISHOS)
|
2019-12-09 22:14:19 +00:00
|
|
|
set(KF5_REQUIRED_COMPONENTS I18n CoreAddons Config)
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
set(KF5_OPTIONAL_COMPONENTS)
|
2020-01-17 00:31:53 +00:00
|
|
|
|
2019-12-09 22:14:19 +00:00
|
|
|
set(Qca_LIBRARY CONAN_PKG::Qca-qt5)
|
|
|
|
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
add_definitions(-DSAILFISHOS)
|
|
|
|
else()
|
2019-12-09 22:14:19 +00:00
|
|
|
find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED)
|
|
|
|
set(Qca_LIBRARY qca-qt5)
|
|
|
|
|
2021-07-16 22:26:52 +01:00
|
|
|
set(KF5_REQUIRED_COMPONENTS I18n ConfigWidgets DBusAddons IconThemes Notifications KIO KCMUtils Service Solid Kirigami2 People WindowSystem)
|
2021-07-23 19:28:22 +01:00
|
|
|
set(KF5_OPTIONAL_COMPONENTS DocTools Wayland)
|
2019-10-27 16:02:45 +00:00
|
|
|
|
|
|
|
set_package_properties(KF5Kirigami2 PROPERTIES
|
2019-10-27 16:12:57 +00:00
|
|
|
DESCRIPTION "QtQuick plugins to build user interfaces based on KDE UX guidelines"
|
|
|
|
PURPOSE "Required for KDE Connect's QML-based GUI applications"
|
|
|
|
URL "https://www.kde.org/products/kirigami/"
|
|
|
|
TYPE RUNTIME
|
2019-10-27 16:02:45 +00:00
|
|
|
)
|
|
|
|
|
2019-07-21 23:49:07 +01:00
|
|
|
if(UNIX AND NOT APPLE)
|
2021-07-29 15:00:29 +01:00
|
|
|
find_package(KF5Package REQUIRED)
|
2019-10-27 19:41:24 +00:00
|
|
|
find_package(KF5PulseAudioQt)
|
2018-08-06 09:43:38 +01:00
|
|
|
endif()
|
2019-10-27 16:02:45 +00:00
|
|
|
|
|
|
|
find_package(KF5PeopleVCard)
|
|
|
|
set_package_properties(KF5PeopleVCard PROPERTIES
|
|
|
|
PURPOSE "Read vcards from the file system"
|
2020-05-17 13:43:38 +01:00
|
|
|
URL "https://invent.kde.org/pim/kpeoplevcard"
|
2019-10-27 16:02:45 +00:00
|
|
|
TYPE RUNTIME
|
|
|
|
)
|
|
|
|
|
2019-12-09 22:14:19 +00:00
|
|
|
add_definitions(-DHAVE_KIO)
|
2020-01-16 17:11:10 +00:00
|
|
|
|
2021-06-16 20:42:00 +01:00
|
|
|
#ecm_find_qmlmodule(org.kde.people 1.0) FIXME This results in KPeople code being called which triggers DBus calls which breaks the Windows CI
|
2020-03-17 16:13:12 +00:00
|
|
|
ecm_find_qmlmodule(QtQuick.Particles 2.0)
|
2020-01-16 17:11:10 +00:00
|
|
|
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
endif()
|
2013-06-06 04:57:06 +01:00
|
|
|
|
2019-12-09 22:14:19 +00:00
|
|
|
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII)
|
|
|
|
|
2021-03-08 20:25:47 +00:00
|
|
|
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS DBus Quick QuickControls2 Network Multimedia)
|
2021-02-01 13:10:47 +00:00
|
|
|
if (UNIX AND NOT APPLE)
|
|
|
|
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
|
|
|
|
endif()
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ${KF5_REQUIRED_COMPONENTS})
|
|
|
|
if (KF5_OPTIONAL_COMPONENTS)
|
2021-08-04 18:15:43 +01:00
|
|
|
find_package(KF5 ${KF5_MIN_VERSION} OPTIONAL_COMPONENTS ${KF5_OPTIONAL_COMPONENTS})
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
endif()
|
2015-03-01 20:17:46 +00:00
|
|
|
|
2021-06-15 13:36:03 +01:00
|
|
|
if (WIN32)
|
2021-06-16 12:39:55 +01:00
|
|
|
get_filename_component(WINDOWS_KITS_DIR
|
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows Kits\\Installed Roots;KitsRoot10]" ABSOLUTE)
|
|
|
|
file(READ "${WINDOWS_KITS_DIR}/SDKManifest.xml" SDK_MANIFEST)
|
|
|
|
string(REGEX MATCH "PlatformIdentity[^\n]*" PLATFORM_IDENTITY "${SDK_MANIFEST}" )
|
|
|
|
string(REGEX MATCH "[0-9][0-9][0-9][0-9][0-9]" WIN_SDK_VERSION "${PLATFORM_IDENTITY}" )
|
2021-06-15 13:36:03 +01:00
|
|
|
add_compile_definitions(WIN_SDK_VERSION=${WIN_SDK_VERSION})
|
|
|
|
endif()
|
|
|
|
|
2019-03-30 19:45:54 +00:00
|
|
|
if (NOT ZSH_AUTOCOMPLETE_DIR)
|
2020-04-16 17:25:01 +01:00
|
|
|
set(ZSH_AUTOCOMPLETE_DIR "${KDE_INSTALL_DATADIR}/zsh/site-functions")
|
2019-03-30 19:45:54 +00:00
|
|
|
endif()
|
|
|
|
|
2021-07-25 07:16:22 +01:00
|
|
|
option(APPLE_IN_APP_BUNDLE "Compile KDE Connect to pack in App Bundle" OFF)
|
2019-06-18 02:21:31 +01:00
|
|
|
option(PRIVATE_DBUS_ENABLED "Use private dbus session for kdeconnect" OFF)
|
2021-07-25 07:16:22 +01:00
|
|
|
if(PRIVATE_DBUS_ENABLED OR APPLE_IN_APP_BUNDLE)
|
2019-06-18 02:21:31 +01:00
|
|
|
add_compile_definitions(USE_PRIVATE_DBUS)
|
|
|
|
endif()
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
|
2019-10-27 16:11:58 +00:00
|
|
|
add_subdirectory(core)
|
2020-01-06 19:28:36 +00:00
|
|
|
add_subdirectory(plugins)
|
|
|
|
add_subdirectory(interfaces)
|
2019-12-09 22:14:19 +00:00
|
|
|
|
|
|
|
if (NOT SAILFISHOS)
|
2021-03-08 20:25:47 +00:00
|
|
|
|
|
|
|
find_package(KF5QQC2DesktopStyle ${KF5_MIN_VERSION} REQUIRED)
|
|
|
|
set_package_properties(KF5QQC2DesktopStyle PROPERTIES TYPE RUNTIME)
|
|
|
|
|
2020-10-28 15:59:28 +00:00
|
|
|
add_subdirectory(icons)
|
2019-12-09 22:14:19 +00:00
|
|
|
add_subdirectory(data)
|
|
|
|
add_subdirectory(cli)
|
|
|
|
add_subdirectory(declarativeplugin)
|
|
|
|
|
2019-10-27 16:11:58 +00:00
|
|
|
add_subdirectory(kcm)
|
|
|
|
add_subdirectory(kcmplugin)
|
|
|
|
add_subdirectory(daemon)
|
2019-07-20 12:02:06 +01:00
|
|
|
add_subdirectory(app)
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
add_subdirectory(indicator)
|
|
|
|
add_subdirectory(urlhandler)
|
|
|
|
add_subdirectory(nautilus-extension)
|
2019-04-15 21:36:34 +01:00
|
|
|
add_subdirectory(fileitemactionplugin)
|
2019-10-27 15:53:39 +00:00
|
|
|
add_subdirectory(smsapp)
|
2020-01-17 00:31:53 +00:00
|
|
|
add_subdirectory(settings)
|
|
|
|
|
2021-09-10 19:22:27 +01:00
|
|
|
if(NOT WIN32 AND NOT APPLE)
|
2019-10-27 16:11:58 +00:00
|
|
|
add_subdirectory(kio)
|
|
|
|
add_subdirectory(plasmoid)
|
|
|
|
endif()
|
2019-12-09 22:14:19 +00:00
|
|
|
endif()
|
2020-01-17 00:31:53 +00:00
|
|
|
|
2019-12-09 22:14:19 +00:00
|
|
|
if(KF5DocTools_FOUND)
|
|
|
|
add_subdirectory(doc)
|
|
|
|
endif()
|
2019-10-27 16:11:58 +00:00
|
|
|
|
2019-12-09 22:14:19 +00:00
|
|
|
if(BUILD_TESTING)
|
|
|
|
add_subdirectory(tests)
|
Build kdeconnect on sailfish and port some simple plugins
Summary:
Below is a lost of the commits, but, in summary
Port the build system for Sailfish, which means selectively building only the bits we need/can, and only against the KF5 libs that are available.
Allow to build on Qt 5.6
Switch from knotification to nemo notification (not complete!)
Add a very simple example sailfish app.
Note, there is still much missing functionality. Notifications dont work, pairing sort of works but not really, but when it is paired you can send a ping to the desktop client
Dont build kio for Sailfish
Port core build system
Port daemon buld system
Require CoreAddons on Sailfish
Port plugins build for sailfish and include the ping plugin for now
Final build changes for sailfish.
Disable tests and other not needed parts
Add includes for QCA
Fix build errors on sailfish
Get core/ to build on sailfish
Get interfaces/ to build on sailfish
Build daemon on sailfish
On sailfish, dont install the kcm file
Start port plugin to sailfish
Fixup installed files
Add sfos app
Hack declarative plugin to give a public interface
Build sfos app
Compile declarativeplugin into the sfos app for now
Redefine qAsConst for qt 5.6
Packaging fixes
Use official icon
Package .desktop
Reviewers: #kde_connect, apol, nicolasfella, albertvaka
Reviewed By: #kde_connect, apol, nicolasfella, albertvaka
Subscribers: kdeconnect, andyholmes, albertvaka, kossebau, mtijink, vonreth, apol, #kde_connect, nicolasfella
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D10703
2018-08-02 20:10:59 +01:00
|
|
|
endif()
|
2018-03-25 19:40:59 +01:00
|
|
|
|
2020-05-26 17:55:47 +01:00
|
|
|
ecm_qt_install_logging_categories(EXPORT kdeconnect-kde FILE kdeconnect-kde.categories SORT DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}")
|
|
|
|
|
2015-09-14 12:51:50 +01:00
|
|
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|