summaryrefslogtreecommitdiff
path: root/repo/x11/libva/libva.xibuild
blob: 7d6c66bdd870bcfb8909a94961dd53b8a8a06918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

MAKEDEPS="make"
DEPS="libdrm libgl libx11 libxext libxfixes wayland"

DESC="Video Acceleration API"

PKG_VER=2.13.0
SOURCE=https://github.com/intel/libva/releases/download/$PKG_VER/libva-$PKG_VER.tar.bz2

build () {
    mkdir build &&
    cd build
    meson --prefix=/usr \
        -Dwith_glx=yes \
        -Dwith_wayland=yes
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}