Drop patch since upstream allowed for option qtwebengine.
Norbert Preining
2 years ago
1 | 1 |
|
2 | 2 |
[ Norbert Preining ]
|
3 | 3 |
* New upstream release (21.08.0).
|
|
4 |
* Drop patch since upstream allowed for option qtwebengine.
|
4 | 5 |
|
5 | 6 |
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Mon, 16 Aug 2021 15:46:08 +0900
|
6 | 7 |
|
debian/patches/optional-qtwebengine.diff
less
more
0 | |
Author: Pino Toscano <pino@debian.org>
|
1 | |
Description: Make QtWebEngine an optional requirement
|
2 | |
This makes it possible to build kaccount-provides, albeith without the
|
3 | |
nextcloud plugin, also on architectures that do not have QtWebEngine.
|
4 | |
Forwarded: no
|
5 | |
Last-Update: 2021-01-16
|
6 | |
|
7 | |
--- a/CMakeLists.txt
|
8 | |
+++ b/CMakeLists.txt
|
9 | |
@@ -19,7 +19,8 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_S
|
10 | |
find_package(Intltool REQUIRED)
|
11 | |
find_package(KAccounts REQUIRED)
|
12 | |
|
13 | |
-find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Core Qml WebEngine)
|
14 | |
+find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Core Qml)
|
15 | |
+find_package(Qt5WebEngine ${QT_REQUIRED_VERSION} CONFIG)
|
16 | |
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED KIO I18n Declarative Package)
|
17 | |
|
18 | |
include(KDEInstallDirs)
|
19 | |
--- a/plugins/CMakeLists.txt
|
20 | |
+++ b/plugins/CMakeLists.txt
|
21 | |
@@ -1,2 +1,4 @@
|
22 | |
add_subdirectory(owncloud-ui)
|
23 | |
-add_subdirectory(nextcloud-ui)
|
24 | |
\ No newline at end of file
|
25 | |
+if (Qt5WebEngine_FOUND)
|
26 | |
+ add_subdirectory(nextcloud-ui)
|
27 | |
+endif()
|
0 | |
optional-qtwebengine.diff
|