dart: update to 2.10.0
This commit is contained in:
parent
6eaad9e8b2
commit
905c1ae3aa
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.dartlang.org/
|
||||
TERMUX_PKG_DESCRIPTION="Dart is a general-purpose programming language"
|
||||
TERMUX_PKG_LICENSE="BSD"
|
||||
TERMUX_PKG_LICENSE_FILE="sdk/LICENSE"
|
||||
TERMUX_PKG_VERSION=2.9.2
|
||||
TERMUX_PKG_VERSION=2.10.0
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
|
||||
@ -41,19 +41,19 @@ termux_step_make_install() {
|
||||
rm -f ./out/*/args.gn
|
||||
|
||||
if [ $TERMUX_ARCH = "arm" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --mode release --arch=arm --os=android create_sdk
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidARM/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidARM/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
elif [ $TERMUX_ARCH = "i686" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --mode release --arch=ia32 --os=android create_sdk
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=ia32 --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidIA32/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidIA32/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
elif [ $TERMUX_ARCH = "aarch64" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --mode release --arch=arm64 --os=android create_sdk
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=arm64 --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidARM64/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidARM64/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
elif [ $TERMUX_ARCH = "x86_64" ]; then
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --mode release --arch=x64 --os=android create_sdk
|
||||
DART_MAKE_PLATFORM_SDK=true python2 ./tools/build.py --no-goma --mode release --arch=x64 --os=android create_sdk
|
||||
chmod +x ./out/ReleaseAndroidX64/dart-sdk/bin/*
|
||||
cp -r ./out/ReleaseAndroidX64/dart-sdk ${TERMUX_PREFIX}/lib
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user