Commit 2320f6a3 authored by Olivier Schonken's avatar Olivier Schonken Committed by Peter Korsgaard
Browse files

package: add foomatic-filters



Foomatic is a database-driven system for integrating free software
printer drivers with common spoolers under Unix. It supports CUPS,
LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing
with every free software printer driver known to us and every
printer known to work with these drivers.

[Peter: minor whitespace fixes]
Signed-off-by: default avatarOlivier Schonken <olivier.schonken@gmail.com>
[yann.morin.1998@free.fr: space-damage, licensing terms, unneeded vars]
Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent c3e81888
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -645,6 +645,7 @@ source "package/connman/Config.in"
source "package/ctorrent/Config.in"
source "package/conntrack-tools/Config.in"
source "package/cups/Config.in"
source "package/foomatic-filters/Config.in"
source "package/hplip/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/dhcp/Config.in"
+18 −0
Original line number Diff line number Diff line
comment "foomatic-filters requires a toolchain with support for THREADS"
	depends on !BR2_TOOLCHAIN_HAS_THREADS

config BR2_PACKAGE_FOOMATIC_FILTERS
	bool "foomatic_filters"
	depends on BR2_PACKAGE_CUPS
	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
	select BR2_PACKAGE_LIBUSB
	select BR2_PACKAGE_ENSCRIPT
	help
	  Foomatic Filters
	  Foomatic is a database-driven system for integrating free software
	  printer drivers with common spoolers under Unix. It supports CUPS,
	  LPRng, LPD, GNUlpr, Solaris LP, PPR, PDQ, CPS, and direct printing
	  with every free software printer driver known to us and every
	  printer known to work with these drivers.

	  http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic
+22 −0
Original line number Diff line number Diff line
#############################################################
#
# foomatic_filters
#
#############################################################

FOOMATIC_FILTERS_VERSION = 4.0.17
FOOMATIC_FILTERS_SITE = http://www.openprinting.org/download/foomatic
FOOMATIC_FILTERS_LICENSE = GPLv2+
FOOMATIC_FILTERS_LICENSE_FILES = COPYING
FOOMATIC_FILTERS_DEPENDENCIES = cups libusb enscript

FOOMATIC_FILTERS_CONF_OPT = --with-file-converter=enscript

ifeq ($(BR2_PACKAGE_DBUS),y)
FOOMATIC_FILTERS_CONF_OPT += --enable-dbus
FOOMATIC_FILTERS_DEPENDENCIES += dbus
else
FOOMATIC_FILTERS_CONF_OPT += --disable-dbus
endif

$(eval $(autotools-package))