Commit 8cc20a13 authored by Gilles Caulier's avatar Gilles Caulier 🗼

Adjust patch for KF5.70

parent 24f1674d
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 155422d..b5d66d3 100644
index bcd3f7b..0005250 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,11 +39,11 @@ if (Canberra_FOUND)
add_definitions(-DHAVE_CANBERRA)
else()
@@ -37,10 +37,10 @@ set_package_properties(Canberra PROPERTIES
TYPE OPTIONAL)
if (NOT Canberra_FOUND)
# This is REQUIRED since you cannot tell CMake "either one of those two optional ones are required"
- find_package(Phonon4Qt5 4.6.60 NO_MODULE REQUIRED)
- set_package_properties(Phonon4Qt5 PROPERTIES
- DESCRIPTION "Qt-based audio library"
- PURPOSE "Needed to preview notification sounds when Canberra isn't available")
- add_definitions(-DHAVE_PHONON4QT5)
+# find_package(Phonon4Qt5 4.6.60 NO_MODULE REQUIRED)
+# set_package_properties(Phonon4Qt5 PROPERTIES
+# DESCRIPTION "Qt-based audio library"
+# PURPOSE "Needed to preview notification sounds when Canberra isn't available")
+# add_definitions(-DHAVE_PHONON4QT5)
endif()
# Includes
diff --git a/src/knotify-config.h.cmake b/src/knotify-config.h.cmake
index 1794afc..262bae4 100644
index e42fc49..241a0d6 100644
--- a/src/knotify-config.h.cmake
+++ b/src/knotify-config.h.cmake
@@ -1,7 +1,5 @@
#ifndef KNOTIFY_CONFIG_H
@@ -2,7 +2,6 @@
#define KNOTIFY_CONFIG_H
-#cmakedefine01 HAVE_PHONON
-
#cmakedefine HAVE_CANBERRA
-#cmakedefine HAVE_PHONON
#endif /* KNOTIFY_CONFIG_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment