Browse Source

aria2: Update from 1.26.1 to 1.27.1

android-5
Fredrik Fornwall 8 years ago
parent
commit
e94db04e8f
  1. 24
      packages/aria2/Makefile.am.patch
  2. 4
      packages/aria2/build.sh

24
packages/aria2/Makefile.am.patch

@ -1,24 +0,0 @@
diff -u -r ../aria2-1.19.3/src/Makefile.am ./src/Makefile.am
--- ../aria2-1.19.3/src/Makefile.am 2015-12-06 08:59:48.000000000 -0500
+++ ./src/Makefile.am 2015-12-17 09:25:37.002930095 -0500
@@ -275,20 +275,6 @@
SRCS += android/android.c
endif # ANDROID
-# Android NDK R8e does not provide ftruncate64. Use assembly code from
-# android source code and link it.
-if ANDROID_ARM
-SRCS += android/arm-ftruncate64.S
-endif # ANDROID_ARM
-
-if ANDROID_MIPS
-SRCS += android/mips-ftruncate64.S
-endif # ANDROID_MIPS
-
-if ANDROID_X86
-SRCS += android/x86-ftruncate64.S android/x86-asm.h
-endif # ANDROID_X86
-
if MINGW_BUILD
SRCS += WinConsoleFile.cc WinConsoleFile.h
endif # MINGW_BUILD

4
packages/aria2/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://aria2.github.io
TERMUX_PKG_DESCRIPTION="Multi-protocol & multi-source command-line download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink"
TERMUX_PKG_VERSION=1.26.1
TERMUX_PKG_VERSION=1.27.1
TERMUX_PKG_SRCURL=https://github.com/aria2/aria2/releases/download/release-${TERMUX_PKG_VERSION}/aria2-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801
TERMUX_PKG_SHA256=c09627ef31602cfdfa7c9925a6c3b05fe7d2097d83f42dcfdef68664bd106f08
TERMUX_PKG_DEPENDS="c-ares, openssl, libxml2"
# sqlite3 is only used for loading cookies from firefox or chrome:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssl --without-gnutls --without-libuv --without-sqlite3 ac_cv_search_getaddrinfo=no ac_cv_func_getaddrinfo=yes ac_cv_func_gettimeofday=yes ac_cv_func_sleep=yes ac_cv_func_usleep=yes ac_cv_func_basename=yes"

Loading…
Cancel
Save