Switch to stable hyprland related packages (#1080)

This commit is contained in:
clsty
2025-02-06 21:22:31 +08:00
parent db1cc548ea
commit cf52b63ed5
5 changed files with 27 additions and 22 deletions
+3 -14
View File
@@ -116,13 +116,15 @@ install-local-pkgbuild() {
}
# Install core dependencies from the meta-packages
try sudo pacman -R illogical-impulse-{microtex,pymyc-aur}
try sudo pacman -Rdd {hyprutils,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git
metapkgs=(./arch-packages/illogical-impulse-{audio,python,backlight,basic,fonts-themes,gnome,gtk,portal,screencapture,widgets})
metapkgs+=(./arch-packages/illogical-impulse-ags)
metapkgs+=(./arch-packages/illogical-impulse-hyprland)
metapkgs+=(./arch-packages/illogical-impulse-microtex-git)
metapkgs+=(./arch-packages/illogical-impulse-oneui4-icons-git)
[[ -f /usr/share/icons/Bibata-Modern-Classic/index.theme ]] || \
metapkgs+=(./arch-packages/illogical-impulse-bibata-modern-classic-bin)
try sudo pacman -R illogical-impulse-{microtex,pymyc-aur}
for i in "${metapkgs[@]}"; do
metainstallflags="--needed"
@@ -134,19 +136,6 @@ done
showfun install-python-packages
v install-python-packages
# Why need cleanbuild? see https://github.com/end-4/dots-hyprland/issues/389#issuecomment-2040671585
# Why install deps by running a seperate command? see pinned comment of https://aur.archlinux.org/packages/hyprland-git
case $SKIP_HYPR_AUR in
true) sleep 0;;
*)
hyprland_installflags="-S"
$ask || hyprland_installflags="$hyprland_installflags --noconfirm"
v yay $hyprland_installflags --asdeps hyprutils-git hyprlang-git hyprcursor-git hyprwayland-scanner-git
v yay $hyprland_installflags --answerclean=a hyprland-git
;;
esac
## Optional dependencies
if pacman -Qs ^plasma-browser-integration$ ;then SKIP_PLASMAINTG=true;fi
case $SKIP_PLASMAINTG in