aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml36
1 files 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 .