### this file is sourced not run
PKGVER=1.3.43
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=GraphicsMagick-$PKGVER.tar.xz
MD5SUM=ffcd558899aff408b9073c2d48539e22
SRC_URL=http://downloads.sourceforge.net/graphicsmagick/$TARBALL
BUNDLE=

SLACKREQ='freetype2 libjpeg-turbo lcms2 libpng libtiff libX11 libxml2
libwebp libheif libde265 libjasper' # libjbig compile-time only
SLACKDESC="graphicsmagick: graphicsmagick $PKGVER (Image converter)  
graphicsmagick:  
graphicsmagick: GraphicsMagick is the swiss army knife of image processing. 
graphicsmagick: It provides a robust and efficient collection of tools 
graphicsmagick: and libraries which support reading, writing, and 
graphicsmagick: manipulating an image in over 88 major formats including 
graphicsmagick: important formats like DPX, GIF, JPEG, JPEG-2000, PNG, 
graphicsmagick: PDF, PNM, and TIFF.
graphicsmagick:
graphicsmagick: http://www.graphicsmagick.org/
graphicsmagick: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS \
		--enable-shared   \
		--disable-static  \
		--with-quantum-depth=16 \
		--with-gs-font-dir=/usr/share/ghostscript/fonts \
		--with-jp2 \
	" &&
	#--with-modules # this doesn't work the last time we tried
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


