feat: add photobooth-app package and overlay

This commit is contained in:
2026-11-06 23:13:37 +01:00
parent 4ad7ad7422
commit 550a49de23
5 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/sh
export SLINT_BACKEND=linuxkms
case "$1" in
start)
start-stop-daemon -S -b -m \
-p /run/winf-photobooth-app.pid \
-x /usr/bin/winf-photobooth-app \
>> /var/log/winf-photobooth-app.log 2>&1
;;
stop)
start-stop-daemon -K -p /run/winf-photobooth-app.pid
;;
restart)
"$0" stop
"$0" start
;;
esac

View File

@@ -0,0 +1,3 @@
#!/bin/bash
SLINT_BACKEND=linuxkms RUST_BACKTRACE=full /usr/bin/winf-photobooth-app 2>log

View File

@@ -2939,4 +2939,6 @@ menu "Text editors and viewers"
source "package/vim/Config.in"
endmenu
source "package/winf-photobooth/Config.in"
endmenu

View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_WINF_PHOTOBOOTH
bool "winf-photobooth"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HAS_LIBGBM
select BR2_PACKAGE_HOST_RUSTC
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_SEATD
select BR2_PACKAGE_LIBXKBCOMMON
select BR2_PACKAGE_LIBINPUT

View File

@@ -0,0 +1,8 @@
WINF_PHOTOBOOTH_VERSION = d0d2d0311bdd484e9c348888477de40e0178c509
WINF_PHOTOBOOTH_SITE = https://git.xn--k-0fa.se/mikee/winf-photobooth-app
WINF_PHOTOBOOTH_SITE_METHOD = git
WINF_PHOTOBOOTH_LICENSE = MIT
WINF_PHOTOBOOTH_DEPENDENCIES += fontconfig seatd libxkbcommon libinput libgbm host-pkgconf
$(eval $(cargo-package))