aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-04 16:47:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-04 17:02:58 +0200
commitf2b0b013de253f5eddeacbae718f0b8e19fcc8f7 (patch)
treeca5f4477f6bdf9db6ed2efe82f176908c81e8026
parentc58c269eb5995ad022d403315d53ad7bfac1049a (diff)
downloadlibayatana-indicator-f2b0b013de253f5eddeacbae718f0b8e19fcc8f7.tar.gz
libayatana-indicator-f2b0b013de253f5eddeacbae718f0b8e19fcc8f7.tar.bz2
libayatana-indicator-f2b0b013de253f5eddeacbae718f0b8e19fcc8f7.zip
.build.yml: Build ayatana-ido from upstream Git rather than using the possibly outdate packaged version of ayatana-ido.
-rw-r--r--.build.yml43
1 files changed, 35 insertions, 8 deletions
diff --git a/.build.yml b/.build.yml
index 126d769..b1ed56d 100644
--- a/.build.yml
+++ b/.build.yml
@@ -11,10 +11,13 @@ requires:
- startup-notification
- which
- pacman
+ - mate-common
- gtk3
- glib2
- - ayatana-ido
- - mate-common
+# - ayatana-ido
+ - gobject-introspection
+ - gtk-doc
+ - vala
debian:
# Useful URL: https://salsa.debian.org/debian-ayatana-team/libayatana-indicator
@@ -23,15 +26,22 @@ requires:
- clang-tools
- cppcheck
- git
- - at-spi2-core
- libtool
- - intltool
+ - cmake
+ - cmake-extras
- mate-common
+ - at-spi2-core
+ - intltool
- gtk-doc-tools
- libglib2.0-dev
- libgtk2.0-dev
- libgtk-3-dev
- - libayatana-ido3-dev
+# - libayatana-ido3-dev
+ - gobject-introspection
+ - libgirepository1.0-dev
+ - libx11-dev
+ - libxi-dev
+ - valac
- systemd
- dbus-test-runner
- xauth
@@ -42,15 +52,22 @@ requires:
- clang
- clang-tools
- git
- - at-spi2-core
- libtool
- - intltool
+ - cmake
+ - cmake-extras
- mate-common
+ - at-spi2-core
+ - intltool
- gtk-doc-tools
- libglib2.0-dev
- libgtk2.0-dev
- libgtk-3-dev
- - libayatana-ido3-dev
+# - libayatana-ido3-dev
+ - gobject-introspection
+ - libgirepository1.0-dev
+ - libx11-dev
+ - libxi-dev
+ - valac
- systemd
variables:
@@ -71,6 +88,16 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+before_scripts:
+ - cd ${START_DIR}
+ - if [ ! -d ayatana-ido-build ]; then
+ - git clone --depth 1 https://github.com/AyatanaIndicators/ayatana-ido.git ayatana-ido-build
+ - fi
+ - cd ayatana-ido-build
+ - cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ - make
+ - make install
+
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- export CFLAGS+=" -Wsign-compare -Wunused-parameter"