kumquat-buildroot/package/seatd/seatd.mk
Fabrice Fontaine 464fb90793 package/seatd: disable -Werror
Disable -Werror to avoid the following build failure which is raised
since the addition of the package in commit
daae311490

../seatd/seat.c: In function 'seat_activate_device':
../seatd/seat.c:374:48: error: unused parameter 'client' [-Werror=unused-parameter]
  374 | static int seat_activate_device(struct client *client, struct seat_device *seat_device) {
      |                                 ~~~~~~~~~~~~~~~^~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/0ec925aab23d83c52684f5fea7a4395c93a674c4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-07-13 21:47:19 +02:00

54 lines
1.2 KiB
Makefile

################################################################################
#
# seatd
#
################################################################################
SEATD_VERSION = 0.5.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 += -Dlogind=enabled
SEATD_DEPENDENCIES += systemd
else
SEATD_CONF_OPTS += -Dlogind=disabled
endif
ifeq ($(BR2_PACKAGE_SEATD_BUILTIN),y)
SEATD_CONF_OPTS += -Dbuiltin=enabled
else
SEATD_CONF_OPTS += -Dbuiltin=disabled
endif
ifeq ($(BR2_PACKAGE_SEATD_DAEMON),y)
SEATD_CONF_OPTS += -Dseatd=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 += -Dseatd=disabled -Dserver=disabled
endif
$(eval $(meson-package))