cage/.builds/freebsd.yml

38 lines
1.1 KiB
YAML
Raw Normal View History

2019-04-20 19:32:00 +02:00
image: freebsd/latest
packages:
- devel/evdev-proto
- devel/meson
- devel/libepoll-shim
- devel/pkgconf
- graphics/mesa-libs
- graphics/wayland
- graphics/wayland-protocols
- textproc/scdoc
2019-04-20 19:32:00 +02:00
- x11/libinput
- x11/libxkbcommon
- x11/pixman
- x11/xcb-util-wm
- x11-servers/xwayland
2019-04-20 19:32:00 +02:00
sources:
- https://github.com/swaywm/wlroots
- https://github.com/Hjdskes/cage
tasks:
# Install wlroots, which is required by Cage. Note that we compile a tagged
# version, instead of master, to avoid any breaking changes in wlroots.
- wlroots: |
cd wlroots
2021-06-23 16:45:11 +00:00
git checkout 0.14.0
2019-12-18 21:48:22 +01:00
meson --prefix=/usr/local build -Dexamples=false
2019-04-20 19:32:00 +02:00
ninja -C build
sudo ninja -C build install
- build: |
cd cage
2020-01-31 22:58:15 +01:00
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig meson build --werror -Dxwayland=true
2019-04-20 19:32:00 +02:00
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ninja -C build
rm -rf build
- build-no-xwayland: |
cd cage
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig meson build --werror -Dxwayland=false
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ninja -C build
rm -rf build