kumquat-buildroot/package/seatd/seatd.mk
Adrian Perez de Castro da643b87eb package/seatd: bump to version 0.7.0
Update seatd to version 0.7.0, which includes a flurry of small fixes
and removes usage of the SEATD_SOCK and SEATD_LOGLEVEL environment
variables (the latter replaced by a command line switch).

Release notes: https://git.sr.ht/~kennylevinsen/seatd/refs/0.7.0

The -Dlibseat-logind= option now needs the "systemd" value when the
logind backend is systemd-logind, this patch adapts usage of the build
option accordingly.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-06-02 16:01:25 +02:00

54 lines
1.3 KiB
Makefile

################################################################################
#
# seatd
#
################################################################################
SEATD_VERSION = 0.7.0
SEATD_SOURCE = $(SEATD_VERSION).tar.gz
SEATD_SITE = https://git.sr.ht/~kennylevinsen/seatd/archive
SEATD_LICENSE = MIT
SEATD_LICENSE_FILES = LICENSE
SEATD_INSTALL_STAGING = YES
SEATD_CONF_OPTS += \
-Dman-pages=disabled \
-Dexamples=disabled \
-Dwerror=false
ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
SEATD_CONF_OPTS += -Dlibseat-logind=systemd
SEATD_DEPENDENCIES += systemd
else
SEATD_CONF_OPTS += -Dlibseat-logind=disabled
endif
ifeq ($(BR2_PACKAGE_SEATD_BUILTIN),y)
SEATD_CONF_OPTS += -Dlibseat-builtin=enabled
else
SEATD_CONF_OPTS += -Dlibseat-builtin=disabled
endif
ifeq ($(BR2_PACKAGE_SEATD_DAEMON),y)
SEATD_CONF_OPTS += -Dlibseat-seatd=enabled -Dserver=enabled
define SEATD_USERS
- - video -1 - - - - -
endef
define SEATD_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D $(SEATD_PKGDIR)/S70seatd \
$(TARGET_DIR)/etc/init.d/S70seatd
endef
define SEATD_INSTALL_INIT_SYSTEMD
$(INSTALL) -m 0644 -D $(@D)/contrib/systemd/seatd.service \
$(TARGET_DIR)/usr/lib/systemd/system/seatd.service
endef
else
SEATD_CONF_OPTS += -Dlibseat-seatd=disabled -Dserver=disabled
endif
$(eval $(meson-package))