Skip to content

Commit

Permalink
Fix building libcec on Ubuntu ARM (parallels on macbook M2)
Browse files Browse the repository at this point in the history
  • Loading branch information
eigendude committed Dec 22, 2024
1 parent d95b2ca commit b133b8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions oasis_tooling/scripts/depinstall_oasis_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ if [[ "${OSTYPE}" != "darwin"* ]]; then
libxrandr-dev \
swig \

# Needed for libcec on the Raspberry Pi
if [ "$(cat /proc/cpuinfo | grep "^Model" | awk '{print $3}')" = "Raspberry" ]; then
# Needed for libcec on ARM
if [[ "$(uname -m)" == "aarch64" ]] ||
[[ "$(uname -m)" == "armv7l" ]] ||
[[ "$(uname -m)" == "armv6l" ]]; then
sudo apt install -y --no-install-recommends \
libraspberrypi-dev
fi
Expand Down

0 comments on commit b133b8e

Please sign in to comment.