Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Christoph Roick
kdevelop
Commits
732616ad
Commit
732616ad
authored
Oct 23, 2018
by
Kevin Funk
☕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appimage: Update knotifications no_phonon.patch
parent
b5324874
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
appimage/kdevelop-recipe-centos6.sh
appimage/kdevelop-recipe-centos6.sh
+10
-14
No files found.
appimage/kdevelop-recipe-centos6.sh
View file @
732616ad
...
...
@@ -139,22 +139,18 @@ function build_project
git reset
--hard
cat
>
no_phonon.patch
<<
EOF
diff --git a/CMakeLists.txt b/CMakeLists.txt
index
b97425f..8f15f08
100644
index
aa2926f..60f4277
100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,10 +59,10 @@ find_package(KF5Config
${
KF5_DEP_VERSION
}
REQUIRED)
find_package(KF5Codecs
${
KF5_DEP_VERSION
}
REQUIRED)
find_package(KF5CoreAddons
${
KF5_DEP_VERSION
}
REQUIRED)
-find_package(Phonon4Qt5 4.6.60 REQUIRED NO_MODULE)
+find_package(Phonon4Qt5 4.6.60 NO_MODULE)
set_package_properties(Phonon4Qt5 PROPERTIES
DESCRIPTION "Qt-based audio library"
- TYPE REQUIRED
+ TYPE OPTIONAL
PURPOSE "Required to build audio notification support")
if (Phonon4Qt5_FOUND)
add_definitions(-DHAVE_PHONON4QT5)
@@ -77,7 +77,7 @@ else()
set_package_properties(Phonon4Qt5 PROPERTIES
DESCRIPTION "Qt-based audio library"
# This is REQUIRED since you cannot tell CMake "either one of those two optional ones are required"
- TYPE REQUIRED
+ TYPE OPTIONAL
PURPOSE "Needed to build audio notification support when Canberra isn't available")
if (Phonon4Qt5_FOUND)
add_definitions(-DHAVE_PHONON4QT5)
EOF
cat
no_phonon.patch |patch
-p1
cd
..
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment