aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb
blob: efcd1aab8a70f2de3da96cee1ba2dbdcaf4cda3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DESCRIPTION = "CUPS backends, filters, and other software"
HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=6d5b952b53dbe7752199903d082e5f07"

DEPENDS = "libcupsfilters libppd glib-2.0 poppler"

SRC_URI = " \
	https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
	file://fix-make-race.patch \
"
SRC_URI[sha256sum] = "b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8"

inherit autotools gettext pkgconfig github-releases

EXTRA_OECONF += " \
	--enable-imagefilters \
	--enable-ghostscript --with-gs-path=${bindir}/gs \
	--with-fontdir=${datadir}/fonts \
	--localstatedir=${localstatedir} \
"

PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}"
PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"

FILES:${PN} += "${datadir}"
FILES:${PN}-dev += "${datadir}/ppdc"

RDEPENDS:${PN} += "bash"
RDEPENDS:${PN} += "ghostscript"