From f2b0b013de253f5eddeacbae718f0b8e19fcc8f7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 4 May 2021 16:47:50 +0200 Subject: .build.yml: Build ayatana-ido from upstream Git rather than using the possibly outdate packaged version of ayatana-ido. --- .build.yml | 43 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/.build.yml b/.build.yml index 126d769..b1ed56d 100644 --- a/.build.yml +++ b/.build.yml @@ -11,10 +11,13 @@ requires: - startup-notification - which - pacman + - mate-common - gtk3 - glib2 - - ayatana-ido - - mate-common +# - ayatana-ido + - gobject-introspection + - gtk-doc + - vala debian: # Useful URL: https://salsa.debian.org/debian-ayatana-team/libayatana-indicator @@ -23,15 +26,22 @@ requires: - clang-tools - cppcheck - git - - at-spi2-core - libtool - - intltool + - cmake + - cmake-extras - mate-common + - at-spi2-core + - intltool - gtk-doc-tools - libglib2.0-dev - libgtk2.0-dev - libgtk-3-dev - - libayatana-ido3-dev +# - libayatana-ido3-dev + - gobject-introspection + - libgirepository1.0-dev + - libx11-dev + - libxi-dev + - valac - systemd - dbus-test-runner - xauth @@ -42,15 +52,22 @@ requires: - clang - clang-tools - git - - at-spi2-core - libtool - - intltool + - cmake + - cmake-extras - mate-common + - at-spi2-core + - intltool - gtk-doc-tools - libglib2.0-dev - libgtk2.0-dev - libgtk-3-dev - - libayatana-ido3-dev +# - libayatana-ido3-dev + - gobject-introspection + - libgirepository1.0-dev + - libx11-dev + - libxi-dev + - valac - systemd variables: @@ -71,6 +88,16 @@ variables: -enable-checker alpha.core.FixedAddr -enable-checker security.insecureAPI.strcpy"' +before_scripts: + - cd ${START_DIR} + - if [ ! -d ayatana-ido-build ]; then + - git clone --depth 1 https://github.com/AyatanaIndicators/ayatana-ido.git ayatana-ido-build + - fi + - cd ayatana-ido-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