termux-packages/x11-packages/mtpaint/build.sh

18 lines
974 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/mtpaint/
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DESCRIPTION="Simple paint program for creating icons and pixel based artwork"
TERMUX_PKG_LICENSE="GPL-3.0"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-11-22 00:46:40 +01:00
TERMUX_PKG_VERSION=3.50
2021-03-01 11:26:06 +01:00
TERMUX_PKG_REVISION=3
2020-11-22 00:46:40 +01:00
_COMMIT=5272e2b1e773c8e02ac3506b2d3bde82ad946b21
TERMUX_PKG_SRCURL=https://github.com/wjaguar/mtPaint/archive/${_COMMIT}.zip
2020-11-22 00:46:40 +01:00
TERMUX_PKG_SHA256=6ed73fc7ac18499c7e83c8077c85dfc0bf778f0663c051515da408e2fcfea512
TERMUX_PKG_DEPENDS="atk, fontconfig, freetype, gdk-pixbuf, giflib, glib, gtk2, libandroid-glob, libandroid-shmem, libcairo, libjpeg-turbo, littlecms, pango, libpng, libtiff, libwebp, libx11, zlib"
2018-09-10 00:42:26 +02:00
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() {
2020-12-11 15:36:00 +01:00
export LDFLAGS="${LDFLAGS} -Wl,--no-as-needed -landroid-glob -landroid-shmem"
2018-09-10 00:42:26 +02:00
}