]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame_incremental - ghostscript/ghostscript.nm
ghostscript: Update to 10.0.0
[people/pmueller/ipfire-3.x.git] / ghostscript / ghostscript.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = ghostscript
7version = 10.0.0
8release = 1
9
10groups = Applications/Printing
11url = https://ghostscript.com
12license = GPL
13summary = An interpreter for the PostScript language and for PDF.
14
15description
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.
27end
28
29source_dl = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/
30
31build
32 requires
33 cups-devel >= 1.1.13
34 dbus-devel
35 expat-devel
36 freetype-devel
37 fontconfig-devel
38 glib2-devel
39 gnutls-devel
40 jbig2dec-devel
41 lcms2-devel >= 2.4
42 libidn-devel
43 libjpeg-devel
44 libpng-devel
45 libtiff-devel
46 libxml2-devel
47 openjpeg2-devel
48 unzip
49 zlib-devel
50 end
51
52 prepare_cmds
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
58 end
59
60 configure_options += \
61 --with-drivers=ALL \
62 --enable-fontconfig \
63 --enable-freetype \
64 --enable-openjpeg \
65 --with-system-libtiff \
66 --with-libpaper \
67 --disable-compile-inits \
68 --without-versioned-path \
69 --without-ijs
70end
71
72packages
73 package %{name}
74
75 package %{name}-devel
76 template DEVEL
77 end
78
79 package %{name}-debuginfo
80 template DEBUGINFO
81 end
82end