summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index da7c66c..78a3c97 100644
--- a/.build.yml
+++ b/.build.yml
@@ -22,6 +22,10 @@ requires:
- upower
- which
- yelp-tools
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
+ - dconf
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
@@ -52,6 +56,11 @@ requires:
- pkg-config
- xmlto
- yelp-tools
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
+ - libgirepository1.0-dev
+ - libdconf-dev
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-power-manager.git
@@ -78,6 +87,10 @@ requires:
- popt-devel
- redhat-rpm-config
- upower-devel
+ # mate-desktop dependencies
+ - iso-codes-devel
+ - gobject-introspection-devel
+ - dconf-devel
ubuntu:
- autoconf-archive
@@ -105,6 +118,11 @@ requires:
- pkg-config
- xmlto
- yelp-tools
+ # mate-desktop dependencies
+ - iso-codes
+ - gobject-introspection
+ - libgirepository1.0-dev
+ - libdconf-dev
variables:
- 'CHECKERS="
@@ -123,8 +141,25 @@ variables:
-enable-checker alpha.unix.cstring.OutOfBounds
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+ - MATE_DESKTOP_VERSION=1.27.1
before_scripts:
+ - cd ${START_DIR}
+ - if [ ! -f mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz ];then
+ - curl -Ls -o mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz https://github.com/mate-desktop/mate-desktop/releases/download/v${MATE_DESKTOP_VERSION}/mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz
+ - fi
+ - tar xf mate-desktop-${MATE_DESKTOP_VERSION}.tar.xz
+ - cd mate-desktop-${MATE_DESKTOP_VERSION}
+ - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
+ - ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
+ - else
+ - ./autogen.sh --prefix=/usr
+ - fi
+ - if [ ${TRAVIS} == "false" ]; then
+ - make clean
+ - fi
+ - make
+ - make install
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then