GraphicsMagick: add some makedepends to the -devel package.

These libraries are requested at link time when using
GraphicsMagick*-config programs, so they should be included in the
-devel package instead of being added to makedepends of all the other
packages.

Also shorten INSTALL.msg.
This commit is contained in:
Érico Rolim 2021-02-09 22:51:28 -03:00
parent 520be3a5de
commit cf0da56f37
2 changed files with 10 additions and 16 deletions

View File

@ -1,12 +1,4 @@
The libgraphicsmagick-devel package contain also:
- The documentation for GraphicsMagick found in:
/usr/share/doc/GraphicsMagick/www
- GraphicsMagick PERL extension.
To install this extension follow the instructions in:
The libgraphicsmagick-devel package contains the GraphicsMagick PERL
extension. To install this extension follow the instructions in:
/usr/share/doc/GraphicsMagick/PerlMagick/README.txt
The Void Linux Team

View File

@ -1,15 +1,17 @@
# Template file for 'GraphicsMagick'
pkgname=GraphicsMagick
version=1.3.35
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-quantum-depth=16 --with-gs-font-dir=/usr/share/fonts/Type1
--with-modules --with-perl --without-lcms --without-jp2 --enable-shared --disable-static"
hostmakedepends="pkg-config perl"
makedepends="perl libjpeg-turbo-devel libpng-devel tiff-devel
lcms2-devel freetype-devel libwebp-devel fontconfig-devel libXext-devel
libXt-devel libltdl-devel libxml2-devel libwmf-devel liblzma-devel libgomp-devel
ghostscript-devel"
# libraries listed in GraphicsMagick++-config --libs
_develdepends="lcms2-devel freetype-devel libXext-devel libSM-devel libICE-devel
libX11-devel liblzma-devel bzip2-devel zlib-devel libltdl-devel libgomp-devel"
makedepends="perl libjpeg-turbo-devel libpng-devel tiff-devel libwebp-devel
fontconfig-devel libXt-devel libxml2-devel libwmf-devel ghostscript-devel
${_develdepends}"
depends="ghostscript"
short_desc="GraphicsMagick Image Processing System"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -34,7 +36,7 @@ libgraphicsmagick_package() {
}
libgraphicsmagick-devel_package() {
short_desc="GraphicsMagick image manipulation libraries - development files"
depends="libgraphicsmagick>=${version}_${revision}"
depends="libgraphicsmagick>=${version}_${revision} ${_develdepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig