From 20964d04cca88f74716a253e07faccc598a0efde Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 31 Jul 2017 20:30:22 +0200 Subject: [PATCH] New package: xorriso This is an ISO creation and burning tool. Burning most likely won't work on Android without root even if device is connected to a burner but it's useful to be able to create ISOs. --- packages/xorriso/build.sh | 12 ++++++++++++ packages/xorriso/pthread.patch | 23 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 packages/xorriso/build.sh create mode 100644 packages/xorriso/pthread.patch diff --git a/packages/xorriso/build.sh b/packages/xorriso/build.sh new file mode 100644 index 000000000..562c94767 --- /dev/null +++ b/packages/xorriso/build.sh @@ -0,0 +1,12 @@ +TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/xorriso +TERMUX_PKG_DESCRIPTION="Tool for creating ISO files." +TERMUX_PKG_VERSION=1.4.7 +TERMUX_PKG_SRCURL=https://www.gnu.org/software/xorriso/xorriso-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=b54997b71b979768b19ddc38ff15d773ce44cf449e63fb453e20be9d687d396a +TERMUX_PKG_DEPENDS="iconv, libandroid-support" +TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-jtethreads" + +termux_step_pre_configure() { + LDFLAGS+=" -landroid-support" +} diff --git a/packages/xorriso/pthread.patch b/packages/xorriso/pthread.patch new file mode 100644 index 000000000..4f2386d17 --- /dev/null +++ b/packages/xorriso/pthread.patch @@ -0,0 +1,23 @@ +diff -ur src-o/configure src/configure +--- src-o/configure 2017-07-31 04:44:24.215397674 +0200 ++++ src/configure 2017-07-31 04:45:19.667222873 +0200 +@@ -12719,7 +12719,7 @@ + fi + + +-THREAD_LIBS=-lpthread ++THREAD_LIBS= + + + +diff -ur src-o/configure.ac src/configure.ac +--- src-o/configure.ac 2017-07-31 04:44:24.215397674 +0200 ++++ src/configure.ac 2017-07-31 04:44:40.903346135 +0200 +@@ -113,7 +113,7 @@ + , + [#include ]) + +-THREAD_LIBS=-lpthread ++THREAD_LIBS= + AC_SUBST(THREAD_LIBS) +