chore(releng): add pipewire and bluetooth packages to desktop environments

Add PipeWire audio stack (pipewire, pipewire-pulse, wireplumber, pavucontrol)
and Bluetooth support (bluez, bluez-utils, blueman) to xfce and hyprland
package lists to ensure they are installed alongside the desktop environment.

Enable bluetooth.service at installation time for hyprland to have Bluetooth
ready at first boot. Update comments to reflect the new guaranteed installation
of audio and Bluetooth components as part of the desktop environment transaction.
This commit is contained in:
2026-07-04 01:01:20 +02:00
parent 96e5721ad8
commit 43ecf7f54f
@@ -274,10 +274,13 @@ case "$DESK" in
# (agent d'authentification GUI), network-manager-applet (réseau dans le
# tray), xdg-desktop-portal-hyprland (partage d'écran/portails), gvfs
# (montage USB dans thunar), ttf-nerd-fonts-symbols (icônes waybar).
# Le son (PipeWire+pavucontrol), le Bluetooth (bluez+blueman) et la
# luminosité (brightnessctl) sont installés par fws-setup-hardware.
xfce) PKGS="xfce4 xfce4-goodies sddm noto-fonts"; DM="sddm" ;;
hyprland) PKGS="hyprland kitty wofi waybar sddm noto-fonts thunar hyprlock grim slurp wl-clipboard playerctl mako libnotify polkit-gnome network-manager-applet xdg-desktop-portal-hyprland gvfs ttf-nerd-fonts-symbols"; DM="sddm" ;;
# Son et Bluetooth GARANTIS avec le bureau : la stack PipeWire + le
# mixeur (pavucontrol) + bluez/blueman partent dans la MÊME transaction
# pacman que le DE — si le bureau s'installe, ses gestionnaires aussi
# (fws-setup-hardware les re-propose ensuite en --needed : sans effet
# s'ils sont déjà là, filet de secours sinon).
xfce) PKGS="xfce4 xfce4-goodies sddm noto-fonts pipewire pipewire-pulse wireplumber pavucontrol"; DM="sddm" ;;
hyprland) PKGS="hyprland kitty wofi waybar sddm noto-fonts thunar hyprlock grim slurp wl-clipboard playerctl mako libnotify polkit-gnome network-manager-applet xdg-desktop-portal-hyprland gvfs ttf-nerd-fonts-symbols pipewire pipewire-alsa pipewire-pulse wireplumber pavucontrol bluez bluez-utils blueman"; DM="sddm" ;;
cli|*) PKGS="" ;;
esac
# Navigateur de base ajouté DÈS QU'un bureau est choisi (jamais en CLI).
@@ -373,6 +376,9 @@ HYEOF
sed -i 's|^Exec=.*|Exec=/usr/local/bin/fws-hyprland|' \
/usr/share/wayland-sessions/hyprland.desktop
fi
# Bluetooth prêt au 1er démarrage (bluez vient d'être installé
# avec le bureau ; fws-setup-hardware le refait — idempotent).
systemctl enable bluetooth.service 2>/dev/null || true
fi
else
echo "[FWS] Bureau '$DESK' non installé (réseau ?) — à refaire après le 1er boot."