aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-03 22:16:59 +0200
committerRobert Tari <robert@tari.in>2021-09-03 22:16:59 +0200
commitd42da41264e8e7a8939068791e9bb5038bdaf649 (patch)
treeb74dad8a8bb6b867d48448f2de51c4cd395d8c6c /.build.yml
parente81e7fa8faaa40a36c436529c03b09133d1a2a76 (diff)
downloadayatana-indicator-keyboard-d42da41264e8e7a8939068791e9bb5038bdaf649.tar.gz
ayatana-indicator-keyboard-d42da41264e8e7a8939068791e9bb5038bdaf649.tar.bz2
ayatana-indicator-keyboard-d42da41264e8e7a8939068791e9bb5038bdaf649.zip
.build.yml: Install libayatana-common dependency from GitHub
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 4d8c04d9..7265d2cb 100644
--- a/.build.yml
+++ b/.build.yml
@@ -17,6 +17,7 @@ requires:
- glib2
- libx11
- libxklavier
+# - libayatana-common
debian:
# Useful URL: https://salsa.debian.org/debian-ayatana-team/ayatana-ido
@@ -34,6 +35,7 @@ requires:
- libx11-dev
- libxklavier-dev
- systemd
+# - libayatana-common-dev
ubuntu:
- autopoint
@@ -49,6 +51,7 @@ requires:
- libx11-dev
- libxklavier-dev
- systemd
+# - libayatana-common-dev
variables:
- 'CHECKERS="
@@ -68,6 +71,16 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+before_scripts:
+ - cd ${START_DIR}
+ - if [ ! -d libayatana-common-build ]; then
+ - git clone --depth 1 https://github.com/AyatanaIndicators/libayatana-common.git libayatana-common-build
+ - fi
+ - cd libayatana-common-build
+ - cmake . -DCMAKE_INSTALL_PREFIX=/usr
+ - make
+ - make install
+
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- export CFLAGS+=" -Wsign-compare -Wunused-parameter"
@@ -78,7 +91,7 @@ build_scripts:
- NOCONFIGURE=1 ./autogen.sh
- scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum
- elif [ -e ./CMakeLists.txt ]; then
- - if [ ${DISTRO_NAME} == "debian" ];then
+ - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then
- scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON
- else
- scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON
@@ -104,7 +117,7 @@ build_scripts:
#after_scripts:
# - if [ ${BUILD_TYPE} == "scripts" ];then
# - XVFB_RUN="$(which xvfb-run || true)"
-# - if [ ${DISTRO_NAME} == "debian" ];then
+# - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then
# - if [ -e ./autogen.sh ]; then
# - ${XVFB_RUN} make check
# - elif [ -e ./CMakeLists.txt ]; then