arm-rpi4: Clean use/arm-rpi4/x11

The Raspberry Pi 4 has hardware acceleration, there is no need to
use special programs.
bluetooth is needed only on a desktop.
This commit is contained in:
Anton Midyukov 2020-12-01 01:03:44 +07:00
parent 4def3ed445
commit 0eb63906ee
3 changed files with 2 additions and 29 deletions

View File

@ -16,12 +16,10 @@ endif
@$(call add,THE_PACKAGES,firmware-bcm4345)
@$(call add,THE_PACKAGES,brcm-patchram-plus)
@$(call add,THE_PACKAGES,rpi4-resize-rootpart)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd attach-bluetooth)
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd-wait-online)
use/arm-rpi4/x11: use/arm-rpi4 \
use/browser/firefox use/browser/firefox/esr
@$(call add,THE_PACKAGES,celluloid celluloid-csd-disabled)
use/arm-rpi4/x11: use/arm-rpi4
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd attach-bluetooth)
use/arm-rpi4/kernel: use/arm-rpi4
ifeq (aarch64,$(ARCH))

View File

@ -1,10 +0,0 @@
#!/bin/sh -efu
fffile="/usr/share/applications/firefox.desktop"
panfile="/etc/skel/.config/xfce4/panel/launcher-5/15592088901.desktop"
if [ -f "$fffile" -a -f "$panfile" ]
then
sed -i 's/Chromium/Firefox/' "$panfile"
sed -i 's/chromium/firefox/' "$panfile"
fi

View File

@ -1,15 +0,0 @@
#!/bin/sh -efu
# Change the default application for all file types from mplayer to celluloid
cfile="/usr/share/applications/io.github.celluloid_player.Celluloid.desktop"
mimeappsfile="/usr/share/applications/mimeapps.list"
mimeappslocalfile="/etc/skel/.config/mimeapps.list"
if [ -f "$cfile" -a -f "$mimeappsfile" ]
then
echo "[Default Applications]" > "$mimeappslocalfile"
sed '/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/' "$mimeappsfile" >> "$mimeappslocalfile"
echo "" >> "$mimeappslocalfile"
echo "[Added Associations]" >> "$mimeappslocalfile"
sed '/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/' "$mimeappsfile" >> "$mimeappslocalfile"
fi