pantry/projects/freedesktop.org/vdpau/package.yml

31 lines
795 B
YAML
Raw Normal View History

2023-07-29 19:00:56 +03:00
distributable:
url: https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/{{version.marketing}}/libvdpau-{{version.marketing}}.tar.bz2
strip-components: 1
display-name: vdpau
versions:
gitlab: gitlab.freedesktop.org:vdpau/libvdpau
dependencies:
x.org/x11: '*'
x.org/exts: '*'
x.org/protocol: '*'
build:
dependencies:
mesonbuild.com: '*'
ninja-build.org: '*'
freedesktop.org/pkg-config: '*'
script:
- meson setup build $ARGS
- meson compile -C build --verbose
- meson install -C build
env:
ARGS:
- --prefix={{prefix}}
- --libdir={{prefix}}/lib
- --buildtype=release
- --wrap-mode=nofallback
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
- pkg-config --modversion vdpau | grep {{version.marketing}}