Files
river/.builds/archlinux.yml
T

55 lines
1.6 KiB
YAML
Raw Normal View History

2022-02-05 22:34:07 +01:00
image: archlinux
packages:
2023-12-05 11:03:18 +01:00
- libdisplay-info
2022-07-10 19:00:17 +02:00
- libevdev
2022-02-05 22:34:07 +01:00
- libinput
- libxkbcommon
- mesa
- meson
- pixman
- wayland
- wayland-protocols
- hwdata
2022-02-05 22:34:07 +01:00
- xcb-util-errors
- xcb-util-image
- xcb-util-renderutil
- xcb-util-wm
- xorg-xwayland
- seatd
- tar
- wget
- xz
sources:
2025-08-30 19:01:10 +02:00
- https://codeberg.org/river/river-classic
2022-02-05 22:34:07 +01:00
- https://gitlab.freedesktop.org/wlroots/wlroots.git
tasks:
- install_deps: |
cd wlroots
2026-03-27 18:50:21 +01:00
git checkout 0.20.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!
2026-04-29 13:00:56 +02:00
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.16.0/zig-x86_64-linux-0.16.0.tar.xz
tar xf zig-x86_64-linux-0.16.0.tar.xz
sudo mv zig-x86_64-linux-0.16.0/zig /usr/bin/
sudo mv zig-x86_64-linux-0.16.0/lib /usr/lib/zig
2022-02-05 22:34:07 +01:00
- build: |
2025-08-30 19:01:10 +02:00
cd river-classic
2026-04-29 13:00:56 +02:00
# Arch's glibc version has SFrame sections in crt objects, force llvm/lld usage as a workaround
# https://codeberg.org/ziglang/zig/issues/31272
zig build -Dllvm --summary all
2022-02-05 22:34:07 +01:00
- build_xwayland: |
2025-08-30 19:01:10 +02:00
cd river-classic
2026-04-29 13:00:56 +02:00
zig build -Dllvm --summary all -Dxwayland
2022-02-05 22:34:07 +01:00
- fmt: |
2025-08-30 19:01:10 +02:00
cd river-classic
2022-02-05 22:34:07 +01:00
zig fmt --check river/
zig fmt --check riverctl/
zig fmt --check rivertile/
zig fmt --check build.zig