From e1786423992c8e0381df7551cf99c620a2049343 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Sat, 23 Jun 2012 12:15:25 -0700 Subject: foomatic-filters: Upgrade to 4.0.16 (From OE-Core rev: 3d2a5cb06f54d31fdcab640a9b59d7398f63f70a) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../foomatic/foomatic-filters_4.0.16.bb | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb (limited to 'meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb') diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb new file mode 100644 index 0000000000..5f145b0681 --- /dev/null +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.16.bb @@ -0,0 +1,39 @@ +SUMMARY = "OpenPrinting printer support - filters" +DESCRIPTION = "Foomatic is a printer database designed to make it easier to set up \ +common printers for use with UNIX-like operating systems.\ +It provides the "glue" between a print spooler (like CUPS or lpr) and \ +the printer, by processing files sent to the printer. \ + \ +This package consists of filters used by the printer spoolers \ +to convert the incoming PostScript data into the printer's native \ +format using a printer-specific, but spooler-independent PPD file. \ +" + +DEPENDS += "cups perl libxml2" +PR = "r0" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" + +SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz" + +SRC_URI[md5sum] = "ec907d9ea17e03bccb91db66e9470586" +SRC_URI[sha256sum] = "bedc61466c284c8ea0ae95c97d51a873411c6c55338e67831893772465f5434d" + +inherit autotools + +EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops" + +do_configure_prepend() { + export LIB_CUPS=${exec_prefix}/lib/cups # /usr/lib NOT libdir + export CUPS_BACKENDS=${exec_prefix}/lib/cups/backend # /usr/lib NOT libdir + export CUPS_FILTERS=${exec_prefix}/lib/cups/filter # /usr/lib NOT libdir + export CUPS_PPDS=${datadir}/cups/model +} + +do_install_append_linuxstdbase() { + install -d ${D}${exec_prefix}/lib/cups/filter + ln -sf ${bindir}/foomatic-rip ${D}${exec_prefix}/lib/cups/filter +} + +FILES_${PN} += "${exec_prefix}/lib/cups/ ${exec_prefix}/lib/ppr/" -- cgit v1.2.3-54-g00ecf