pantry/projects/freedesktop.org/vdpau/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

30 lines
795 B
YAML

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}}