diff options
author | Robert Tari <robert@tari.in> | 2021-09-07 01:25:17 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-09-13 22:30:14 +0200 |
commit | d2758a873a848fc4113a4087d53446f73c6543cb (patch) | |
tree | 945d183caf2c627ef353d662536f712d29dd5c38 /CMakeLists.txt | |
parent | d42da41264e8e7a8939068791e9bb5038bdaf649 (diff) | |
download | ayatana-indicator-keyboard-d2758a873a848fc4113a4087d53446f73c6543cb.tar.gz ayatana-indicator-keyboard-d2758a873a848fc4113a4087d53446f73c6543cb.tar.bz2 ayatana-indicator-keyboard-d2758a873a848fc4113a4087d53446f73c6543cb.zip |
Split X11 and Lomiri backends
- CMakeLists.txt: Add separate dependencies for the X11 backend
- src/keyboard.c: Fork into keyboard-x11.c and keyboard-lomiri.c
- src/CMakeLists.txt: Build backend libraries
- src/keyboard-lomiri.c: Add some mock defaults for Lomiri
- src/service.c: Load appropriate backend during runtime
- data/org.ayatana.indicator.keyboard: Move icon to leftmost position
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a9053180..de69c452 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,8 @@ add_definitions (-DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}" -DLOCALEDIR="${CMAKE_INS find_package (PkgConfig REQUIRED) include (CheckIncludeFile) include (FindPkgConfig) -pkg_check_modules(SERVICE_DEPS REQUIRED glib-2.0>=2.36 gio-2.0>=2.36 x11>=1.6.7 libxklavier>=5.4 libayatana-common>=0.9.3) +pkg_check_modules(SERVICE_DEPS REQUIRED glib-2.0>=2.36 gio-2.0>=2.36 libayatana-common>=0.9.3) +pkg_check_modules(X11_DEPS REQUIRED x11>=1.6.7 libxklavier>=5.4) include_directories (SYSTEM ${SERVICE_DEPS_INCLUDE_DIRS}) # custom targets |