]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = ghostscript |
0139b9fb MT |
7 | version = 10.0.0 |
8 | release = 1 | |
32a01e65 | 9 | |
802ea3af | 10 | groups = Applications/Printing |
0139b9fb | 11 | url = https://ghostscript.com |
802ea3af MT |
12 | license = GPL |
13 | summary = An interpreter for the PostScript language and for PDF. | |
32a01e65 | 14 | |
802ea3af | 15 | description |
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 | 27 | end |
32a01e65 | 28 | |
0139b9fb | 29 | source_dl = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/ |
32a01e65 | 30 | |
802ea3af | 31 | build |
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 |
70 | end |
71 | ||
72 | packages | |
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 | 82 | end |