summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml17
1 files changed, 5 insertions, 12 deletions
diff --git a/.build.yml b/.build.yml
index 4784cd2..591faa3 100644
--- a/.build.yml
+++ b/.build.yml
@@ -12,6 +12,7 @@ requires:
- gobject-introspection
- make
- mate-common
+ - meson
- python2
- which
@@ -29,6 +30,7 @@ requires:
- libglib2.0-dev
- make
- mate-common
+ - meson
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-menus.git
@@ -42,6 +44,7 @@ requires:
- gobject-introspection-devel
- make
- mate-common
+ - meson
- python2-devel
- redhat-rpm-config
@@ -55,6 +58,7 @@ requires:
- libglib2.0-dev
- make
- mate-common
+ - meson
variables:
- 'CHECKERS="
@@ -75,21 +79,10 @@ variables:
-enable-checker security.insecureAPI.strcpy"'
before_scripts:
- - 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:
- if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+ - export CFLAGS+=" -Wsign-compare"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' .
- fi