mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
1ed5137720
The dep allows us to check dep variables to discover supported features. With the binary we assume none of the features are supported. If a user forgets to install the pkg-config file (e.g. because it's in a split package) we end up incorrectly disabling all features. Instead let's error out.
37 lines
811 B
YAML
37 lines
811 B
YAML
image: alpine/edge
|
|
packages:
|
|
- eudev-dev
|
|
- ffmpeg-dev
|
|
- glslang
|
|
- libinput-dev
|
|
- libxkbcommon-dev
|
|
- mesa-dev
|
|
- meson
|
|
- pixman-dev
|
|
- vulkan-headers
|
|
- vulkan-loader-dev
|
|
- wayland-dev
|
|
- wayland-protocols
|
|
- xcb-util-image-dev
|
|
- xcb-util-renderutil-dev
|
|
- xcb-util-wm-dev
|
|
- xwayland-dev
|
|
- libseat-dev
|
|
- hwdata
|
|
sources:
|
|
- https://gitlab.freedesktop.org/wlroots/wlroots.git
|
|
tasks:
|
|
- setup: |
|
|
cd wlroots
|
|
meson build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled
|
|
- build: |
|
|
cd wlroots
|
|
ninja -C build
|
|
sudo ninja -C build install
|
|
- build-features-disabled: |
|
|
cd wlroots
|
|
meson build --reconfigure -Dauto_features=disabled
|
|
ninja -C build
|
|
- tinywl: |
|
|
cd wlroots/tinywl
|
|
make
|