]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
ImageMagick: Update to 7.1.0-56
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Dec 2022 16:22:20 +0000 (16:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Dec 2022 16:22:20 +0000 (16:22 +0000)
This patch compiles in support for a lot of stuff and drops a dependency
on librsvg.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
ImageMagick/ImageMagick.nm

index 92037ffc85bd3131ff04267ee72ad6838ed4f4f9..f240d11a72b3e8d345ea8c86c07a004ff80492a1 100644 (file)
@@ -4,12 +4,12 @@
 ###############################################################################
 
 name       = ImageMagick
-version    = 6.9.3
+version    = 7.1.0
+patchlevel = 56
 release    = 1
-patchlevel = 7
 
 groups     = Application/Multimedia
-url        = http://www.imagemagick.org/
+url        = https://www.imagemagick.org/
 license    = ImageMagick
 summary    = Command line programm to create and convert several image formats.
 
@@ -21,30 +21,60 @@ end
 
 thisapp    = %{name}-%{version}-%{patchlevel}
 
-source_dl  = ftp://ftp.ImageMagick.org/pub/%{name}/
+source_dl  = https://imagemagick.org/archive/releases/
 sources    = %{thisapp}.tar.xz
 
 build
        requires
+               bzip2-devel
+               fontconfig-devel
+               freetype-devel
+               ghostscript-devel
+               graphviz-devel
+               lcms2-devel
                libjpeg-devel
                libpng-devel
-               librsvg2-devel
                libtiff-devel
                libxml2-devel
+               pango-devel
+               xz-devel
+               zlib-devel
+               zstd-devel
        end
 
        configure_options += \
-               --sysconfdir=/etc \
                --enable-shared \
                --disable-static \
-               --with-threads
+               --with-threads \
+               --with-bzlib=yes \
+               --with-fontconfig=yes \
+               --with-freetype=yes \
+               --with-gslib=yes \
+               --with-gvc=yes \
+               --with-jpeg=yes \
+               --with-lcms=yes \
+               --with-lzma=yes \
+               --with-pango=yes \
+               --with-png=yes \
+               --with-tiff=yes \
+               --with-xml=yes \
+               --with-zlib=yes \
+               --with-zstd=yes
 end
 
 packages
        package %{name}
 
+       package %{name}-libs
+               template LIBS
+       end
+
        package %{name}-devel
                template DEVEL
+
+               requires
+                       ImageMagick-libs = %{thisver}
+               end
        end
 
        package %{name}-debuginfo