feat: add photobooth-app package and overlay
This commit is contained in:
19
board/winf-photobooth/overlay/etc/init.d/S99photobooth
Executable file
19
board/winf-photobooth/overlay/etc/init.d/S99photobooth
Executable 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
|
||||||
3
board/winf-photobooth/overlay/root/run
Executable file
3
board/winf-photobooth/overlay/root/run
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SLINT_BACKEND=linuxkms RUST_BACKTRACE=full /usr/bin/winf-photobooth-app 2>log
|
||||||
@@ -2939,4 +2939,6 @@ menu "Text editors and viewers"
|
|||||||
source "package/vim/Config.in"
|
source "package/vim/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
source "package/winf-photobooth/Config.in"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|||||||
10
package/winf-photobooth/Config.in
Normal file
10
package/winf-photobooth/Config.in
Normal 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
|
||||||
8
package/winf-photobooth/winf-photobooth.mk
Normal file
8
package/winf-photobooth/winf-photobooth.mk
Normal 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))
|
||||||
Reference in New Issue
Block a user