diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-03-12 11:44:22 +0100 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-03-12 11:44:36 +0100 |
commit | de7ce169ef83be90c6c5d22f374e1702cba33ccc (patch) | |
tree | 299ea65a088cda82b7e463a7be6642ea96b93d71 /scripts | |
parent | Merge branch 'ubuntu2004' into 'master' (diff) | |
download | librewolf-debian-de7ce169ef83be90c6c5d22f374e1702cba33ccc.tar.gz librewolf-debian-de7ce169ef83be90c6c5d22f374e1702cba33ccc.tar.bz2 librewolf-debian-de7ce169ef83be90c6c5d22f374e1702cba33ccc.zip |
drop building on our end; simplify ci yml; allow distro specific prepare builds
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build-librewolf-dpkg.conf | 10 | ||||
-rwxr-xr-x | scripts/build-librewolf-dpkg.sh | 63 |
2 files changed, 0 insertions, 73 deletions
diff --git a/scripts/build-librewolf-dpkg.conf b/scripts/build-librewolf-dpkg.conf deleted file mode 100644 index efe9f26..0000000 --- a/scripts/build-librewolf-dpkg.conf +++ /dev/null @@ -1,10 +0,0 @@ -# Config file for prep-librewolf-dpkg.sh -# Configure these settings before running that script. - -debian_firefox_version=${debian_firefox_version:-'86.0-1'} # current version of Firefox package in Debian sid -pkgver=${pkgver:-'86.0'} -pkgrel=${pkgrel:-'1'} -firefox_version=${pkgver:-'86.0'} # current version of Firefox -settings_commit=${settings_commit:-'master'} -CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../)} -output_dir=${CI_PROJECT_DIR}/out diff --git a/scripts/build-librewolf-dpkg.sh b/scripts/build-librewolf-dpkg.sh deleted file mode 100755 index cd0eeb0..0000000 --- a/scripts/build-librewolf-dpkg.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash - -# Load settings -# basically, dot-source the conf file. -test -z "${librewolf_dpkg_conf}" && export librewolf_dpkg_conf="$( find "$( dirname "${0}" )" -maxdepth 2 -name "$( basename "${0%%.sh}.conf" )" -print 2>/dev/null | head -n1 )" -test ! -r "${librewolf_dpkg_conf}" && { echo "Unable to load config file, which should be named the same as this script but with a .conf ending. Aborted." 1>&2 ; exit 1 ; } -. "${librewolf_dpkg_conf}" - -work_dir=${CI_PROJECT_DIR}/prepared/ - -# Aborts the script upon any faliure -set -e; - -apt update -apt install -y \ -libx11-dev \ -libx11-xcb-dev \ -libxt-dev \ -libgtk-3-dev \ -libgtk2.0-dev \ -libglib2.0-dev \ -libdrm-dev \ -libstartup-notification0-dev \ -libjpeg-dev \ -zlib1g-dev \ -libreadline-dev \ -libnspr4-dev \ -libnss3-dev \ -libvpx-dev \ -libdbus-glib-1-dev \ -libffi-dev \ -libevent-dev \ -libpulse-dev \ -libasound2-dev \ -libjack-dev \ -yasm \ -nasm \ -llvm-dev \ -libclang-dev \ -clang \ -nodejs \ -zip \ -locales \ -xvfb \ -xfonts-base \ -ttf-bitstream-vera \ -fonts-freefont-ttf \ -fonts-dejima-mincho \ -git \ -wget \ -xz-utils \ -iso-codes \ -curl - -curl https://sh.rustup.rs -o rustup.sh -bash rustup.sh -y -source /root/.cargo/env -cargo install --version 0.17.0 cbindgen - -cd ${work_dir} -dpkg-source -x librewolf_${pkgver}-${pkgrel}.dsc ${output_dir} -cd ${output_dir} -dpkg-buildpackage -us -uc -d |