2018-12-05 10:42:34 +01:00
|
|
|
image: alpine/edge
|
|
|
|
|
packages:
|
|
|
|
|
- eudev-dev
|
2021-02-21 18:30:12 +01:00
|
|
|
- glslang
|
2023-09-09 20:04:45 -04:00
|
|
|
- lcms2-dev
|
2023-02-02 12:14:11 +01:00
|
|
|
- libdisplay-info-dev
|
2018-12-05 10:42:34 +01:00
|
|
|
- libinput-dev
|
2022-08-18 19:17:33 +02:00
|
|
|
- libliftoff-dev
|
2018-12-05 10:42:34 +01:00
|
|
|
- libxkbcommon-dev
|
|
|
|
|
- mesa-dev
|
|
|
|
|
- meson
|
|
|
|
|
- pixman-dev
|
2021-02-21 18:30:12 +01:00
|
|
|
- vulkan-headers
|
|
|
|
|
- vulkan-loader-dev
|
2018-12-05 10:42:34 +01:00
|
|
|
- wayland-dev
|
|
|
|
|
- wayland-protocols
|
|
|
|
|
- xcb-util-image-dev
|
2021-01-20 20:06:28 -05:00
|
|
|
- xcb-util-renderutil-dev
|
2019-04-29 19:10:09 +03:00
|
|
|
- xcb-util-wm-dev
|
2022-06-12 09:01:53 +02:00
|
|
|
- xwayland-dev
|
2021-04-13 22:18:41 +02:00
|
|
|
- libseat-dev
|
2023-02-02 12:02:01 +01:00
|
|
|
- hwdata-dev
|
2023-06-30 16:34:17 +02:00
|
|
|
# for docs
|
|
|
|
|
- go
|
|
|
|
|
- zip
|
2018-12-05 10:42:34 +01:00
|
|
|
sources:
|
2021-11-01 17:28:16 +01:00
|
|
|
- https://gitlab.freedesktop.org/wlroots/wlroots.git
|
2023-06-30 16:34:17 +02:00
|
|
|
artifacts:
|
|
|
|
|
- public.zip
|
2018-12-05 10:42:34 +01:00
|
|
|
tasks:
|
|
|
|
|
- setup: |
|
|
|
|
|
cd wlroots
|
2024-06-05 00:56:22 +02:00
|
|
|
meson setup build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled --buildtype=debugoptimized
|
2018-12-05 10:42:34 +01:00
|
|
|
- build: |
|
|
|
|
|
cd wlroots
|
|
|
|
|
ninja -C build
|
2021-01-05 21:15:27 -05:00
|
|
|
sudo ninja -C build install
|
2019-12-25 22:40:22 +01:00
|
|
|
- build-features-disabled: |
|
|
|
|
|
cd wlroots
|
2024-04-30 17:21:14 +02:00
|
|
|
meson setup build --reconfigure -Dauto_features=disabled
|
2019-12-25 22:40:22 +01:00
|
|
|
ninja -C build
|
2021-01-05 21:15:27 -05:00
|
|
|
- tinywl: |
|
|
|
|
|
cd wlroots/tinywl
|
|
|
|
|
make
|
2023-06-30 16:34:17 +02:00
|
|
|
- docs: |
|
2025-03-06 10:32:09 +01:00
|
|
|
go install 'codeberg.org/emersion/gyosu@latest'
|
2023-06-30 16:34:17 +02:00
|
|
|
include_dir="$(echo /usr/local/include/wlroots-*)"
|
|
|
|
|
~/go/bin/gyosu \
|
|
|
|
|
-DWLR_USE_UNSTABLE \
|
|
|
|
|
$(pkg-config --cflags-only-I $(basename "$include_dir")) \
|
|
|
|
|
-Iwlroots/build/protocol/ \
|
|
|
|
|
-fexported-symbols='wlr_*' -fexported-symbols='WLR_*' \
|
|
|
|
|
-ffile-prefix-map="$include_dir/"= \
|
|
|
|
|
-fsite-name=wlroots \
|
|
|
|
|
-o public \
|
|
|
|
|
"$include_dir/wlr/"
|
|
|
|
|
zip -r ~/public.zip public/
|