mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 04:36:40 +00:00
wayland: add background image
This commit is contained in:
parent
22f2ae8b8b
commit
d8601707f0
11
packages/other/wayland/conf.d/wayland
Normal file
11
packages/other/wayland/conf.d/wayland
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
################################################################################
|
||||||
|
# Wayland environment variables.
|
||||||
|
#
|
||||||
|
# This file contains non-OpenELEC evironment variables as well as OpenELEC
|
||||||
|
# evironment variables that are not user defined.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# Wayland background image
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
OE_WAYLAND_BACKGROUND=/usr/share/wayland/background.png
|
@ -20,5 +20,11 @@ cp -PR $PKG_BUILD/screenshot $INSTALL/usr/bin
|
|||||||
cp -PR $PKG_BUILD/terminal $INSTALL/usr/bin
|
cp -PR $PKG_BUILD/terminal $INSTALL/usr/bin
|
||||||
cp -PR $PKG_BUILD/wayland-system-compositor $INSTALL/usr/bin
|
cp -PR $PKG_BUILD/wayland-system-compositor $INSTALL/usr/bin
|
||||||
|
|
||||||
|
if [ -f $PROJECT_DIR/$PROJECT/background/background.png ]; then
|
||||||
|
mkdir -p $INSTALL/usr/share/wayland/
|
||||||
|
cp -PR $PROJECT_DIR/$PROJECT/background/background.png \
|
||||||
|
$INSTALL/usr/share/wayland/
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p $INSTALL/lib/udev/rules.d
|
mkdir -p $INSTALL/lib/udev/rules.d
|
||||||
cp -PR $PKG_BUILD/70-wayland.rules $INSTALL/lib/udev/rules.d
|
cp -PR $PKG_BUILD/70-wayland.rules $INSTALL/lib/udev/rules.d
|
||||||
|
BIN
projects/wayland/background/background.png
Normal file
BIN
projects/wayland/background/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 471 KiB |
Loading…
x
Reference in New Issue
Block a user