Browse Source

imgflo: Minor nits

android-5
Fredrik Fornwall 7 years ago
parent
commit
de53f385c2
  1. 2
      packages/imgflo/build.sh
  2. 2
      packages/imgflo/library.c.patch

2
packages/imgflo/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE="http://www.imgflo.org/" TERMUX_PKG_HOMEPAGE="http://www.imgflo.org/"
TERMUX_PKG_DESCRIPTION="HTTP image processing server & Flowhub.io compatible runtime" TERMUX_PKG_DESCRIPTION="HTTP image processing server & Flowhub.io compatible runtime"
TERMUX_PKG_VERSION=0.4.2 TERMUX_PKG_VERSION=0.4.2
TERMUX_PKG_SRCURL=https://github.com/imgflo/imgflo/archive/0.4.2.tar.gz TERMUX_PKG_SRCURL=https://github.com/imgflo/imgflo/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_FOLDERNAME=imgflo-$TERMUX_PKG_VERSION TERMUX_PKG_FOLDERNAME=imgflo-$TERMUX_PKG_VERSION
TERMUX_PKG_SHA256=4dd5fc9d34f3cfc294fd69a14d50ed5401abeb829132f1b1ac316e28223fc393 TERMUX_PKG_SHA256=4dd5fc9d34f3cfc294fd69a14d50ed5401abeb829132f1b1ac316e28223fc393
TERMUX_PKG_DEPENDS="gegl, libsoup" TERMUX_PKG_DEPENDS="gegl, libsoup"

2
packages/imgflo/library.c.patch

@ -12,7 +12,7 @@
GError *err = NULL; GError *err = NULL;
gchar **argv = g_new0(gchar *, 10); gchar **argv = g_new0(gchar *, 10);
- argv[0] = g_strdup("/usr/bin/env"); - argv[0] = g_strdup("/usr/bin/env");
+ argv[0] = g_strdup("/data/data/com.termux/files/usr/bin/env"); + argv[0] = g_strdup("@TERMUX_PREFIX@/bin/env");
argv[1] = g_strdup("make"); argv[1] = g_strdup("make");
argv[2] = g_strdup("component"); argv[2] = g_strdup("component");
argv[3] = g_strdup_printf("COMPONENT=%s", component); argv[3] = g_strdup_printf("COMPONENT=%s", component);

Loading…
Cancel
Save