mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
Compare commits
No commits in common. "b7eb23b7686057991501690e353535a3a393f99f" and "2a364e0730f54f218a157b69cda8b77bbc645174" have entirely different histories.
b7eb23b768
...
2a364e0730
Binary file not shown.
@ -3,131 +3,113 @@
|
|||||||
# main dependencies #
|
# main dependencies #
|
||||||
# 22 Aug 2024 - NOTE will trim this more down
|
# 22 Aug 2024 - NOTE will trim this more down
|
||||||
|
|
||||||
|
|
||||||
# packages neeeded
|
# packages neeeded
|
||||||
dependencies=(
|
dependencies=(
|
||||||
build-essential
|
build-essential
|
||||||
cmake
|
cmake
|
||||||
cmake-extras
|
cmake-extras
|
||||||
curl
|
curl
|
||||||
findutils
|
gawk
|
||||||
gawk
|
gettext
|
||||||
gettext
|
gir1.2-graphene-1.0
|
||||||
gir1.2-graphene-1.0
|
git
|
||||||
git
|
glslang-tools
|
||||||
glslang-tools
|
gobject-introspection
|
||||||
gobject-introspection
|
golang
|
||||||
golang
|
hwdata
|
||||||
hwdata
|
jq
|
||||||
jq
|
libavcodec-dev
|
||||||
libavcodec-dev
|
libavformat-dev
|
||||||
libavformat-dev
|
libavutil-dev
|
||||||
libavutil-dev
|
libcairo2-dev
|
||||||
libcairo2-dev
|
libdeflate-dev
|
||||||
libdeflate-dev
|
libdisplay-info-dev
|
||||||
libdisplay-info-dev
|
libdrm-dev
|
||||||
libdrm-dev
|
libegl1-mesa-dev
|
||||||
libegl-dev
|
libgbm-dev
|
||||||
libegl1-mesa-dev
|
libgdk-pixbuf-2.0-dev
|
||||||
libgbm-dev
|
libgdk-pixbuf2.0-bin
|
||||||
libgdk-pixbuf-2.0-dev
|
libgirepository1.0-dev
|
||||||
libgdk-pixbuf2.0-bin
|
libgl1-mesa-dev
|
||||||
libgirepository1.0-dev
|
libgraphene-1.0-0
|
||||||
libgl1-mesa-dev
|
libgraphene-1.0-dev
|
||||||
libgraphene-1.0-0
|
libgtk-3-dev
|
||||||
libgraphene-1.0-dev
|
libgulkan-0.15-0t64
|
||||||
libgtk-3-dev
|
libgulkan-dev
|
||||||
libgulkan-0.15-0t64
|
libinih-dev
|
||||||
libgulkan-dev
|
libinput-dev
|
||||||
libinih-dev
|
libjbig-dev
|
||||||
libinput-dev
|
libjpeg-dev
|
||||||
libjbig-dev
|
libjpeg62-turbo-dev
|
||||||
libjpeg-dev
|
liblerc-dev
|
||||||
libjpeg62-turbo-dev
|
libliftoff-dev
|
||||||
liblerc-dev
|
liblzma-dev
|
||||||
libliftoff-dev
|
libnotify-bin
|
||||||
liblzma-dev
|
libpam0g-dev
|
||||||
libnotify-bin
|
libpango1.0-dev
|
||||||
libpam0g-dev
|
libpipewire-0.3-dev
|
||||||
libpango1.0-dev
|
libqt6svg6
|
||||||
libpipewire-0.3-dev
|
libseat-dev
|
||||||
libqt6svg6
|
libstartup-notification0-dev
|
||||||
libsdbus-c++-dev
|
libswresample-dev
|
||||||
libseat-dev
|
libsystemd-dev
|
||||||
libstartup-notification0-dev
|
libtiff-dev
|
||||||
libswresample-dev
|
libtiffxx6
|
||||||
libsystemd-dev
|
libtomlplusplus-dev
|
||||||
libtiff-dev
|
libudev-dev
|
||||||
libtiffxx6
|
libvkfft-dev
|
||||||
libtomlplusplus-dev
|
libvulkan-dev
|
||||||
libudev-dev
|
libvulkan-volk-dev
|
||||||
libvkfft-dev
|
libwayland-dev
|
||||||
libvulkan-dev
|
libwebp-dev
|
||||||
libvulkan-volk-dev
|
libxcb-composite0-dev
|
||||||
libwayland-dev
|
libxcb-cursor-dev
|
||||||
libwebp-dev
|
libxcb-dri3-dev
|
||||||
libxcb-composite0-dev
|
libxcb-ewmh-dev
|
||||||
libxcb-cursor-dev
|
libxcb-icccm4-dev
|
||||||
libxcb-dri3-dev
|
libxcb-present-dev
|
||||||
libxcb-ewmh-dev
|
libxcb-render-util0-dev
|
||||||
libxcb-icccm4-dev
|
libxcb-res0-dev
|
||||||
libxcb-present-dev
|
libxcb-util-dev
|
||||||
libxcb-render-util0-dev
|
libxcb-xinerama0-dev
|
||||||
libxcb-res0-dev
|
libxcb-xinput-dev
|
||||||
libxcb-util-dev
|
libxcb-xkb-dev
|
||||||
libxcb-xinerama0-dev
|
libxkbcommon-dev
|
||||||
libxcb-xinput-dev
|
libxkbcommon-x11-dev
|
||||||
libxcb-xkb-dev
|
libxkbregistry-dev
|
||||||
libxkbcommon-dev
|
libxml2-dev
|
||||||
libxkbcommon-x11-dev
|
libsdbus-c++-dev
|
||||||
libxkbregistry-dev
|
libxxhash-dev
|
||||||
libxml2-dev
|
meson
|
||||||
libxxhash-dev
|
ninja-build
|
||||||
meson
|
openssl
|
||||||
ninja-build
|
psmisc
|
||||||
openssl
|
python3-mako
|
||||||
psmisc
|
python3-markdown
|
||||||
python3-mako
|
python3-markupsafe
|
||||||
python3-markdown
|
python3-yaml
|
||||||
python3-markupsafe
|
python3-pyquery
|
||||||
python3-pyquery
|
qt6-base-dev
|
||||||
python3-yaml
|
scdoc
|
||||||
qt6-base-dev
|
seatd
|
||||||
scdoc
|
spirv-tools
|
||||||
seatd
|
vulkan-validationlayers
|
||||||
spirv-tools
|
vulkan-utility-libraries-dev
|
||||||
unzip
|
wayland-protocols
|
||||||
vulkan-utility-libraries-dev
|
xdg-desktop-portal
|
||||||
vulkan-validationlayers
|
xwayland
|
||||||
wayland-protocols
|
|
||||||
xdg-desktop-portal
|
|
||||||
xwayland
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# hyprland dependencies
|
# hyprland dependencies
|
||||||
hyprland_dep=(
|
hyprland_dep=(
|
||||||
bc
|
bc
|
||||||
binutils
|
binutils
|
||||||
libc6
|
libc6
|
||||||
libcairo2-dev
|
libcairo2
|
||||||
libdisplay-info2
|
libdisplay-info2
|
||||||
libdrm2
|
libdrm2
|
||||||
libjpeg-dev
|
libpam0g-dev
|
||||||
libjxl-dev
|
|
||||||
libmagic-dev
|
|
||||||
libpixman-1-dev
|
|
||||||
libpugixml-dev
|
|
||||||
libre2-dev
|
|
||||||
librsvg2-dev
|
|
||||||
libspng-dev
|
|
||||||
libtomlplusplus-dev
|
|
||||||
libwebp-dev
|
|
||||||
libzip-dev
|
|
||||||
libpam0g-dev
|
|
||||||
libxcursor-dev
|
|
||||||
qt6-declarative-dev
|
|
||||||
qt6-base-private-dev
|
|
||||||
qt6-wayland-dev
|
|
||||||
qt6-wayland-private-dev
|
|
||||||
)
|
)
|
||||||
|
|
||||||
build_dep=(
|
build_dep=(
|
||||||
@ -163,4 +145,4 @@ for PKG1 in "${build_dep[@]}"; do
|
|||||||
build_dep "$PKG1" "$LOG"
|
build_dep "$PKG1" "$LOG"
|
||||||
done
|
done
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|||||||
@ -12,52 +12,52 @@ Extra=(
|
|||||||
|
|
||||||
# packages needed
|
# packages needed
|
||||||
hypr_package=(
|
hypr_package=(
|
||||||
cliphist
|
cliphist
|
||||||
grim
|
grim
|
||||||
gvfs
|
gvfs
|
||||||
gvfs-backends
|
gvfs-backends
|
||||||
inxi
|
inxi
|
||||||
imagemagick
|
imagemagick
|
||||||
kitty
|
kitty
|
||||||
nano
|
nano
|
||||||
pavucontrol
|
pavucontrol
|
||||||
playerctl
|
playerctl
|
||||||
polkit-kde-agent-1
|
polkit-kde-agent-1
|
||||||
python3-requests
|
python3-requests
|
||||||
python3-pip
|
python3-pip
|
||||||
qt5ct
|
qt5ct
|
||||||
qt5-style-kvantum
|
qt5-style-kvantum
|
||||||
qt5-style-kvantum-themes
|
qt5-style-kvantum-themes
|
||||||
qt6ct
|
qt6ct
|
||||||
slurp
|
slurp
|
||||||
swappy
|
swappy
|
||||||
sway-notification-center
|
sway-notification-center
|
||||||
unzip
|
unzip
|
||||||
waybar
|
waybar
|
||||||
wget
|
wget
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wlogout
|
wlogout
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
xdg-utils
|
xdg-utils
|
||||||
yad
|
yad
|
||||||
)
|
)
|
||||||
|
|
||||||
# the following packages can be deleted. however, dotfiles may not work properly
|
# the following packages can be deleted. however, dotfiles may not work properly
|
||||||
hypr_package_2=(
|
hypr_package_2=(
|
||||||
brightnessctl
|
brightnessctl
|
||||||
btop
|
btop
|
||||||
cava
|
cava
|
||||||
fastfetch
|
fastfetch
|
||||||
loupe
|
loupe
|
||||||
gnome-system-monitor
|
gnome-system-monitor
|
||||||
mousepad
|
mousepad
|
||||||
mpv
|
mpv
|
||||||
mpv-mpris
|
mpv-mpris
|
||||||
nwg-look
|
nwg-look
|
||||||
nwg-displays
|
nwg-displays
|
||||||
nvtop
|
nvtop
|
||||||
pamixer
|
pamixer
|
||||||
qalculate-gtk
|
qalculate-gtk
|
||||||
)
|
)
|
||||||
|
|
||||||
# packages to force reinstall
|
# packages to force reinstall
|
||||||
@ -68,10 +68,10 @@ force=(
|
|||||||
|
|
||||||
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
||||||
uninstall=(
|
uninstall=(
|
||||||
dunst
|
dunst
|
||||||
mako
|
mako
|
||||||
rofi
|
rofi
|
||||||
cargo
|
cargo
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
@ -140,4 +140,4 @@ source "$HOME/.cargo/env"
|
|||||||
## making brightnessctl work
|
## making brightnessctl work
|
||||||
sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true
|
sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|||||||
@ -18,16 +18,12 @@ PACKAGES=(
|
|||||||
|
|
||||||
# List of packages installed from Debian-Hyprland repo
|
# List of packages installed from Debian-Hyprland repo
|
||||||
uninstall=(
|
uninstall=(
|
||||||
hyprland
|
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
libhhyprland-dev
|
libhhyprland-dev
|
||||||
libhyprutils-dev
|
libhyprutils-dev
|
||||||
libhyprutils0
|
libhyprutils0
|
||||||
hyprwayland-scanner
|
hyprwayland-scanner
|
||||||
hyprland-protocols
|
hyprland-protocols
|
||||||
hyprctl
|
|
||||||
hyprpm
|
|
||||||
Hyprland
|
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.9.2"
|
aqua_tag="v0.9.2"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -33,21 +33,21 @@ if [ -d "aquamarine" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${INFO} Installing ${YELLOW}aquamarine $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}aquamarine $aqua_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/aquamarine.git; then
|
if git clone --recursive -b $aqua_tag https://github.com/hyprwm/aquamarine.git; then
|
||||||
cd aquamarine || exit 1
|
cd aquamarine || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${MAGENTA}aquamarine $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}aquamarine $aqua_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}aquamarine $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}aquamarine $aqua_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}aquamarine $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}aquamarine $aqua_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -9,7 +9,7 @@ librsvg2-dev
|
|||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.1.12"
|
cursor_tag="v0.1.12"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -47,7 +47,7 @@ fi
|
|||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${NOTE} Installing hyprcursor...\n"
|
printf "${NOTE} Installing hyprcursor...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprcursor.git; then
|
if git clone --recursive -b $cursor_tag https://github.com/hyprwm/hyprcursor.git; then
|
||||||
cd hyprcursor || exit 1
|
cd hyprcursor || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
|
|||||||
@ -8,7 +8,7 @@ hyprgraphics=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.1.5"
|
graphics_tag="v0.1.5"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -45,21 +45,21 @@ if [ -d "hyprgraphics" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${INFO} Installing ${YELLOW}hyprgraphics $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}hyprgraphics $graphics_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprgraphics.git; then
|
if git clone --recursive -b $graphics_tag https://github.com/hyprwm/hyprgraphics.git; then
|
||||||
cd hyprgraphics || exit 1
|
cd hyprgraphics || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target hyprgraphics -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target hyprgraphics -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
||||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${MAGENTA}hyprgraphics $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}hyprgraphics $graphics_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}hyprgraphics $graphics${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}hyprgraphics $graphics_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}hyprgraphics $graphics${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}hyprgraphics $graphics_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -7,7 +7,7 @@ idle=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.1.6"
|
idle_tag="v0.1.6"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -43,21 +43,21 @@ if [ -d "hypridle" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${INFO} Installing ${YELLOW}hypridle $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}hypridle $idle_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hypridle.git; then
|
if git clone --recursive -b $idle_tag https://github.com/hyprwm/hypridle.git; then
|
||||||
cd hypridle || exit 1
|
cd hypridle || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
||||||
cmake --build ./build --config Release --target hypridle -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target hypridle -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${MAGENTA}hypridle $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}hypridle $idle_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}hypridle $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}hypridle $idle_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}hypridle $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}hypridle $idle_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.6.4"
|
protocols_tag="v0.6.4"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -33,20 +33,20 @@ if [ -d "hyprland-protocols" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${INFO} Installing ${YELLOW}hyprland-protocols $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}hyprland-protocols $protocols_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprland-protocols.git; then
|
if git clone --recursive -b $protocols_tag https://github.com/hyprwm/hyprland-protocols.git; then
|
||||||
cd hyprland-protocols || exit 1
|
cd hyprland-protocols || exit 1
|
||||||
meson setup build
|
meson setup build
|
||||||
if sudo meson install -C build 2>&1 | tee -a "$MLOG" ; then
|
if sudo meson install -C build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${MAGENTA}hyprland-protocols $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}hyprland-protocols $protocols_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}hyprland-protocols $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}hyprland-protocols $protocols_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}hyprland-protocols tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}hyprland-protocols protocols_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
qt_support=(
|
qt_support=(
|
||||||
qt6-base-dev
|
qt6-base-dev
|
||||||
qt6-wayland
|
qt6-wayland
|
||||||
qt6-declarative-dev
|
qt6-declarative-dev
|
||||||
qml6-module-qtcore
|
qml6-module-qtcore
|
||||||
qml6-module-qtquick-layouts
|
qml6-module-qtquick-layouts
|
||||||
qt6-tools-dev
|
qt6-tools-dev
|
||||||
qt6-tools-dev-tools
|
qt6-tools-dev-tools
|
||||||
@ -15,7 +15,7 @@ qt_support=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.1.0"
|
qt_support_tag="v0.1.0"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -53,21 +53,21 @@ if [ -d "hyprland-qt-support" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${INFO} Installing ${YELLOW}hyprland-qt-support $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}hyprland-qt-support $qt_support_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprland-qt-support.git; then
|
if git clone --recursive -b $qt_support_tag https://github.com/hyprwm/hyprland-qt-support.git; then
|
||||||
cd hyprland-qt-support || exit 1
|
cd hyprland-qt-support || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${MAGENTA}hyprland-qt-support $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}hyprland-qt-support $qt_support_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}hyprland-qt-support $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}hyprland-qt-support $qt_support_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}hyprland-qt-support $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}hyprland-qt-support $qt_support_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -17,7 +17,7 @@ qtutils=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.1.4"
|
qtutils_tag="v0.1.4"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -55,21 +55,21 @@ if [ -d "hyprland-qtutils" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${INFO} Installing ${YELLOW}hyprland-qtutils $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}hyprland-qtutils $qtutils_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprland-qtutils.git; then
|
if git clone --recursive -b $qtutils_tag https://github.com/hyprwm/hyprland-qtutils.git; then
|
||||||
cd hyprland-qtutils || exit 1
|
cd hyprland-qtutils || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${MAGENTA}hyprland-qtutils $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}hyprland-qtutils $qtutils_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}hyprland-qtutils $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}hyprland-qtutils $qtutils_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}hyprland-qtutils $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}hyprland-qtutils $qtutils_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -3,14 +3,12 @@
|
|||||||
# Main Hyprland Package#
|
# Main Hyprland Package#
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.49.0"
|
hyprland_tag="v0.49.0"
|
||||||
|
|
||||||
hyprland=(
|
hyprland=(
|
||||||
libxcb-errors-dev
|
libxcb-errors-dev
|
||||||
libre2-dev
|
libre2-dev
|
||||||
libglaze-dev
|
libglaze-dev
|
||||||
libudis86-dev
|
|
||||||
libinotify-ocaml-dev
|
|
||||||
)
|
)
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
@ -55,7 +53,7 @@ fi
|
|||||||
printf "\n%.0s" {1..1}
|
printf "\n%.0s" {1..1}
|
||||||
|
|
||||||
# Clone, build, and install Hyprland using Cmake
|
# Clone, build, and install Hyprland using Cmake
|
||||||
printf "${NOTE} Cloning and Installing ${YELLOW}Hyprland $tag${RESET} ...\n"
|
printf "${NOTE} Cloning and Installing ${YELLOW}Hyprland $hyprland_tag${RESET} ...\n"
|
||||||
|
|
||||||
# Check if Hyprland folder exists and remove it
|
# Check if Hyprland folder exists and remove it
|
||||||
if [ -d "Hyprland" ]; then
|
if [ -d "Hyprland" ]; then
|
||||||
@ -63,18 +61,18 @@ if [ -d "Hyprland" ]; then
|
|||||||
rm -rf "Hyprland" 2>&1 | tee -a "$LOG"
|
rm -rf "Hyprland" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if git clone --recursive -b $tag "https://github.com/hyprwm/Hyprland"; then
|
if git clone --recursive -b $hyprland_tag "https://github.com/hyprwm/Hyprland"; then
|
||||||
cd "Hyprland" || exit 1
|
cd "Hyprland" || exit 1
|
||||||
make all
|
make all
|
||||||
if sudo make install 2>&1 | tee -a "$MLOG"; then
|
if sudo make install 2>&1 | tee -a "$MLOG"; then
|
||||||
printf "${OK} ${MAGENTA}Hyprland tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}Hyprland $hyprland_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}Hyprland $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}Hyprland $hyprland_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}Hyprland $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}Hyprland $hyprland_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.6.3"
|
lang_tag="v0.6.3"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -33,21 +33,21 @@ if [ -d "hyprlang" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${INFO} Installing ${YELLOW}hyprlang $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}hyprlang $lang_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprlang.git; then
|
if git clone --recursive -b $lang_tag https://github.com/hyprwm/hyprlang.git; then
|
||||||
cd hyprlang || exit 1
|
cd hyprlang || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target hyprlang -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target hyprlang -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
||||||
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install ./build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${MAGENTA}hyprlang tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}hyprlang $lang_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}hyprlang $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}hyprlang $lang_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}hyprlang $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}hyprlang $lang_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
@ -16,7 +16,7 @@ build_dep=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.9.0"
|
lock_tag="v0.9.0"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -52,21 +52,21 @@ if [ -d "hyprlock" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone and build hyprlock
|
# Clone and build hyprlock
|
||||||
printf "${INFO} Installing ${YELLOW}hyprlock $tag${RESET} ...\n"
|
printf "${INFO} Installing ${YELLOW}hyprlock $lock_tag${RESET} ...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprlock.git; then
|
if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then
|
||||||
cd hyprlock || exit 1
|
cd hyprlock || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
||||||
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
||||||
if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then
|
if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then
|
||||||
printf "${OK} ${YELLOW}hyprlock $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${YELLOW}hyprlock $lock_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}hyprlock $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}hyprlock $lock_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
#moving the addional logs to Install-Logs directory
|
#moving the addional logs to Install-Logs directory
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}hyprlock $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}hyprlock $lock_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ polkitagent=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.1.2"
|
polkitagent_tag="v0.1.2"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -51,7 +51,7 @@ fi
|
|||||||
|
|
||||||
# Clone and build
|
# Clone and build
|
||||||
printf "${NOTE} Installing hyprpolkitagent...\n"
|
printf "${NOTE} Installing hyprpolkitagent...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprpolkitagent.git; then
|
if git clone --recursive -b $polkitagent_tag https://github.com/hyprwm/hyprpolkitagent.git; then
|
||||||
cd hyprpolkitagent || exit 1
|
cd hyprpolkitagent || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
# hyprutils #
|
# hyprutils #
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.8.1"
|
hyprutils_tag="v0.8.1"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -32,7 +32,7 @@ if [ -d "hyprutils" ]; then
|
|||||||
rm -rf "hyprutils" 2>&1 | tee -a "$LOG"
|
rm -rf "hyprutils" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if git clone -b $tag "https://github.com/hyprwm/hyprutils.git"; then
|
if git clone -b $hyprutils_tag "https://github.com/hyprwm/hyprutils.git"; then
|
||||||
cd "hyprutils" || exit 1
|
cd "hyprutils" || exit 1
|
||||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
|
||||||
|
|||||||
@ -6,9 +6,8 @@
|
|||||||
scan_depend=(
|
scan_depend=(
|
||||||
libpugixml-dev
|
libpugixml-dev
|
||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
#specific branch or release
|
||||||
tag="v0.4.5"
|
scan_tag="v0.4.5"
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -49,7 +48,7 @@ fi
|
|||||||
|
|
||||||
# Clone and build hyprlang
|
# Clone and build hyprlang
|
||||||
printf "${NOTE} Installing hyprwayland-scanner...\n"
|
printf "${NOTE} Installing hyprwayland-scanner...\n"
|
||||||
if git clone --recursive -b $tag https://github.com/hyprwm/hyprwayland-scanner.git; then
|
if git clone --recursive -b $scan_tag https://github.com/hyprwm/hyprwayland-scanner.git; then
|
||||||
cd hyprwayland-scanner || exit 1
|
cd hyprwayland-scanner || exit 1
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
|
||||||
cmake --build build -j `nproc`
|
cmake --build build -j `nproc`
|
||||||
|
|||||||
@ -12,8 +12,7 @@ xdg=(
|
|||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
)
|
)
|
||||||
|
|
||||||
#specific branch or release
|
xdph_tag="v1.3.9"
|
||||||
tag="v1.3.9"
|
|
||||||
|
|
||||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
@ -45,7 +44,7 @@ for PKG1 in "${xdg[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Clone, build, and install XDPH
|
# Clone, build, and install XDPH
|
||||||
printf "${NOTE} Cloning and Installing ${YELLOW}XDG Desktop Portal Hyprland $tag${RESET} ...\n"
|
printf "${NOTE} Cloning and Installing ${YELLOW}XDG Desktop Portal Hyprland $hyprland_tag${RESET} ...\n"
|
||||||
|
|
||||||
# Check if xdg-desktop-portal-hyprland folder exists and remove it
|
# Check if xdg-desktop-portal-hyprland folder exists and remove it
|
||||||
if [ -d "xdg-desktop-portal-hyprland" ]; then
|
if [ -d "xdg-desktop-portal-hyprland" ]; then
|
||||||
@ -53,19 +52,19 @@ if [ -d "xdg-desktop-portal-hyprland" ]; then
|
|||||||
rm -rf "xdg-desktop-portal-hyprland" 2>&1 | tee -a "$LOG"
|
rm -rf "xdg-desktop-portal-hyprland" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if git clone --recursive -b $tag "https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"; then
|
if git clone --recursive -b $xdph_tag "https://github.com/hyprwm/xdg-desktop-portal-hyprland.git"; then
|
||||||
cd "xdg-desktop-portal-hyprland" || exit 1
|
cd "xdg-desktop-portal-hyprland" || exit 1
|
||||||
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -B build
|
cmake -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -B build
|
||||||
cmake --build build
|
cmake --build build
|
||||||
if sudo cmake --install build 2>&1 | tee -a "$MLOG"; then
|
if sudo cmake --install build 2>&1 | tee -a "$MLOG"; then
|
||||||
printf "${OK} ${MAGENTA}xdph $tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
printf "${OK} ${MAGENTA}xdph $xdph_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Installation failed for ${YELLOW}xdph $tag${RESET}" 2>&1 | tee -a "$MLOG"
|
echo -e "${ERROR} Installation failed for ${YELLOW}xdph $xdph_tag${RESET}" 2>&1 | tee -a "$MLOG"
|
||||||
fi
|
fi
|
||||||
mv $MLOG ../Install-Logs/ || true
|
mv $MLOG ../Install-Logs/ || true
|
||||||
cd ..
|
cd ..
|
||||||
else
|
else
|
||||||
echo -e "${ERROR} Download failed for ${YELLOW}xdph $tag${RESET}" 2>&1 | tee -a "$LOG"
|
echo -e "${ERROR} Download failed for ${YELLOW}xdph $xdph_tag${RESET}" 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\n%.0s" {1..2}
|
printf "\n%.0s" {1..2}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user