|
|
@ -1,7 +1,7 @@ |
|
|
|
termux_setup_meson() { |
|
|
|
termux_setup_ninja |
|
|
|
local MESON_VERSION=0.49.2 |
|
|
|
local MESON_FOLDER=$TERMUX_COMMON_CACHEDIR/meson-$MESON_VERSION-v2 |
|
|
|
local MESON_VERSION=0.50.1 |
|
|
|
local MESON_FOLDER=$TERMUX_COMMON_CACHEDIR/meson-$MESON_VERSION-v1 |
|
|
|
if [ ! -d "$MESON_FOLDER" ]; then |
|
|
|
local MESON_TAR_NAME=meson-$MESON_VERSION.tar.gz |
|
|
|
local MESON_TAR_FILE=$TERMUX_PKG_TMPDIR/$MESON_TAR_NAME |
|
|
@ -9,7 +9,7 @@ termux_setup_meson() { |
|
|
|
termux_download \ |
|
|
|
"https://github.com/mesonbuild/meson/releases/download/$MESON_VERSION/meson-$MESON_VERSION.tar.gz" \ |
|
|
|
"$MESON_TAR_FILE" \ |
|
|
|
ef9f14326ec1e30d3ba1a26df0f92826ede5a79255ad723af78a2691c37109fd |
|
|
|
f68f56d60c80a77df8fc08fa1016bc5831605d4717b622c96212573271e14ecc |
|
|
|
tar xf "$MESON_TAR_FILE" -C "$TERMUX_PKG_TMPDIR" |
|
|
|
# Avoid meson stripping away DT_RUNPATH, see |
|
|
|
# (https://github.com/NetBSD/pkgsrc/commit/2fb2c013715a6374b4e2d1f8e9f2143e827f0f64 |
|
|
|