diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-18 08:32:15 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-18 08:32:15 +0100 |
commit | 7d478107b40712e70356c9ff3a8416e0676cba7a (patch) | |
tree | 40accd28c81785e055a06dd2ab5890bd471c231e | |
parent | 3589ed80e87484017da1d8c8ee47c177a6517869 (diff) | |
parent | dbdcf14f7c294ad957a0f5b64356c53e1077640d (diff) | |
download | ayatana-indicator-datetime-7d478107b40712e70356c9ff3a8416e0676cba7a.tar.gz ayatana-indicator-datetime-7d478107b40712e70356c9ff3a8416e0676cba7a.tar.bz2 ayatana-indicator-datetime-7d478107b40712e70356c9ff3a8416e0676cba7a.zip |
Merge branch 'tari01-pr/read-default-sounds-from-lomiri-sounds'
Attributes GH PR #90: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/90
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e3a998..ff8c892 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,12 +78,19 @@ if (ENABLE_LOMIRI_FEATURES) APPEND SERVICE_DEPS lomiri-url-dispatcher>=0 + lomiri-sounds + lomiri-schemas ) + pkg_get_variable(ALARM_DEFAULT_SOUND lomiri-sounds alarm_default_sound) + pkg_get_variable(CALENDAR_DEFAULT_SOUND lomiri-sounds calendar_default_sound) + string(REPLACE ";" " " ALARM_DEFAULT_SOUND "${ALARM_DEFAULT_SOUND}") + string(REPLACE ";" " " ALARM_DEFAULT_SOUND "${ALARM_DEFAULT_SOUND}") + add_definitions ( -DLOMIRI_FEATURES_ENABLED - -DALARM_DEFAULT_SOUND="/usr/share/sounds/lomiri/ringtones/Alarm clock.ogg" - -DCALENDAR_DEFAULT_SOUND="/usr/share/sounds/lomiri/ringtones/Marimbach.ogg" + -DALARM_DEFAULT_SOUND="${ALARM_DEFAULT_SOUND}" + -DCALENDAR_DEFAULT_SOUND="${CALENDAR_DEFAULT_SOUND}" ) else () add_definitions ( |