mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2026-06-18 19:35:47 +00:00
44 lines
892 B
Bash
Executable file
44 lines
892 B
Bash
Executable file
#!/bin/bash
|
|
|
|
CUR_DIR=$(pwd)
|
|
USE_SCRIPT="install_ninja.sh"
|
|
|
|
if [[ -z "$(command -v cmake)" ]]; then
|
|
echo "CMake not found. Stopping."
|
|
exit
|
|
fi
|
|
if [[ -z "$(command -v ninja)" ]]; then
|
|
USE_SCRIPT="install.sh"
|
|
if [[ -z "$(command -v make)" ]]; then
|
|
echo "Neither Ninja or GNU Make were found. Stopping"
|
|
exit
|
|
fi
|
|
fi
|
|
|
|
cd "$PWD/misc/defaulttooltip"
|
|
sh $USE_SCRIPT
|
|
cd "$CUR_DIR"
|
|
#echo "Compiling plasmoids..."
|
|
|
|
#for filename in "$PWD/plasma/plasmoids/src/"*; do
|
|
# cd "$filename"
|
|
# echo "Compiling $(pwd)"
|
|
# sh $USE_SCRIPT
|
|
# echo "Done."
|
|
# cd "$CUR_DIR"
|
|
#done
|
|
|
|
echo "Compiling SMOD decorations..."
|
|
cd "$PWD/kwin/decoration"
|
|
sh $USE_SCRIPT
|
|
cd "$CUR_DIR"
|
|
echo "Done."
|
|
|
|
echo "Compiling KWin effects..."
|
|
for filename in "$PWD/kwin/effects_cpp/"*; do
|
|
cd "$filename"
|
|
echo "Compiling $(pwd)"
|
|
sh $USE_SCRIPT
|
|
echo "Done."
|
|
cd "$CUR_DIR"
|
|
done
|