aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-03-01 20:38:47 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-03-01 20:38:47 +0100
commit4a74e3ef90fd60a4fd57b1fa2a456ea692365059 (patch)
tree28ffe8d2f7fc4ba6ed3c59b2447eb1aa08b6cc53 /.build.yml
parent9a730357f567953041964790f04587661eb7b53b (diff)
parent801486c23db43749761843c277b83a523c1e8e89 (diff)
downloadayatana-indicator-keyboard-4a74e3ef90fd60a4fd57b1fa2a456ea692365059.tar.gz
ayatana-indicator-keyboard-4a74e3ef90fd60a4fd57b1fa2a456ea692365059.tar.bz2
ayatana-indicator-keyboard-4a74e3ef90fd60a4fd57b1fa2a456ea692365059.zip
Merge branch 'tari01-pr/use-libxkbcommon'
Attributes GH PR #30: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/pull/30
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