aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-09-06 03:36:33 +0200
committerRobert Tari <robert@tari.in>2022-09-06 04:35:17 +0200
commitf22f67c8d9e80571f7019cf669e93fd5b40eecee (patch)
treec2c7acd0154e1328bd916ad9054a0504f32ae8fd
parent0c644b5d7ecf85bf20b3c3d4f08d5bf788299599 (diff)
downloadayatana-indicator-printers-f22f67c8d9e80571f7019cf669e93fd5b40eecee.tar.gz
ayatana-indicator-printers-f22f67c8d9e80571f7019cf669e93fd5b40eecee.tar.bz2
ayatana-indicator-printers-f22f67c8d9e80571f7019cf669e93fd5b40eecee.zip
.build.yml: Update build dependencies
-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 .