Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "OpenPrinting printer support - filters" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 2 | HOMEPAGE = "https://wiki.linuxfoundation.org/openprinting/start" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 3 | DESCRIPTION = "Foomatic is a printer database designed to make it easier to set up \ |
| 4 | common printers for use with UNIX-like operating systems.\ |
| 5 | It provides the "glue" between a print spooler (like CUPS or lpr) and \ |
| 6 | the printer, by processing files sent to the printer. \ |
| 7 | \ |
| 8 | This package consists of filters used by the printer spoolers \ |
| 9 | to convert the incoming PostScript data into the printer's native \ |
| 10 | format using a printer-specific, but spooler-independent PPD file. \ |
| 11 | " |
| 12 | |
| 13 | DEPENDS += "cups perl libxml2" |
| 14 | PR = "r1" |
| 15 | |
| 16 | LICENSE = "GPLv2+" |
| 17 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" |
| 18 | |
| 19 | SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz" |
| 20 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 21 | SRC_URI += "file://CVE-2015-8560.patch \ |
| 22 | file://CVE-2015-8327.patch \ |
| 23 | " |
| 24 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896" |
| 26 | SRC_URI[sha256sum] = "a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3" |
| 27 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 28 | UPSTREAM_CHECK_REGEX = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz" |
| 29 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | inherit autotools pkgconfig |
| 31 | |
| 32 | EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops" |
| 33 | |
| 34 | do_configure_prepend() { |
| 35 | export PERL="${bindir}/env perl" |
| 36 | export CUPS_SERVERBIN=${exec_prefix}/lib/cups # /usr/lib NOT libdir |
| 37 | } |
| 38 | |
| 39 | do_install_append_linuxstdbase() { |
| 40 | install -d ${D}${exec_prefix}/lib/cups/filter |
| 41 | ln -sf ${bindir}/foomatic-rip ${D}${exec_prefix}/lib/cups/filter |
| 42 | } |
| 43 | |
| 44 | FILES_${PN} += "${exec_prefix}/lib/cups/ ${exec_prefix}/lib/ppr/" |