Browse Source

build debian11, attempt to fix windows build

before_cleanup
Alexandros Theodotou 3 years ago
parent
commit
8f0b207957
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 4
      PKGBUILD-w10.in
  2. 4
      installer.sh.in
  3. 2
      tools/gen_installer.sh

4
PKGBUILD-w10.in

@ -27,7 +27,6 @@ depends=("${MINGW_PACKAGE_PREFIX}-gtk3" @@ -27,7 +27,6 @@ depends=("${MINGW_PACKAGE_PREFIX}-gtk3"
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-gettext"
"guile"
"${MINGW_PACKAGE_PREFIX}-meson"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-pkg-config"
"${MINGW_PACKAGE_PREFIX}-python3")
@ -50,7 +49,8 @@ build() { @@ -50,7 +49,8 @@ build() {
mkdir -p $_zrythm_builddir && cd $_zrythm_builddir
sed -i -e '94s/translator/"invalid"/' \
${srcdir}/zrythm-${pkgver}/scripts/gen-translators-list.scm
${MINGW_PREFIX}/bin/meson \
$meson_path \
--prefix= \
-Dsdl=enabled \
-Drtaudio=auto \
-Drtmidi=auto \

4
installer.sh.in

@ -37,6 +37,7 @@ fi @@ -37,6 +37,7 @@ fi
# ---- Detect debian based systems ----
debian_10_str="Debian GNU/Linux 10"
debian_11_str="Debian GNU/Linux 11"
ubuntu_18_04="Ubuntu 18.04"
ubuntu_19_10_str="Ubuntu 19.10"
ubuntu_20_04_str="Ubuntu 20.04"
@ -52,6 +53,9 @@ if [[ "$ID" = *"debian"* ]]; then @@ -52,6 +53,9 @@ if [[ "$ID" = *"debian"* ]]; then
if [[ "$VERSION_ID" = *"10"* ]]; then
echo "found $debian_10_str"
distro_identifier="debian10"
elif [[ "$VERSION_ID" = *"11"* ]]; then
echo "found $debian_11_str"
distro_identifier="debian11"
fi
fi

2
tools/gen_installer.sh

@ -12,7 +12,7 @@ zrythm_version=$1 @@ -12,7 +12,7 @@ zrythm_version=$1
installer_zip=$2
zplugins_version=$3
trial=$4
distros="archlinux debian10 ubuntu1804 ubuntu2004 ubuntu2010 fedora32"
distros="archlinux debian10 debian11 ubuntu1804 ubuntu2004 ubuntu2010 fedora32"
rm -rf $installer_zip

Loading…
Cancel
Save