blob: 6d832dc1d67d7893c19a6c84ca64b3003599c4e3 (
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
26
27
28
|
pkgname=mingw-w64-libva
pkgdesc="Video Acceleration (VA) API for Linux (mingw-w64)"
pkgver=2.17.0
pkgrel=1
arch=('any')
makedepends=('mingw-w64-meson')
url="https://01.org/linuxmedia/vaapi"
license=('MIT')
options=('staticlibs' '!strip' '!buildflags')
source=("https://github.com/intel/libva/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('8940541980ef998a36cd8f6ad905e81838ea4ddf56dc479ed2bebd12711e6001')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
build() {
cd libva-$pkgver
for _arch in ${_architectures}; do
${_arch}-meson build-${_arch}
ninja -C build-${_arch} ${MAKEFLAGS}
done
}
package() {
cd libva-$pkgver
for _arch in ${_architectures}; do
DESTDIR="$pkgdir" ninja -C build-${_arch} install
done
}
|