aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-08 20:50:48 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-08 20:50:48 +0200
commite6f63b6582a39d23187f1ed5fa33c7dc546a005e (patch)
treeb48c4bbae5e5e385a25dec6463e5e2f2862c5b5e /data/CMakeLists.txt
parenta4fd7cb15ced51579a2e4910e840e0d400f25751 (diff)
parent5ad5e033821a09386c3fd55d8f71bc2f929f36ae (diff)
downloadayatana-indicator-keyboard-e6f63b6582a39d23187f1ed5fa33c7dc546a005e.tar.gz
ayatana-indicator-keyboard-e6f63b6582a39d23187f1ed5fa33c7dc546a005e.tar.bz2
ayatana-indicator-keyboard-e6f63b6582a39d23187f1ed5fa33c7dc546a005e.zip
Merge branch 'tari01-pr/language-icon-gsettings'
Attributes GH PR #43: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/pull/43
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 39bd0458..35bbfd54 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -53,3 +53,11 @@ install(FILES org.ayatana.indicator.keyboard.AccountsService.policy DESTINATION
# 50-org.ayatana.indicator.keyboard.AccountsService.pkla
install(FILES 50-org.ayatana.indicator.keyboard.AccountsService.pkla DESTINATION "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/polkit-1/localauthority/10-vendor.d")
+
+# org.ayatana.indicator.keyboard.gschema.xml
+
+find_package (Intltool REQUIRED)
+set (ENV{LC_ALL} "C")
+intltool_merge_translations ("${CMAKE_CURRENT_SOURCE_DIR}/org.ayatana.indicator.keyboard.gschema.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/org.ayatana.indicator.keyboard.gschema.xml" ALL UTF8 STYLE "xml" NO_TRANSLATIONS)
+find_package (GSettings REQUIRED)
+add_schema ("org.ayatana.indicator.keyboard.gschema.xml")