distribution/packages/graphics/imagemagick/package.mk

31 lines
1.1 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2022-02-05 14:23:32 +00:00
PKG_NAME="imagemagick"
PKG_VERSION="58d86e4"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="http://www.imagemagick.org/script/license.php"
PKG_SITE="https://github.com/ImageMagick/ImageMagick"
PKG_URL="${PKG_SITE}.git"
2023-04-23 19:58:11 +00:00
PKG_DEPENDS_TARGET="toolchain libpng libjpeg-turbo fontconfig libraw lcms2 libtool libxml2 libzip"
2022-02-05 14:23:32 +00:00
PKG_LONGDESC="Software suite to create, edit, compose, or convert bitmap images"
PKG_CONFIGURE_OPTS_TARGET="--disable-openmp \
--enable-static \
--disable-shared \
2022-02-05 14:23:32 +00:00
--with-pango=no \
--with-utilities=yes \
--with-x=no"
if [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_DEPENDS_TARGET+=" libXext pango"
PKG_CONFIGURE_OPTS_TARGET+=" --with-x=yes"
else
PKG_CONFIGURE_OPTS_TARGET+=" --with-x=no"
fi
2022-02-05 14:23:32 +00:00
makeinstall_target() {
make install DESTDIR=${INSTALL} ${PKG_MAKEINSTALL_OPTS_TARGET}
rm ${INSTALL}/usr/bin/*config
2022-02-05 14:23:32 +00:00
}