2014-05-05 15:18:48 +00:00
|
|
|
# Template file for 'GraphicsMagick'
|
|
|
|
pkgname=GraphicsMagick
|
2015-03-02 07:53:42 +00:00
|
|
|
version=1.3.21
|
2014-11-23 13:22:20 +00:00
|
|
|
revision=1
|
2015-03-02 07:53:42 +00:00
|
|
|
keep_libtool_archives=yes
|
2014-05-05 15:18:48 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-quantum-depth=16 --with-gs-font-dir=/usr/share/fonts/Type1
|
2015-03-02 07:53:42 +00:00
|
|
|
--with-modules --with-perl --without-lcms --without-jp2 --enable-shared --disable-static"
|
2015-03-27 09:50:40 +00:00
|
|
|
hostmakedepends="pkg-config perl"
|
|
|
|
makedepends="perl libjpeg-turbo-devel libpng-devel tiff-devel
|
|
|
|
lcms2-devel freetype-devel libwebp-devel fontconfig-devel libXext-devel
|
2014-05-05 15:18:48 +00:00
|
|
|
libXt-devel libltdl-devel libxml2-devel libwmf-devel liblzma-devel libgomp-devel
|
|
|
|
ghostscript-devel"
|
2014-09-15 15:32:57 +00:00
|
|
|
depends="ghostscript"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-03-02 07:53:42 +00:00
|
|
|
homepage="http://www.graphicsmagick.org/"
|
|
|
|
license="MIT"
|
|
|
|
short_desc="GraphicsMagick Image Processing System - Q16 Version"
|
2014-05-05 15:18:48 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/graphicsmagick/${version}/${pkgname}-${version}.tar.gz"
|
2015-03-02 07:53:42 +00:00
|
|
|
checksum=84ddfa0c1b5bf47db8d7d2937d4ac2fdce5e45acfd7d8a5e6a2387162312c394
|
2014-05-05 15:18:48 +00:00
|
|
|
|
|
|
|
libgraphicsmagick_package() {
|
|
|
|
short_desc="GraphicsMagick low-level image manipulation libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libGraphicsMagick*.so.*"
|
|
|
|
vmove "usr/lib/GraphicsMagick*"
|
|
|
|
vmove "usr/share/GraphicsMagick*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libgraphicsmagick-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2014-05-06 07:38:01 +00:00
|
|
|
depends="libgraphicsmagick>=${version}_${revision}"
|
2014-05-05 15:18:48 +00:00
|
|
|
pkg_install() {
|
2014-05-06 07:38:01 +00:00
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove "usr/bin/*-config"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.la"
|
|
|
|
vmove "usr/share/man/man1/*-config.1"
|
|
|
|
vcopy ${wrksrc}/PerlMagick usr/share/doc/GraphicsMagick*/
|
2014-05-05 15:18:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install(){
|
|
|
|
# license
|
2015-03-02 07:53:42 +00:00
|
|
|
vlicense ${wrksrc}/Copyright.txt LICENSE
|
2014-05-06 07:38:01 +00:00
|
|
|
}
|