Files

60 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2024-06-13 11:12:56 +02:00
image: freebsd/latest
packages:
- devel/evdev-proto
- devel/libevdev
- devel/libepoll-shim
- devel/libudev-devd
- devel/meson
- devel/pkgconf
- graphics/mesa-libs
2025-04-26 13:50:28 +02:00
- graphics/wayland
2024-06-13 11:12:56 +02:00
- graphics/wayland-protocols
- misc/hwdata
- x11/libX11
- x11/libinput
- x11/libxcb
- x11/libxkbcommon
- x11/pixman
- x11/xcb-util-errors
- x11/xcb-util-renderutil
- x11/xcb-util-wm
- x11-servers/xwayland
- security/ca_root_nss
- sysutils/seatd
- sysutils/libdisplay-info
- gmake
- scdoc
- wget
sources:
2025-08-30 19:01:10 +02:00
- https://codeberg.org/river/river-classic
2024-06-13 11:12:56 +02: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 \
2025-04-26 13:50:28 +02:00
-Dallocators=gbm \
2024-07-16 14:24:22 +02:00
-Dcolor-management=disabled -Dlibliftoff=disabled \
-Dexamples=false -Dwerror=false -Db_ndebug=false \
-Dxcb-errors=disabled --prefix /usr
2024-06-13 11:12:56 +02:00
sudo ninja -C build/ install
cd ..
# 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-freebsd-0.16.0.tar.xz
tar xf zig-x86_64-freebsd-0.16.0.tar.xz
sudo mv zig-x86_64-freebsd-0.16.0/zig /usr/bin/
sudo mv zig-x86_64-freebsd-0.16.0/lib /usr/lib/zig
2024-06-13 11:12:56 +02:00
- build: |
2025-08-30 19:01:10 +02:00
cd river-classic
2024-06-13 11:37:13 +02:00
zig build --summary all
2024-06-13 11:12:56 +02:00
- build_xwayland: |
2025-08-30 19:01:10 +02:00
cd river-classic
2024-06-13 11:37:13 +02:00
zig build --summary all -Dxwayland
2024-06-13 11:12:56 +02:00
- fmt: |
2025-08-30 19:01:10 +02:00
cd river-classic
2024-06-13 11:12:56 +02:00
zig fmt --check river/
zig fmt --check riverctl/
zig fmt --check rivertile/
zig fmt --check build.zig