xref: /buildroot/package/system-config-printer/system-config-printer.mk
  • Home
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • current directory
1################################################################################
2#
3# system-config-printer
4#
5################################################################################
6
7SYSTEM_CONFIG_PRINTER_VERSION = 1.5.18
8SYSTEM_CONFIG_PRINTER_SOURCE = system-config-printer-$(SYSTEM_CONFIG_PRINTER_VERSION).tar.xz
9SYSTEM_CONFIG_PRINTER_SITE = https://github.com/OpenPrinting/system-config-printer/releases/download/v$(SYSTEM_CONFIG_PRINTER_VERSION)
10SYSTEM_CONFIG_PRINTER_LICENSE = GPL-2.0+
11SYSTEM_CONFIG_PRINTER_LICENSE_FILES = COPYING
12SYSTEM_CONFIG_PRINTER_DEPENDENCIES = \
13	cups host-desktop-file-utils $(TARGET_NLS_DEPENDENCIES) host-pkgconf
14
15ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
16SYSTEM_CONFIG_PRINTER_DEPENDENCIES += libglib2
17endif
18
19ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_LIBUSB)$(BR2_PACKAGE_HAS_UDEV),yyy)
20SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-udev-rules=yes
21SYSTEM_CONFIG_PRINTER_DEPENDENCIES += libusb udev
22else
23SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-udev-rules=no
24endif
25
26ifeq ($(BR2_PACKAGE_SYSTEMD),y)
27SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
28SYSTEM_CONFIG_PRINTER_DEPENDENCIES += systemd
29else
30SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-systemdsystemunitdir=no
31endif
32
33$(eval $(autotools-package))
34

Last Index update Fri Aug 22 08:59:00 CST 2025