From 801486c23db43749761843c277b83a523c1e8e89 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 1 Mar 2022 03:55:34 +0100 Subject: .build.yml: Add libxkbcommon build dependency --- .build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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 -- cgit v1.2.3