aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-09-07 06:19:14 +0200
committerRobert Tari <robert@tari.in>2022-09-07 06:19:14 +0200
commitc5d48625870952d8478e86c82d8b6803b65320ce (patch)
tree61c573d56485fab50172d213939678f4acc1a8a9 /data/CMakeLists.txt
parent1136552de368b60958210d3270d41090ddea1a58 (diff)
downloadayatana-indicator-keyboard-c5d48625870952d8478e86c82d8b6803b65320ce.tar.gz
ayatana-indicator-keyboard-c5d48625870952d8478e86c82d8b6803b65320ce.tar.bz2
ayatana-indicator-keyboard-c5d48625870952d8478e86c82d8b6803b65320ce.zip
Add GSettings options for indicator icon
fixes https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/issues/42
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")