pantry/projects/wayland.freedesktop.org/protocols/package.yml
Jacob Heider 2f481f00f4 fix(wayland-protocols)
closes #4904
2024-01-19 10:51:24 -05:00

32 lines
889 B
YAML

distributable:
url: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/{{version.tag}}/downloads/wayland-protocols-{{version.tag}}.tar.xz
strip-components: 1
display-name: wayland-protocols
versions:
gitlab: gitlab.freedesktop.org:wayland/wayland-protocols
platforms:
- linux
build:
dependencies:
mesonbuild.com: '*'
ninja-build.org: '*'
freedesktop.org/pkg-config: '*'
python.org: ~3.11
wayland.freedesktop.org: '*'
working-directory: build
script:
- meson $ARGS ..
- ninja -v
- ninja install -v
env:
ARGS:
- --prefix={{prefix}}
- --libdir={{prefix}}/lib
- --buildtype=release
- --wrap-mode=nofallback
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
- pkg-config --modversion wayland-protocols
- pkg-config --modversion wayland-protocols | grep {{version.marketing}}