diff options
author | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2020-05-10 23:32:16 +0200 |
---|---|---|
committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2020-05-10 23:32:16 +0200 |
commit | 5333681a97d5d23b47a383f346019648337d7ba2 (patch) | |
tree | ede460d27f79bef8a877efd72076a867fa13cd22 /ci | |
parent | 2bd8cac01f4579d43bb2b420cf7e2a862b5f2315 (diff) | |
download | xfce4-dev-tools-5333681a97d5d23b47a383f346019648337d7ba2.tar.gz |
xfce-build: Build latest tags of all core libs
Diffstat (limited to 'ci')
-rw-r--r-- | ci/build_libs.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ci/build_libs.sh b/ci/build_libs.sh new file mode 100644 index 0000000..c3d7634 --- /dev/null +++ b/ci/build_libs.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash + +XFCE_BASE=https://gitlab.xfce.org + +AUTOGEN_OPTIONS="--disable-debug --enable-maintainer-mode --host=x86_64-linux-gnu \ + --build=x86_64-linux-gnu --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu \ + --libexecdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --localstatedir=/var --enable-gtk-doc" + +# (BUILD_TYPE BRANCH URL NAME) tuples: +REPOS=( "${XFCE_BASE}/xfce/libxfce4ui.git libxfce4ui") +REPOS+=("${XFCE_BASE}/xfce/libxfce4util.git libxfce4util") +REPOS+=("${XFCE_BASE}/xfce/exo.git exo") +REPOS+=("${XFCE_BASE}/xfce/xfce4-dev-tools.git xfce4-dev-tools") +REPOS+=("${XFCE_BASE}/xfce/xfce4-panel.git xfce4-panel") +REPOS+=("${XFCE_BASE}/xfce/garcon.git garcon") + +for tuple in "${REPOS[@]}"; do + set -- $tuple + URL=$1 + NAME=$2 + cd /git + git clone $URL + cd $NAME + TAG=$(git describe --abbrev=0 --match "$NAME*" 2>/dev/null) + echo "--- Building $NAME ($TAG) ---" + git checkout $TAG + ./autogen.sh $AUTOGEN_OPTIONS + make -j8 + make install + echo "$(pwd): $(git describe)" >> /git/xfce_build_version_info.txt +done |