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