summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2023-10-14 22:12:32 +0200
committerraveit65 <[email protected]>2023-10-16 12:40:54 +0200
commit7886eb1ad39eea7a0ea75e82dd112ec423f0b608 (patch)
tree94f9c9831b0ecac6fcfb7518b600fb18e5154984 /.build.yml
parentb9c9edd945f73ccb92953788a991980c7256eb95 (diff)
downloadmate-power-manager-7886eb1ad39eea7a0ea75e82dd112ec423f0b608.tar.bz2
mate-power-manager-7886eb1ad39eea7a0ea75e82dd112ec423f0b608.tar.xz
replace deprecated gtk_image_menu_item
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