Skip to content

Commit

Permalink
intel.com/libva
Browse files Browse the repository at this point in the history
  • Loading branch information
and-ri authored and jhheider committed Jul 29, 2023
1 parent a9f7ee8 commit b514cea
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions projects/intel.com/libva/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
distributable:
url: https://github.com/intel/libva/releases/download/{{version}}/libva-{{version}}.tar.bz2
strip-components: 1
versions:
github: intel/libva
platforms:
- linux
dependencies:
dri.freedesktop.org: '*'
x.org/x11: '*'
x.org/exts: '*'
x.org/xfixes: '*'
wayland.freedesktop.org: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
gnu.org/make: '*'
freedesktop.org/pkg-config: '*'
script:
- ./configure $ARGS
- make --jobs {{hw.concurrency}}
- make --jobs {{hw.concurrency}} install
env:
ARGS:
- --prefix={{prefix}}
- --sysconfdir={{prefix}}/etc
- --libdir={{prefix}}/lib
- --localstatedir={{prefix}}/var
- --disable-dependency-tracking
- --disable-silent-rules
- --enable-drm
- --enable-x11
- --disable-glx
- --enable-wayland
test:
dependencies:
freedesktop.org/pkg-config: '*'
tea.xyz/gx/cc: '*'
script:
# we can't use --modversion becouse in *.pc files we have:
# libva_version=2.19.0
# Version: 1.19.0
# and --modversion return 1.19.0
- pkg-config --cflags libva | grep {{version}}
- pkg-config --cflags libva-drm | grep {{version}}
- pkg-config --cflags libva-x11 | grep {{version}}
- pkg-config --cflags libva-wayland | grep {{version}}

0 comments on commit b514cea

Please sign in to comment.