2019-02-19 15:09:29 +00:00
|
|
|
image: freebsd/latest
|
|
|
|
packages:
|
|
|
|
- devel/json-c
|
|
|
|
- devel/libevdev
|
|
|
|
- devel/meson
|
|
|
|
- devel/pkgconf
|
|
|
|
- graphics/cairo
|
|
|
|
- graphics/gdk-pixbuf2
|
|
|
|
- graphics/wayland
|
|
|
|
- graphics/wayland-protocols
|
|
|
|
- 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
|
2019-03-01 18:42:40 +00:00
|
|
|
# scdoc dependencies
|
|
|
|
- devel/gmake
|
2019-02-19 15:09:29 +00:00
|
|
|
sources:
|
|
|
|
- https://github.com/swaywm/sway
|
|
|
|
- https://github.com/swaywm/wlroots
|
2019-03-01 18:42:40 +00:00
|
|
|
- https://git.sr.ht/~sircmpwn/scdoc
|
2019-02-19 15:09:29 +00:00
|
|
|
tasks:
|
2019-03-01 18:42:40 +00:00
|
|
|
- scdoc: |
|
|
|
|
cd scdoc
|
|
|
|
gmake PREFIX=/usr/local
|
|
|
|
sudo gmake install PREFIX=/usr/local
|
2019-02-19 15:09:29 +00:00
|
|
|
- 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
|