testing more..
This commit is contained in:
parent
6a171ab93b
commit
18ef26e1df
1 changed files with 3 additions and 9 deletions
12
hyprlock.sh
12
hyprlock.sh
|
@ -102,7 +102,7 @@ getDependencies() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
buildGraphics() {
|
buildGraphicsAndUtils() {
|
||||||
echo_pkg build
|
echo_pkg build
|
||||||
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||||
run cmake --build ./build --config Release --target all -j"$cores"
|
run cmake --build ./build --config Release --target all -j"$cores"
|
||||||
|
@ -122,7 +122,7 @@ cloneAndBuildGraphics() {
|
||||||
git clone --depth=1 https://github.com/hyprwm/hyprgraphics.git &&
|
git clone --depth=1 https://github.com/hyprwm/hyprgraphics.git &&
|
||||||
cd hyprgraphics
|
cd hyprgraphics
|
||||||
|
|
||||||
if buildGraphics; then
|
if buildGraphicsAndUtils; then
|
||||||
echo_pkg install
|
echo_pkg install
|
||||||
$_sudo cmake --install build
|
$_sudo cmake --install build
|
||||||
else
|
else
|
||||||
|
@ -131,12 +131,6 @@ cloneAndBuildGraphics() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
buildUtils() {
|
|
||||||
echo_pkg build "Building hyprutils"
|
|
||||||
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
|
||||||
run cmake --build ./build --config Release --target all -j"$cores"
|
|
||||||
}
|
|
||||||
|
|
||||||
cloneAndBuildUtils() {
|
cloneAndBuildUtils() {
|
||||||
PACKAGE=hyprutils
|
PACKAGE=hyprutils
|
||||||
|
|
||||||
|
@ -155,7 +149,7 @@ cloneAndBuildUtils() {
|
||||||
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 buildGraphicsAndUtils; then
|
||||||
echo_pkg install
|
echo_pkg install
|
||||||
$_sudo cmake --install build
|
$_sudo cmake --install build
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue