termux-am: Update to v0.2

* Upstreamed unset LD_PRELOAD
* Added Android 5 support
This commit is contained in:
Michał Bednarski 2018-02-05 18:34:18 +01:00 committed by Fredrik Fornwall
parent 294dc2f63f
commit 252b80dde6
2 changed files with 2 additions and 12 deletions

View File

@ -1,9 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://github.com/michalbednarski/TermuxAm TERMUX_PKG_HOMEPAGE=https://github.com/michalbednarski/TermuxAm
TERMUX_PKG_DESCRIPTION="Android Oreo-compatible am command reimplementation" TERMUX_PKG_DESCRIPTION="Android Oreo-compatible am command reimplementation"
TERMUX_PKG_MAINTAINER="Michal Bednarski @michalbednarski" TERMUX_PKG_MAINTAINER="Michal Bednarski @michalbednarski"
TERMUX_PKG_VERSION=0.1 TERMUX_PKG_VERSION=0.2
TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=bde5ca8a6778a8be99370b35453eca92c8283c2987016a3d8ea6eddbad0c3f0e
TERMUX_PKG_SHA256=ed5dcb526d2cabb12754e471f1284822e052550c3206421e1bb889684b97c7b8
TERMUX_PKG_SRCURL=https://github.com/michalbednarski/TermuxAm/archive/v$TERMUX_PKG_VERSION.zip TERMUX_PKG_SRCURL=https://github.com/michalbednarski/TermuxAm/archive/v$TERMUX_PKG_VERSION.zip
TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes

View File

@ -1,9 +0,0 @@
diff -u -r ../TermuxAm-0.1/am-libexec-packaged ./am-libexec-packaged
--- ../TermuxAm-0.1/am-libexec-packaged 2018-02-03 16:43:05.000000000 +0100
+++ ./am-libexec-packaged 2018-02-05 01:11:01.744982848 +0100
@@ -1,4 +1,4 @@
#!/data/data/com.termux/files/usr/bin/bash
export CLASSPATH=/data/data/com.termux/files/usr/libexec/termux-am/am.apk
-unset LD_LIBRARY_PATH
+unset LD_LIBRARY_PATH LD_PRELOAD
exec /system/bin/app_process / com.example.termuxam.Am "$@"