From 7db2204cc52bfc30fe40d22b69239b8fb6c3cd11 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 10 Aug 2021 22:29:18 +0200 Subject: .build.yml: Add build requirement libayatana-common via a source build. --- .build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.build.yml b/.build.yml index abc7800..70ac8ee 100644 --- a/.build.yml +++ b/.build.yml @@ -31,6 +31,7 @@ requires: - mate-common - dbus - intltool +# - libayatana-common-dev - libglib2.0-dev - libgudev-1.0-dev - libproperties-cpp-dev @@ -55,6 +56,7 @@ requires: - mate-common - dbus - intltool +# - libayatana-common-dev - libglib2.0-dev - libgudev-1.0-dev - libproperties-cpp-dev @@ -87,6 +89,16 @@ variables: -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy"' +before_scripts: + - cd ${START_DIR} + - if [ ! -d libayatana-common-build ]; then + - git clone --depth 1 https://github.com/AyatanaIndicators/libayatana-common.git libayatana-common-build + - fi + - cd libayatana-common-build + - cmake . -DCMAKE_INSTALL_PREFIX=/usr + - make + - make install + build_scripts: - if [ ${DISTRO_NAME} == "debian" ];then - export CFLAGS+=" -Wsign-compare -Wunused-parameter" -- cgit v1.2.3