From acdebf1be7ce0a5aef3ae11202349e3ef77410e6 Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 19 May 2025 17:40:40 +0200 Subject: [PATCH] testing --- hyprlock.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hyprlock.sh b/hyprlock.sh index 63c8582..674d6e7 100644 --- a/hyprlock.sh +++ b/hyprlock.sh @@ -51,14 +51,14 @@ checkComp() { } getDependencies() { - echo_info "Checking build dependencies.." + echo_pkg deps "Checking build dependencies.." # INFO: # ╭─────────────────────────────────────────────────────────────────────────╮ # │ You can define dependencies for various linux distros here. It will │ # │ automagically be pulled via the $pkgArray[$distro] variable │ # ╰─────────────────────────────────────────────────────────────────────────╯ - depsDebian=(libpugixml-dev libpixman-1-dev libcairo2-dev cmake libxkbcommon-dev wayland-protocols libpango1.0-dev libwayland-client-extra++1 libwebp-dev libjpeg-dev libspng-dev libmagic-dev libcairo2-dev mesa-common-dev cmake libgbm-dev libdrm-dev libopengl-dev wayland-protocols wayland-utils libsdbus-c++-dev libhyprlang-dev hyprgraphics) + depsDebian=(libpugixml-dev libpixman-1-dev libcairo2-dev cmake libxkbcommon-dev wayland-protocols libpango1.0-dev libwayland-client-extra++1 libwebp-dev libjpeg-dev libspng-dev libmagic-dev libcairo2-dev mesa-common-dev cmake libgbm-dev libdrm-dev libopengl-dev wayland-protocols wayland-utils libsdbus-c++-dev hyprgraphics) depsArch=(hyprutils hyprlang hyprgraphics) # depsUbuntu=() # depsFedora=() @@ -150,12 +150,13 @@ cloneAndBuildUtils() { cd $cloneDirUtils || mkdir -p $cloneDirUtils && cd $cloneDirUtils - echo_info "Cloning sources for hyprutils into $cloneDirUtils/hyprutils" + echo_pkg clone + git clone --depth=1 https://github.com/hyprwm/hyprutils.git && cd hyprutils if buildUtils; then - echo_info "Installing hyprutils.." + echo_pkg install $_sudo cmake --install build else echo_error "Build has failed for $distro compiling hyprutils"