summaryrefslogtreecommitdiff
path: root/repo/x11/libva/libva.xibuild
blob: 786a1b542ee7f094bf86b87da41fc01d3f0c3997 (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 libx11 mesa 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
}