2019-02-19 22:11:16 +11:00
|
|
|
image: alpine/edge
|
|
|
|
packages:
|
|
|
|
- cairo-dev
|
|
|
|
- eudev-dev
|
|
|
|
- gdk-pixbuf-dev
|
|
|
|
- json-c-dev
|
|
|
|
- libevdev-dev
|
|
|
|
- libinput-dev
|
2021-04-15 05:41:38 +10:00
|
|
|
- libseat-dev
|
2019-02-19 22:11:16 +11:00
|
|
|
- libxcb-dev
|
|
|
|
- libxkbcommon-dev
|
|
|
|
- mesa-dev
|
|
|
|
- meson
|
|
|
|
- pango-dev
|
|
|
|
- pixman-dev
|
2020-04-05 01:27:04 +11:00
|
|
|
- scdoc
|
2019-02-19 22:11:16 +11:00
|
|
|
- wayland-dev
|
|
|
|
- wayland-protocols
|
|
|
|
- xcb-util-image-dev
|
2021-03-31 03:22:01 +11:00
|
|
|
- xcb-util-wm-dev
|
2021-03-20 23:12:51 +11:00
|
|
|
- xwayland
|
2019-02-19 22:11:16 +11:00
|
|
|
sources:
|
|
|
|
- https://github.com/swaywm/sway
|
2022-01-17 05:39:24 +11:00
|
|
|
- https://gitlab.freedesktop.org/wlroots/wlroots.git#0.15.0
|
2019-02-19 22:11:16 +11:00
|
|
|
tasks:
|
|
|
|
- wlroots: |
|
|
|
|
cd wlroots
|
2019-08-09 10:59:29 +10:00
|
|
|
meson --prefix=/usr build -Dexamples=false
|
2019-02-19 22:11:16 +11:00
|
|
|
ninja -C build
|
|
|
|
sudo ninja -C build install
|
|
|
|
- setup: |
|
|
|
|
cd sway
|
2021-06-26 00:33:43 +10:00
|
|
|
meson build --fatal-meson-warnings -Dauto_features=enabled -Dtray=disabled
|
2019-02-19 22:11:16 +11:00
|
|
|
- build: |
|
|
|
|
cd sway
|
|
|
|
ninja -C build
|
|
|
|
- build-no-xwayland: |
|
|
|
|
cd sway
|
|
|
|
meson configure build -Dxwayland=disabled
|
|
|
|
ninja -C build
|
2021-06-21 03:27:31 +10:00
|
|
|
- build-static: |
|
|
|
|
cd sway
|
|
|
|
mkdir subprojects
|
|
|
|
ln -s ../../wlroots subprojects/wlroots
|
|
|
|
rm -rf build
|
2021-06-26 00:33:43 +10:00
|
|
|
meson build --fatal-meson-warnings --default-library=static --force-fallback-for=wlroots
|
2021-06-21 03:27:31 +10:00
|
|
|
ninja -C build
|