2017-12-05 22:33:04 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://gmic.eu
|
|
|
|
TERMUX_PKG_DESCRIPTION="Full-featured framework for image processing"
|
2019-01-21 15:00:12 +01:00
|
|
|
TERMUX_PKG_LICENSE="CeCILL-2.1"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-07-16 21:06:38 +02:00
|
|
|
TERMUX_PKG_VERSION=2.9.8
|
2021-10-22 10:01:24 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2017-12-05 22:33:04 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://gmic.eu/files/source/gmic_$TERMUX_PKG_VERSION.tar.gz
|
2021-07-16 21:06:38 +02:00
|
|
|
TERMUX_PKG_SHA256=18d6bbc731ae3b4da8a656ac189476793b111a9dd19f72db2312f074df7cdc82
|
2019-06-19 20:34:52 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, libcurl, fftw, libpng, libjpeg-turbo, libtiff, zlib"
|
2019-05-10 18:39:24 +02:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="graphicsmagick"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-10-14 23:33:02 +02:00
|
|
|
|
|
|
|
termux_step_configure() {
|
2017-08-10 02:50:42 +02:00
|
|
|
return 0;
|
|
|
|
}
|
2017-10-14 23:33:02 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make() {
|
2017-08-10 02:50:42 +02:00
|
|
|
cd src/
|
2019-05-10 18:39:24 +02:00
|
|
|
make USR="$TERMUX_PREFIX" STRIP="$STRIP" \
|
2019-05-14 03:40:44 +02:00
|
|
|
CFLAGS="$CXXFLAGS" LIBS="$LDFLAGS" cli
|
2017-08-10 02:50:42 +02:00
|
|
|
}
|
2017-10-14 23:33:02 +02:00
|
|
|
|
2017-08-10 02:50:42 +02:00
|
|
|
termux_step_make_install() {
|
2019-05-10 18:39:24 +02:00
|
|
|
cp src/gmic $TERMUX_PREFIX/bin/
|
|
|
|
cp src/gmic-gm $TERMUX_PREFIX/bin/
|
|
|
|
cp man/gmic.1.gz $TERMUX_PREFIX/share/man/man1/
|
|
|
|
cp man/gmic.1.gz $TERMUX_PREFIX/share/man/man1/gmic-gm.1.gz
|
2017-08-10 02:50:42 +02:00
|
|
|
}
|
|
|
|
|