Add script and config file to run weston simply.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
export XDG_RUNTIME_DIR=/root
|
||||
export LANG="en_US.UTF-8"
|
||||
export XCOMPOSEFILE=/root/.config/XCompose
|
||||
weston --tty=1
|
||||
@@ -0,0 +1,9 @@
|
||||
[core]
|
||||
shell=desktop-shell.so
|
||||
xwayland=false
|
||||
backend=drm-backend.so
|
||||
[shell]
|
||||
animation=zoom
|
||||
[keyboard]
|
||||
[output]
|
||||
mode=1920x1080
|
||||
@@ -164,4 +164,10 @@ else
|
||||
WESTON_CONF_OPTS += -Ddemo-clients=false
|
||||
endif
|
||||
|
||||
define WESTON_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0644 package/weston/weston.ini $(TARGET_DIR)/etc/xdg/weston/weston.ini
|
||||
$(INSTALL) -D -m 0644 package/weston/Compose $(TARGET_DIR)/root/.config/XCompose
|
||||
$(INSTALL) -D -m 0755 package/weston/run_weston.sh $(TARGET_DIR)/root/run_weston.sh
|
||||
endef
|
||||
|
||||
$(eval $(meson-package))
|
||||
|
||||
Reference in New Issue
Block a user