Tabs and check script and dependency
Removed tabs (tabs to spaces). Remove the check_deps.sh. removed libwebsocketpp-dev from dependencies. BTW, this is in cmake.yml.
This commit is contained in:
@@ -27,15 +27,7 @@ Run the following commands to install dependent libraries required by the PiPeda
|
||||
authbind libavahi-client-dev libnm-dev libicu-dev \
|
||||
libsdbus-c++-dev libzip-dev google-perftools \
|
||||
libgoogle-perftools-dev \
|
||||
libpipewire-0.3-dev libwebsocketpp-dev
|
||||
|
||||
After installing these packages, run the dependency checker to verify that
|
||||
everything required is present:
|
||||
|
||||
```bash
|
||||
cd ~/src/pipedal
|
||||
./scripts/check_deps.sh
|
||||
```
|
||||
libpipewire-0.3-dev
|
||||
|
||||
### Installing Sources
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@ available through the Code plugins store) has configured itself, build commands
|
||||
If you are not using Visual Studio Code, you can configure, build and install PiPedal using CMake build tools. For your convenience,
|
||||
the following shell scripts have been provided in the root of the project.
|
||||
|
||||
./scripts/check_deps.sh # Verify required system packages
|
||||
|
||||
./init.sh # Configure the CMake build for the first time, or if you
|
||||
# have changed one of the CMakeList.txt files. (release build)
|
||||
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Check for required system packages for building PiPedal.
|
||||
|
||||
set -e
|
||||
|
||||
packages=(\
|
||||
liblilv-dev libboost-dev libsystemd-dev catch libasound2-dev uuid-dev \
|
||||
authbind libavahi-client-dev libnm-dev libicu-dev \
|
||||
libsdbus-c++-dev libzip-dev google-perftools \
|
||||
libgoogle-perftools-dev libpipewire-0.3-dev \
|
||||
libwebsocketpp-dev
|
||||
)
|
||||
|
||||
missing=()
|
||||
|
||||
for pkg in "${packages[@]}"; do
|
||||
if ! dpkg -s "$pkg" >/dev/null 2>&1; then
|
||||
missing+=("$pkg")
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ${#missing[@]} -ne 0 ]; then
|
||||
echo "Missing packages:" >&2
|
||||
for pkg in "${missing[@]}"; do
|
||||
echo " $pkg" >&2
|
||||
done
|
||||
exit 1
|
||||
else
|
||||
echo "All required packages are installed." >&2
|
||||
fi
|
||||
Reference in New Issue
Block a user