From 0d551a6baf3ce12b9f6a899840cfcaf072503a9c Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Sat, 29 Jul 2023 19:00:56 +0300 Subject: [PATCH] freedesktop.org/vdpau --- projects/freedesktop.org/vdpau/package.yml | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 projects/freedesktop.org/vdpau/package.yml diff --git a/projects/freedesktop.org/vdpau/package.yml b/projects/freedesktop.org/vdpau/package.yml new file mode 100644 index 00000000..2452120d --- /dev/null +++ b/projects/freedesktop.org/vdpau/package.yml @@ -0,0 +1,31 @@ +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: + tea.xyz/gx/cc: c99 + 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}}