Browse Source

unrar: Update from 5.5.8 to 5.6.1

android-5
Fredrik Fornwall 7 years ago
parent
commit
b7a30454b7
  1. 8
      packages/unrar/build.sh
  2. 10
      packages/unrar/makefile.patch

8
packages/unrar/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.rarlab.com/
TERMUX_PKG_HOMEPAGE=https://www.rarlab.com/
TERMUX_PKG_DESCRIPTION="Tool for extracting files from .rar archives"
TERMUX_PKG_VERSION=5.5.8
TERMUX_PKG_SRCURL=http://www.rarlab.com/rar/unrarsrc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9b66e4353a9944bc140eb2a919ff99482dd548f858f5e296d809e8f7cdb2fcf4
TERMUX_PKG_VERSION=5.6.1
TERMUX_PKG_SHA256=67c339dffa95f6c1bedcca40045e99de5852919dbfaa06e4a9c8f18cd5064e70
TERMUX_PKG_SRCURL=https://www.rarlab.com/rar/unrarsrc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libandroid-support,readline"
TERMUX_PKG_BUILD_IN_SRC=yes

10
packages/unrar/makefile.patch

@ -1,15 +1,15 @@
diff -uNr unrar/makefile unrar.mod/makefile
--- unrar/makefile 2017-06-13 14:04:49.000000000 +0300
+++ unrar.mod/makefile 2017-09-14 20:40:07.511902817 +0300
diff -u -r ../unrar/makefile ./makefile
--- ../unrar/makefile 2017-11-22 06:53:39.000000000 +0000
+++ ./makefile 2018-03-12 10:30:16.141557520 +0000
@@ -2,14 +2,15 @@
# Makefile for UNIX - unrar
# Linux using GCC
-CXX=c++
-CXXFLAGS=-O2
-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
-LIBFLAGS=-fPIC
+CXX?=c++
+CXXFLAGS?=-O2
+CXXFLAGS?=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+LIBFLAGS=$(LDFLAGS)
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
-STRIP=strip

Loading…
Cancel
Save