termux-packages/x11-packages/mtpaint/build.sh
Leonid Pliushch 964a12bc4b
mtpaint: depend on libwebp
%ci:reset-backlog
2022-04-18 14:35:48 +05:30

18 lines
962 B
Bash

TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/mtpaint/
TERMUX_PKG_DESCRIPTION="Simple paint program for creating icons and pixel based artwork"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=3.49.16
TERMUX_PKG_REVISION=1
_COMMIT=d4cc3e5a3e51b447b091c5623e221ce03f5ac6c8
TERMUX_PKG_SRCURL=https://github.com/wjaguar/mtPaint/archive/${_COMMIT}.zip
TERMUX_PKG_SHA256=30bbd72463d4cb871f4b78e4ff9a0cfc25ef27929518aa4b092035f1a6fb24f6
TERMUX_PKG_DEPENDS="atk, fontconfig, freetype, gdk-pixbuf, giflib, glib, gtk2, libandroid-glob, libandroid-shmem, libcairo-x, libjpeg-turbo, littlecms, pango-x, libpng, libtiff, libwebp, libx11, zlib"
TERMUX_PKG_RECOMMENDS="gifsicle"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=${TERMUX_PREFIX}/share/man man GIF jpeg tiff cflags lcms2"
termux_step_pre_configure() {
export LDFLAGS="${LDFLAGS} -landroid-glob -landroid-shmem"
}