summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-02 14:42:48 +0200
committerraveit65 <[email protected]>2020-04-02 16:26:02 +0200
commitc6b34f791092b128011a6875656b79f18e90b082 (patch)
tree9254447285280e7e09a61cb9e72c8bec026abcbe /.build.yml
parente568e9bf29a2831e594f35d755cab30f6d97c19a (diff)
downloadatril-c6b34f791092b128011a6875656b79f18e90b082.tar.bz2
atril-c6b34f791092b128011a6875656b79f18e90b082.tar.xz
Travis CI: build with mate-common-1.24.1 tarball
add missing requires autoconf-archive (fedora)
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml12
1 files changed, 12 insertions, 0 deletions
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