diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-26 12:23:19 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-26 12:23:19 +0200 |
| commit | e4a0432383331e013808a97b7c24707e4ddc4726 (patch) | |
| tree | 3ef4465be03bc7b92a0b048f02f76475045404b6 /scripts/install_deps_alpine.sh | |
| parent | 105732dde10b317a81d5a10a3f66b315d6f85015 (diff) | |
| download | srdwm-e4a0432383331e013808a97b7c24707e4ddc4726.tar.gz srdwm-e4a0432383331e013808a97b7c24707e4ddc4726.zip | |
Initial Commit
Diffstat (limited to 'scripts/install_deps_alpine.sh')
| -rw-r--r-- | scripts/install_deps_alpine.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/install_deps_alpine.sh b/scripts/install_deps_alpine.sh new file mode 100644 index 0000000..2ebf131 --- /dev/null +++ b/scripts/install_deps_alpine.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +set -euo pipefail + +if ! command -v apk >/dev/null 2>&1; then + echo "This script is intended for Alpine Linux (apk not found)." >&2 + exit 1 +fi + +sudo apk update +sudo apk add --no-cache \ + build-base cmake ninja git pkgconf \ + lua5.4 lua5.4-dev \ + libx11-dev libxrandr-dev libxinerama-dev libxfixes-dev libxcursor-dev \ + libxcb-dev xcb-util-keysyms-dev xcb-util-wm-dev \ + libxft-dev \ + wayland-dev wayland-protocols \ + libxkbcommon-dev seatd-dev \ + libdrm-dev mesa-egl mesa-gbm \ + libinput-dev \ + pixman-dev \ + wlroots-dev || true + +echo "Dependencies installed." |
