xarchiver: force link with libandroid-shmem

Prevents "Bad system call" on Android 8.
This commit is contained in:
Leonid Pliushch 2019-02-07 03:31:40 +02:00 committed by Yaksh Bariya
parent 961f8ef0bf
commit 496806acd3
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 6 additions and 2 deletions

View File

@ -3,8 +3,12 @@ TERMUX_PKG_DESCRIPTION="GTK+ frontend to various command line archivers"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_VERSION=0.5.4.13
TERMUX_PKG_REVISION=5
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://github.com/ib/xarchiver/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=617154435731554b793ab00cc373d957c066dc29444c6189029299a89430776c
TERMUX_PKG_DEPENDS="binutils, bzip2, cpio, gtk3, gzip, lzip, lzop, p7zip, tar, unrar, unzip, xz-utils, zip, zstd"
TERMUX_PKG_DEPENDS="atk, binutils, bzip2, cpio, glib, gtk3, gzip, libandroid-shmem, libcairo-x, lzip, lzop, p7zip, tar, unrar, unzip, xz-utils, zip, zstd"
TERMUX_PKG_RM_AFTER_INSTALL="share/icons/hicolor/icon-theme.cache"
termux_step_pre_configure() {
export LIBS="-landroid-shmem"
}