In the beginning there was darkness

This commit is contained in:
Daniel Ziltener 2024-10-21 16:18:08 +02:00
parent 87d001fa03
commit f59a1ae2bb
Signed by: zilti
GPG key ID: B38976E82C9DAE42
5 changed files with 33 additions and 5 deletions

BIN
media/images/steamlink.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
media/images/stremio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -10,6 +10,16 @@ id = "retroarch"
image = "media/images/retroarch.png"
command = "flatpak run org.libretro.RetroArch"
[[launcher.entry]]
id = "steamlink"
image = "media/images/steamlink.png"
command = "flatpak run com.valvesoftware.SteamLink"
[[launcher.entry]]
id = "stremio"
image = "media/images/stremio.png"
command = "/home/zilti/stremio-shell/build/stremio"
[[launcher.entry]]
id = "update"
image = "media/images/update.png"

View file

@ -3,7 +3,8 @@ sudo apt update
sudo apt upgrade -y
sudo apt install -y chicken-bin libchicken-dev libchicken11 \
libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev \
flatpak xdg-desktop-portal vim unclutter
flatpak xdg-desktop-portal vim unclutter \
qemu-user-static
sudo systemctl enable bluetooth
blueman-tray &
@ -19,10 +20,10 @@ EOF
sudo mv kodi.dnssd /etc/systemd/dnssd/
sudo systemctl restart systemd-resolved.service
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak remote-add -u --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
for FPAK in tv.kodi.Kodi org.libretro.RetroArch
do
flatpak install -y $FPAK
flatpak install -u -y $FPAK
done
cat <<EOF > led_off.sh
@ -56,6 +57,22 @@ Exec=unclutter
X-GNOME-Autostart-enabled=true
EOF
### Steam Link
flatpak --arch=x86_64 -u install com.valvesoftware.SteamLink
### Stremio
# See https://github.com/Stremio/stremio-shell/blob/master/DEBIAN.md
sudo apt install qtcreator qt5-qmake g++ pkgconf libssl-dev librsvg2-bin \
libkf5webengineviewer-dev libqt5opengl5-dev \
libmpv-dev
git clone --depth=1 --recurse-submodules -j8 https://github.com/Stremio/stremio-shell.git
cd stremio-shell
qmake
make -f release.makefile
### Menu
git clone https://forgejo.lyrion.ch/zilti/ecmenu.git
cd ecmenu
./update

5
update
View file

@ -8,10 +8,11 @@ else
sudo apt -y upgrade
CSC=csc
fi
flatpak update -y
flatpak update -u -y
sudo chicken-install -s lay
sudo lay -j 8 sdl2 sdl2-ttf sdl2-image srfi-18 srfi-69 toml csm
#${CSC} -o menu -gui ./menu.scm
rm -rf menu *.o *.so
csm -program menu
# Core Updates
cd /tmp
@ -19,7 +20,7 @@ curl -L https://github.com/zilti/retroarch-cores/archive/refs/heads/master.tar.g
cd retroarch-cores-master/aarch64
for FILE in $(find .)
do
unzip $FILE -do ~/.var/app/org.libretro.RetroArch/config/retroarch/cores
unzip -o $FILE -d ~/.var/app/org.libretro.RetroArch/config/retroarch/cores
done
cd /tmp
rm -rf retroarch-cores-master