]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = ghostscript | |
7 | version = 10.0.0 | |
8 | release = 1 | |
9 | ||
10 | groups = Applications/Printing | |
11 | url = https://ghostscript.com | |
12 | license = GPL | |
13 | summary = An interpreter for the PostScript language and for PDF. | |
14 | ||
15 | description | |
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. | |
27 | end | |
28 | ||
29 | source_dl = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/ | |
30 | ||
31 | build | |
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 | |
70 | end | |
71 | ||
72 | packages | |
73 | package %{name} | |
74 | ||
75 | package %{name}-devel | |
76 | template DEVEL | |
77 | end | |
78 | ||
79 | package %{name}-debuginfo | |
80 | template DEBUGINFO | |
81 | end | |
82 | end |