pantry/projects/wayland.freedesktop.org/package.yml
2023-10-01 20:41:57 -04:00

38 lines
867 B
YAML

distributable:
url: https://gitlab.freedesktop.org/wayland/wayland/-/releases/{{version}}/downloads/wayland-{{version}}.tar.xz
strip-components: 1
display-name: wayland
platforms:
- linux
versions:
gitlab: gitlab.freedesktop.org:wayland/wayland
dependencies:
libexpat.github.io: '*'
sourceware.org/libffi: '*'
gnome.org/libxml2: '*'
build:
dependencies:
mesonbuild.com: '*'
ninja-build.org: '*'
gnu.org/make: '*'
cmake.org: '*'
freedesktop.org/pkg-config: '*'
working-directory: build
script:
- meson $ARGS ..
- ninja -v
- ninja install -v
env:
ARGS:
- --prefix={{prefix}}
- --libdir={{prefix}}/lib
- --buildtype=release
- --wrap-mode=nofallback
- -Dtests=false
- -Ddocumentation=false
provides:
- bin/wayland-scanner
test:
script:
- cc test.c -o test
- ./test