include $(TOPDIR)/rules.mk
PKG_NAME:=seatd
-PKG_VERSION:=0.5.0
+PKG_VERSION:=0.6.3
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://git.sr.ht/~kennylevinsen/seatd
PKG_SOURCE_VERSION:=$(PKG_VERSION)
-PKG_MIRROR_HASH:=9b899307e8717dc21735b02c80ebc91d6925c6bc5037f4a438d01258f472bc77
+PKG_MIRROR_HASH:=f3bcdf68b67ec48e637851031a839bff1835ca8462a03fa4f7556f431217af37
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT
endef
define Package/libseat/description
+ A universal seat management library.
endef
define Package/seatd
endef
define Package/seatd/description
+ A minimal seat management daemon.
endef
MESON_ARGS += \
- -Dlogind=disabled \
- -Dseatd=enabled \
- -Dbuiltin=disabled \
+ -Dlibseat-logind=disabled \
+ -Dlibseat-seatd=enabled \
+ -Dlibseat-builtin=disabled \
-Dserver=enabled \
-Dexamples=disabled \
-Dman-pages=disabled \
define Package/seatd/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/seatd $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./files/seatd.init $(1)/etc/init.d/seatd
endef
$(eval $(call BuildPackage,libseat))