summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee68e081c8be50f2b64d222f02a67ecc090229a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Martins Mozeiko <martins.mozeiko@gmail.com>

pkgname=libva-utils-headless
pkgver=2.11.1
pkgrel=1
pkgdesc='Intel VA-API Media Applications and Scripts for headless libva'
arch=('x86_64')
url='https://github.com/intel/libva-utils'
license=('custom')
depends=('libva-headless')
makedepends=('meson')
conflicts=('libva-utils')
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('0c1eb7f717e391d00da74c53a9fe5caf3d6c510dcd35bac7f71a0e59ad1b8d26')

build() {
  arch-meson "libva-utils-${pkgver}" "libva-utils-${pkgver}.build" -Ddrm=true -Dx11=false -Dwayland=false
  ninja -C "libva-utils-${pkgver}.build"
}

package() {
  DESTDIR="${pkgdir}" meson install -C "libva-utils-${pkgver}.build"

  install -Dm644 "libva-utils-${pkgver}"/COPYING "${pkgdir}"/usr/share/licenses/libva-utils/COPYING
}