aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-03-01 03:55:34 +0100
committerRobert Tari <robert@tari.in>2022-03-01 10:03:29 +0100
commit801486c23db43749761843c277b83a523c1e8e89 (patch)
tree28ffe8d2f7fc4ba6ed3c59b2447eb1aa08b6cc53 /.build.yml
parentaed21256148273068856ffa49e8587cdd88dbcd9 (diff)
downloadayatana-indicator-keyboard-801486c23db43749761843c277b83a523c1e8e89.tar.gz
ayatana-indicator-keyboard-801486c23db43749761843c277b83a523c1e8e89.tar.bz2
ayatana-indicator-keyboard-801486c23db43749761843c277b83a523c1e8e89.zip
.build.yml: Add libxkbcommon build dependency
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 14243060..193bb849 100644
--- a/.build.yml
+++ b/.build.yml
@@ -16,6 +16,7 @@ requires:
- glib2
- libx11
- libxklavier
+ - libxkbcommon
# - libayatana-common
debian:
@@ -31,6 +32,8 @@ requires:
- libglib2.0-dev
- libx11-dev
- libxklavier-dev
+ - libxkbcommon-dev
+ - libxkbregistry-dev
- systemd
# - libayatana-common-dev
# For building libayatana-common:
@@ -49,6 +52,21 @@ requires:
- libxklavier-dev
- systemd
# - libayatana-common-dev
+# - libxkbcommon-dev
+# - libxkbregistry-dev
+# For building libxkbcommon:
+ - meson
+ - pkg-config
+ - bison
+ - libxcb-xkb-dev
+ - libxml2-dev
+ - wayland-protocols
+ - libwayland-dev
+ - doxygen
+ - x11proto-dev
+ - xvfb
+ - flex
+ - graphviz
variables:
- 'CHECKERS="
@@ -83,6 +101,19 @@ before_scripts:
- make install
- cd -
- rm -Rf libayatana-common-build/
+ -
+ - if [ ${DISTRO_NAME} == "ubuntu" ]; then
+ - cd ${START_DIR}
+ - if [ ! -d libxkbcommon-build ]; then
+ - git clone --depth 1 https://github.com/xkbcommon/libxkbcommon.git libxkbcommon-build
+ - fi
+ - cd libxkbcommon-build
+ - meson setup build -Dprefix=/usr -Dlibdir=/usr/lib/x86_64-linux-gnu
+ - ninja -C build
+ - ninja -C build install
+ - cd -
+ - rm -Rf libxkbcommon-build/
+ - fi
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then