mirror of
https://github.com/openwrt/video.git
synced 2025-12-21 17:04:37 +04:00
seatd: update to version 0.6.3
* add minimalistic init script to start service on boot Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
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
|
||||
@@ -27,6 +27,7 @@ define Package/libseat
|
||||
endef
|
||||
|
||||
define Package/libseat/description
|
||||
A universal seat management library.
|
||||
endef
|
||||
|
||||
define Package/seatd
|
||||
@@ -39,12 +40,13 @@ 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 \
|
||||
@@ -67,6 +69,8 @@ endef
|
||||
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))
|
||||
|
||||
13
libs/seatd/files/seatd.init
Normal file
13
libs/seatd/files/seatd.init
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=90
|
||||
STOP=10
|
||||
|
||||
USE_PROCD=1
|
||||
PROG=/usr/bin/seatd
|
||||
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command "$PROG"
|
||||
procd_close_instance
|
||||
}
|
||||
Reference in New Issue
Block a user