3b2da40749
- Drop first patch (already in version)
- Drop second patch (rejected): cups-config is deprecated in favor of pkg-config
- Drop autoreconf (no more patches)
- intltool has been replaced by gettext since
e653c1a860
https://github.com/OpenPrinting/system-config-printer/blob/v1.5.18/NEWS
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# system-config-printer
|
|
#
|
|
################################################################################
|
|
|
|
SYSTEM_CONFIG_PRINTER_VERSION = 1.5.18
|
|
SYSTEM_CONFIG_PRINTER_SOURCE = system-config-printer-$(SYSTEM_CONFIG_PRINTER_VERSION).tar.xz
|
|
SYSTEM_CONFIG_PRINTER_SITE = https://github.com/OpenPrinting/system-config-printer/releases/download/v$(SYSTEM_CONFIG_PRINTER_VERSION)
|
|
SYSTEM_CONFIG_PRINTER_LICENSE = GPL-2.0+
|
|
SYSTEM_CONFIG_PRINTER_LICENSE_FILES = COPYING
|
|
SYSTEM_CONFIG_PRINTER_DEPENDENCIES = \
|
|
cups host-desktop-file-utils $(TARGET_NLS_DEPENDENCIES) host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
|
SYSTEM_CONFIG_PRINTER_DEPENDENCIES += libglib2
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_LIBUSB)$(BR2_PACKAGE_HAS_UDEV),yyy)
|
|
SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-udev-rules=yes
|
|
SYSTEM_CONFIG_PRINTER_DEPENDENCIES += libusb udev
|
|
else
|
|
SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-udev-rules=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
|
|
SYSTEM_CONFIG_PRINTER_DEPENDENCIES += systemd
|
|
else
|
|
SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-systemdsystemunitdir=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|