aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-02-19 16:09:29 +0100
committeremersion <contact@emersion.fr>2019-02-19 16:34:07 +0100
commita42b5d079a6fa184724caa05e4d577a308c7888e (patch)
tree22b6fab4fea145377c69633dbfd1700a637ab88c
parent99f6bdcc718d00400e24557dc76bb666d63f32e0 (diff)
downloadsway-a42b5d079a6fa184724caa05e4d577a308c7888e.zip
sway-a42b5d079a6fa184724caa05e4d577a308c7888e.tar.gz
sway-a42b5d079a6fa184724caa05e4d577a308c7888e.tar.bz2
ci: add FreeBSD
-rw-r--r--.builds/freebsd.yml53
1 files changed, 53 insertions, 0 deletions
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
new file mode 100644
index 0000000..8fa7602
--- /dev/null
+++ b/.builds/freebsd.yml
@@ -0,0 +1,53 @@
+image: freebsd/latest
+packages:
+- devel/json-c
+- devel/libevdev
+- devel/meson
+- devel/pkgconf
+- graphics/cairo
+- graphics/gdk-pixbuf2
+- graphics/wayland
+- graphics/wayland-protocols
+- textproc/scdoc
+- x11-toolkits/pango
+- x11/libxcb
+- x11/libxkbcommon
+# wlroots dependencies
+- devel/evdev-proto
+- devel/libepoll-shim
+- devel/libudev-devd
+- graphics/libdrm
+- graphics/mesa-libs
+- x11/libinput
+- x11/libX11
+- x11/pixman
+- x11/xcb-util-wm
+sources:
+- https://github.com/swaywm/sway
+- https://github.com/swaywm/wlroots
+tasks:
+- fixup_epoll: |
+ cat << 'EOF' | sudo tee /usr/local/libdata/pkgconfig/epoll-shim.pc
+ prefix=/usr/local
+ exec_prefix=\$\{\$prefix\}
+ libdir=${prefix}/lib
+ sharedlibdir=${prefix}/lib
+ includedir=${prefix}/include/libepoll-shim
+ Name: epoll-shim
+ Description: epoll shim implemented using kevent
+ Version: 0
+ Requires:
+ Libs: -L${libdir} -L${sharedlibdir} -lepoll-shim
+ Libs.private: -pthread -lrt
+ Cflags: -I${includedir}
+ EOF
+- setup: |
+ cd sway
+ mkdir subprojects
+ cd subprojects
+ ln -s ../../wlroots wlroots
+ cd ..
+ meson build
+- build: |
+ cd sway
+ ninja -C build