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