diff --git a/packages/gmic/build.sh b/packages/gmic/build.sh index 1ead78528..e10127bf2 100644 --- a/packages/gmic/build.sh +++ b/packages/gmic/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://gmic.eu TERMUX_PKG_DESCRIPTION="Full-featured framework for image processing" TERMUX_PKG_LICENSE="CeCILL-2.1" TERMUX_PKG_VERSION=2.4.5 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SHA256=e87efa20abdedf5e0000c490669d76c8a8d16a9fafa27bc9e31b79b5cbc3277f TERMUX_PKG_SRCURL=https://gmic.eu/files/source/gmic_$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_DEPENDS="graphicsmagick++, libcurl, fftw, libpng, libjpeg-turbo, libtiff" diff --git a/packages/gmic/makefile.patch b/packages/gmic/makefile.patch index 92b58c9e7..8d3b34454 100644 --- a/packages/gmic/makefile.patch +++ b/packages/gmic/makefile.patch @@ -47,7 +47,7 @@ diff -u -r ../gmic-2.2.3/src/Makefile ./src/Makefile cli: - $(MAKE) "CFLAGS+=$(GMIC_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(GMIC_CLI_LIBS)" _cli - $(STRIP) gmic$(EXE) -+ $(MAKE) "CFLAGS+= $(CXXFLAGS) $(GMIC_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(GMIC_CLI_LIBS)" _cli ++ $(MAKE) "CFLAGS+= $(CXXFLAGS) $(LDFLAGS) $(GMIC_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(GMIC_CLI_LIBS)" _cli debug: $(MAKE) "CFLAGS+=$(GMIC_CLI_CFLAGS) $(DEBUG_CFLAGS)" "LIBS+=$(GMIC_CLI_LIBS)" _cli