diff options
author | charles kerr <charlesk@canonical.com> | 2016-01-01 19:25:16 -0600 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-28 10:17:14 +0200 |
commit | c7881a2d849191e1b6243da75ebf9140d29655cb (patch) | |
tree | c738ddc2d637b340ed660d1e4dd0cb706ee80276 /tests | |
parent | 9b631e9353d206ab5c8bb64317f584024ebe0f4a (diff) | |
download | ayatana-indicator-power-c7881a2d849191e1b6243da75ebf9140d29655cb.tar.gz ayatana-indicator-power-c7881a2d849191e1b6243da75ebf9140d29655cb.tar.bz2 ayatana-indicator-power-c7881a2d849191e1b6243da75ebf9140d29655cb.zip |
create a data/sounds/ directory in the repo to hold Low battery.ogg
We may be adding sounds for when we transition to battery
charging/discharging, so set up a sounds/ directory now.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 96cabb2..566132e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -14,13 +14,10 @@ set_directory_properties (PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES gschemas.compiled) set_source_files_properties (gschemas.compiled GENERATED) -# make a local install of the sounds -set(XDG_DATA_HOME "${CMAKE_CURRENT_BINARY_DIR}/share") +# make a XDG_DATA_HOME for sounds/ +set(XDG_DATA_HOME "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}") add_definitions(-DXDG_DATA_HOME="${XDG_DATA_HOME}") -file(COPY - DIRECTORY "${CMAKE_SOURCE_DIR}/data/" - DESTINATION "${XDG_DATA_HOME}/${CMAKE_PROJECT_NAME}/sounds" - FILES_MATCHING PATTERN "*.ogg") +file(COPY "${CMAKE_SOURCE_DIR}/data/sounds" DESTINATION "${XDG_DATA_HOME}/${CMAKE_PROJECT_NAME}") # GSettings: # compile the ayatana-indicator-power schema into a gschemas.compiled file in this directory, |