bump version to 2022.02.9

add miyoo_defconfig
This commit is contained in:
tiopex
2023-01-31 13:11:45 +01:00
parent 1fa746c353
commit dcdaa3599c
8423 changed files with 184305 additions and 91107 deletions

23
package/seatd/Config.in Normal file
View File

@@ -0,0 +1,23 @@
menuconfig BR2_PACKAGE_SEATD
bool "seatd"
select BR2_PACKAGE_SEATD_BUILTIN \
if !BR2_PACKAGE_SYSTEMD_LOGIND && !BR2_PACKAGE_SEATD_DAEMON
help
Seat management daemon and support library.
https://git.sr.ht/~kennylevinsen/seatd
if BR2_PACKAGE_SEATD
config BR2_PACKAGE_SEATD_BUILTIN
bool "builtin backend"
help
Builtin in-process seatd implementation inside libseat.
config BR2_PACKAGE_SEATD_DAEMON
bool "seatd daemon"
depends on BR2_USE_MMU # fork()
help
Build the seatd daemon and support for it inside libseat.
endif

46
package/seatd/S70seatd Executable file
View File

@@ -0,0 +1,46 @@
#! /bin/sh
DAEMON="seatd"
DAEMON_EXE="/usr/bin/${DAEMON}"
PIDFILE="/run/${DAEMON}.pid"
start() {
printf 'Starting %s: ' "${DAEMON}"
start-stop-daemon -S -x "${DAEMON_EXE}" -p "${PIDFILE}" -m -b -- -g video
status=$?
if [ "$status" -eq 0 ]; then
echo OK
else
echo FAIL
fi
return "$status"
}
stop() {
printf 'Stopping %s: ' "${DAEMON}"
start-stop-daemon -K -x "${DAEMON_EXE}" -p "${PIDFILE}"
status=$?
if [ "$status" -eq 0 ]; then
echo OK
else
echo FAIL
fi
return "$status"
}
restart() {
stop
sleep 1
start
}
case "${1}" in
start|stop|restart)
"${1}";;
reload)
restart;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac

5
package/seatd/seatd.hash Normal file
View File

@@ -0,0 +1,5 @@
# Calculated locally
sha256 3d4ac288114219ba7721239cafee7bfbeb7cf8e1e7fd653602a369e4ad050bd8 0.6.4.tar.gz
# License files
sha256 282a494803d666616bd726e0279636b5f6a31387ae19a707459074050f2600d3 LICENSE

53
package/seatd/seatd.mk Normal file
View File

@@ -0,0 +1,53 @@
################################################################################
#
# seatd
#
################################################################################
SEATD_VERSION = 0.6.4
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=enabled
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))