Files
river/.builds/alpine.yml
T

56 lines
1.4 KiB
YAML
Raw Normal View History

2022-02-05 22:34:07 +01:00
image: alpine/edge
packages:
- eudev-dev
- libinput-dev
- libseat-dev
- mesa-dev
- libffi-dev
- expat-dev
2023-12-05 11:03:18 +01:00
- hwdata-dev
- libdisplay-info-dev
2022-02-05 22:34:07 +01:00
- libxkbcommon-dev
- xcb-util-image-dev
- xcb-util-renderutil-dev
- xcb-util-wm-dev
- pixman-dev
- libevdev-dev
2025-04-26 13:50:28 +02:00
- wayland-dev
2022-02-05 22:34:07 +01:00
- wayland-protocols
2023-12-05 11:03:18 +01:00
- xwayland-dev
2022-02-05 22:34:07 +01:00
- meson
- scdoc
- tar
- wget
- xz
sources:
2024-04-01 22:24:14 +02:00
- https://codeberg.org/river/river
2022-02-05 22:34:07 +01:00
- https://gitlab.freedesktop.org/wlroots/wlroots.git
tasks:
- install_deps: |
cd wlroots
2025-04-26 13:50:28 +02:00
git checkout 0.19.0
2024-07-16 14:24:22 +02:00
meson setup build --auto-features=enabled -Drenderers=gles2 \
-Dcolor-management=disabled -Dlibliftoff=disabled \
-Dexamples=false -Dwerror=false -Db_ndebug=false \
-Dxcb-errors=disabled --prefix /usr
2022-02-05 22:34:07 +01:00
sudo ninja -C build/ install
cd ..
2024-06-13 11:15:44 +02:00
# Eat Github's resources rather than the Zig Software Foundation's resources!
2025-07-11 18:08:50 +02:00
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.15.1/zig-x86_64-linux-0.15.1.tar.xz
tar xf zig-x86_64-linux-0.15.1.tar.xz
sudo mv zig-x86_64-linux-0.15.1/zig /usr/bin/
sudo mv zig-x86_64-linux-0.15.1/lib /usr/lib/zig
2022-02-05 22:34:07 +01:00
- build: |
cd river
2024-06-13 11:37:13 +02:00
zig build --summary all
2022-02-05 22:34:07 +01:00
- build_xwayland: |
cd river
2024-06-13 11:37:13 +02:00
zig build --summary all -Dxwayland
2022-02-05 22:34:07 +01:00
- fmt: |
cd river
zig fmt --check river/
zig fmt --check riverctl/
zig fmt --check rivertile/
zig fmt --check build.zig