From c6b34f791092b128011a6875656b79f18e90b082 Mon Sep 17 00:00:00 2001
From: raveit65 <mate@raveit.de>
Date: Thu, 2 Apr 2020 14:42:48 +0200
Subject: Travis CI: build with mate-common-1.24.1 tarball

add missing requires autoconf-archive (fedora)
---
 .build.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.build.yml b/.build.yml
index 2935d672..09a69296 100644
--- a/.build.yml
+++ b/.build.yml
@@ -56,6 +56,7 @@ requires:
 
   fedora:
     # Useful URL: https://src.fedoraproject.org/cgit/rpms/atril.git
+    - autoconf-archive
     - cairo-gobject-devel
     - caja-devel
     - clang
@@ -137,6 +138,17 @@ before_scripts:
   -     egrep -lRZ 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' . | xargs -0 -l sed -i -e 's/G_GNUC_BEGIN_IGNORE_DEPRECATIONS/ /g'
   -     egrep -lRZ 'G_GNUC_END_IGNORE_DEPRECATIONS' . | xargs -0 -l sed -i -e 's/G_GNUC_END_IGNORE_DEPRECATIONS/ /g'
   - fi
+  - cd ${START_DIR}
+  - '[ -f mate-common-1.24.1.tar.xz ] || curl -Ls -o mate-common-1.24.1.tar.xz https://github.com/mate-desktop/mate-common/releases/download/v1.24.1/mate-common-1.24.1.tar.xz'
+  - tar xf mate-common-1.24.1.tar.xz
+  - cd mate-common-1.24.1
+  - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
+  -     ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
+  - else
+  -     ./configure --prefix=/usr
+  - fi
+  - make
+  - make install
 
 build_scripts:
   - ./autogen.sh
-- 
cgit v1.2.1