Update meson version used from 0.41.2 to 0.42.0
This commit is contained in:
parent
69fdb1f0f2
commit
f63f336943
@ -106,7 +106,7 @@ termux_setup_ninja() {
|
|||||||
# Utility function for cmake-built packages to setup a current meson.
|
# Utility function for cmake-built packages to setup a current meson.
|
||||||
termux_setup_meson() {
|
termux_setup_meson() {
|
||||||
termux_setup_ninja
|
termux_setup_ninja
|
||||||
local MESON_VERSION=0.41.2
|
local MESON_VERSION=0.42.0
|
||||||
local MESON_FOLDER=$TERMUX_COMMON_CACHEDIR/meson-$MESON_VERSION
|
local MESON_FOLDER=$TERMUX_COMMON_CACHEDIR/meson-$MESON_VERSION
|
||||||
if [ ! -d "$MESON_FOLDER" ]; then
|
if [ ! -d "$MESON_FOLDER" ]; then
|
||||||
local MESON_TAR_NAME=meson-$MESON_VERSION.tar.gz
|
local MESON_TAR_NAME=meson-$MESON_VERSION.tar.gz
|
||||||
@ -114,7 +114,7 @@ termux_setup_meson() {
|
|||||||
termux_download \
|
termux_download \
|
||||||
https://github.com/mesonbuild/meson/releases/download/$MESON_VERSION/meson-$MESON_VERSION.tar.gz \
|
https://github.com/mesonbuild/meson/releases/download/$MESON_VERSION/meson-$MESON_VERSION.tar.gz \
|
||||||
$MESON_TAR_FILE \
|
$MESON_TAR_FILE \
|
||||||
074dd24fd068be0893e2e45bcc35c919d8e12777e9d6a7efdf72d4dc300867ca
|
a74c7387a3dd8171e931bcd948355f7f9529368eae72c3c22a9beef6c2e73498
|
||||||
tar xf "$MESON_TAR_FILE" -C "$TERMUX_COMMON_CACHEDIR"
|
tar xf "$MESON_TAR_FILE" -C "$TERMUX_COMMON_CACHEDIR"
|
||||||
(cd $MESON_FOLDER && patch -p1 < $TERMUX_SCRIPTDIR/scripts/meson-android.patch)
|
(cd $MESON_FOLDER && patch -p1 < $TERMUX_SCRIPTDIR/scripts/meson-android.patch)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user