]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - ghostscript/ghostscript.nm
ghostscript: Update to 10.0.0
[people/pmueller/ipfire-3.x.git] / ghostscript / ghostscript.nm
CommitLineData
32a01e65 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
32a01e65
SS
4###############################################################################
5
802ea3af 6name = ghostscript
0139b9fb
MT
7version = 10.0.0
8release = 1
32a01e65 9
802ea3af 10groups = Applications/Printing
0139b9fb 11url = https://ghostscript.com
802ea3af
MT
12license = GPL
13summary = An interpreter for the PostScript language and for PDF.
32a01e65 14
802ea3af 15description
5e9ab5dd
MT
16 Ghostscript is a package of software that provides an interpreter
17 for the PostScript (TM) language, with the ability to convert PostScript
18 language files to many raster formats, view them on displays, and print
19 them on printers that don't have PostScript language capability built in.
20 It also contains an interpreter for Portable Document Format (PDF) files,
21 with the same abilities and has the ability to convert PostScript
22 language files to PDF (with some limitations) and vice versa.
23 A set of C procedures (the Ghostscript library) implements the
24 graphics and filtering (data compression / decompression / conversion)
25 capabilities that appear as primitive operations in the PostScript
26 language and in PDF.
802ea3af 27end
32a01e65 28
0139b9fb 29source_dl = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/
32a01e65 30
802ea3af 31build
5e9ab5dd 32 requires
3a6979a1 33 cups-devel >= 1.1.13
5e9ab5dd 34 dbus-devel
f0fb7011 35 expat-devel
3a6979a1 36 freetype-devel
0139b9fb 37 fontconfig-devel
5e9ab5dd 38 glib2-devel
2ae358a4 39 gnutls-devel
0139b9fb 40 jbig2dec-devel
3a6979a1 41 lcms2-devel >= 2.4
f0fb7011 42 libidn-devel
5e9ab5dd 43 libjpeg-devel
f0fb7011 44 libpng-devel
5e9ab5dd 45 libtiff-devel
5e9ab5dd 46 libxml2-devel
0139b9fb 47 openjpeg2-devel
5e9ab5dd
MT
48 unzip
49 zlib-devel
50 end
51
52 prepare_cmds
0139b9fb
MT
53 # Remove shipped source code
54 rm -rvf tesseract leptonica
55 rm -rvf cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
56 rm -rvf gpdl
57 rm -rvf Resource/CMap
5e9ab5dd
MT
58 end
59
802ea3af 60 configure_options += \
5e9ab5dd 61 --with-drivers=ALL \
0139b9fb
MT
62 --enable-fontconfig \
63 --enable-freetype \
64 --enable-openjpeg \
5e9ab5dd 65 --with-system-libtiff \
0139b9fb
MT
66 --with-libpaper \
67 --disable-compile-inits \
68 --without-versioned-path \
69 --without-ijs
802ea3af
MT
70end
71
72packages
73 package %{name}
5e9ab5dd
MT
74
75 package %{name}-devel
76 template DEVEL
802ea3af 77 end
1f9bc2f0
MT
78
79 package %{name}-debuginfo
80 template DEBUGINFO
81 end
802ea3af 82end