diff options
Diffstat (limited to '.builds/freebsd.yml')
-rw-r--r-- | .builds/freebsd.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml new file mode 100644 index 00000000..8fa76025 --- /dev/null +++ b/.builds/freebsd.yml | |||
@@ -0,0 +1,53 @@ | |||
1 | image: freebsd/latest | ||
2 | packages: | ||
3 | - devel/json-c | ||
4 | - devel/libevdev | ||
5 | - devel/meson | ||
6 | - devel/pkgconf | ||
7 | - graphics/cairo | ||
8 | - graphics/gdk-pixbuf2 | ||
9 | - graphics/wayland | ||
10 | - graphics/wayland-protocols | ||
11 | - textproc/scdoc | ||
12 | - x11-toolkits/pango | ||
13 | - x11/libxcb | ||
14 | - x11/libxkbcommon | ||
15 | # wlroots dependencies | ||
16 | - devel/evdev-proto | ||
17 | - devel/libepoll-shim | ||
18 | - devel/libudev-devd | ||
19 | - graphics/libdrm | ||
20 | - graphics/mesa-libs | ||
21 | - x11/libinput | ||
22 | - x11/libX11 | ||
23 | - x11/pixman | ||
24 | - x11/xcb-util-wm | ||
25 | sources: | ||
26 | - https://github.com/swaywm/sway | ||
27 | - https://github.com/swaywm/wlroots | ||
28 | tasks: | ||
29 | - fixup_epoll: | | ||
30 | cat << 'EOF' | sudo tee /usr/local/libdata/pkgconfig/epoll-shim.pc | ||
31 | prefix=/usr/local | ||
32 | exec_prefix=\$\{\$prefix\} | ||
33 | libdir=${prefix}/lib | ||
34 | sharedlibdir=${prefix}/lib | ||
35 | includedir=${prefix}/include/libepoll-shim | ||
36 | Name: epoll-shim | ||
37 | Description: epoll shim implemented using kevent | ||
38 | Version: 0 | ||
39 | Requires: | ||
40 | Libs: -L${libdir} -L${sharedlibdir} -lepoll-shim | ||
41 | Libs.private: -pthread -lrt | ||
42 | Cflags: -I${includedir} | ||
43 | EOF | ||
44 | - setup: | | ||
45 | cd sway | ||
46 | mkdir subprojects | ||
47 | cd subprojects | ||
48 | ln -s ../../wlroots wlroots | ||
49 | cd .. | ||
50 | meson build | ||
51 | - build: | | ||
52 | cd sway | ||
53 | ninja -C build | ||