From f22f67c8d9e80571f7019cf669e93fd5b40eecee Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 6 Sep 2022 03:36:33 +0200 Subject: .build.yml: Update build dependencies --- .build.yml | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/.build.yml b/.build.yml index 93911ed..1ef8055 100644 --- a/.build.yml +++ b/.build.yml @@ -13,12 +13,8 @@ requires: - cmake - cmake-extras - intltool - - mate-common - glib2 - - gtk3 - - libdbusmenu-glib - - libdbusmenu-gtk3 - - libayatana-indicator + - libayatana-common - libcups - systemd - cups @@ -32,14 +28,11 @@ requires: - git - cmake - cmake-extras - - mate-common - intltool - libglib2.0-dev - - libgtk-3-dev - - libdbusmenu-glib-dev - - libdbusmenu-gtk3-dev - - libayatana-indicator3-dev - libcups2-dev +# - libayatana-common-dev + - liblomiri-url-dispatcher-dev - dbus ubuntu: @@ -49,14 +42,11 @@ requires: - git - cmake - cmake-extras - - mate-common - intltool - libglib2.0-dev - - libgtk-3-dev - - libdbusmenu-glib-dev - - libdbusmenu-gtk3-dev - - libayatana-indicator3-dev - libcups2-dev +# - libayatana-common-dev +# - liblomiri-url-dispatcher-dev variables: - 'CHECKERS=" @@ -76,6 +66,22 @@ 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 + - if [ ${DISTRO_NAME} == "debian" ]; then + - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_LOMIRI_FEATURES=ON + - else + - cmake . -DCMAKE_INSTALL_PREFIX=/usr + - fi + - make + - make install + - cd - + - rm -Rf libayatana-common-build/ + build_scripts: - if [ ${DISTRO_NAME} == "debian" ];then - cppcheck --enable=warning,style,performance,portability,information,missingInclude . -- cgit v1.2.3