testing
This commit is contained in:
parent
01f065cbce
commit
acdebf1be7
1 changed files with 5 additions and 4 deletions
|
@ -51,14 +51,14 @@ checkComp() {
|
||||||
}
|
}
|
||||||
|
|
||||||
getDependencies() {
|
getDependencies() {
|
||||||
echo_info "Checking build dependencies.."
|
echo_pkg deps "Checking build dependencies.."
|
||||||
|
|
||||||
# INFO:
|
# INFO:
|
||||||
# ╭─────────────────────────────────────────────────────────────────────────╮
|
# ╭─────────────────────────────────────────────────────────────────────────╮
|
||||||
# │ You can define dependencies for various linux distros here. It will │
|
# │ You can define dependencies for various linux distros here. It will │
|
||||||
# │ automagically be pulled via the $pkgArray[$distro] variable │
|
# │ 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)
|
depsArch=(hyprutils hyprlang hyprgraphics)
|
||||||
# depsUbuntu=()
|
# depsUbuntu=()
|
||||||
# depsFedora=()
|
# depsFedora=()
|
||||||
|
@ -150,12 +150,13 @@ cloneAndBuildUtils() {
|
||||||
|
|
||||||
cd $cloneDirUtils || mkdir -p $cloneDirUtils && cd $cloneDirUtils
|
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 &&
|
git clone --depth=1 https://github.com/hyprwm/hyprutils.git &&
|
||||||
cd hyprutils
|
cd hyprutils
|
||||||
|
|
||||||
if buildUtils; then
|
if buildUtils; then
|
||||||
echo_info "Installing hyprutils.."
|
echo_pkg install
|
||||||
$_sudo cmake --install build
|
$_sudo cmake --install build
|
||||||
else
|
else
|
||||||
echo_error "Build has failed for $distro compiling hyprutils"
|
echo_error "Build has failed for $distro compiling hyprutils"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue