Browse Source

termux-am: Update to v0.2

* Upstreamed unset LD_PRELOAD
* Added Android 5 support
android-5
Michał Bednarski 7 years ago
committed by Fredrik Fornwall
parent
commit
62c5c59a95
  1. 5
      packages/termux-am/build.sh
  2. 9
      packages/termux-am/unset-LD_PRELOAD.patch

5
packages/termux-am/build.sh

@ -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

9
packages/termux-am/unset-LD_PRELOAD.patch

@ -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 "$@"
Loading…
Cancel
Save