Commit daba5176 authored by Leo's avatar Leo Committed by Natanael Copa

main/libva-intel-driver: update to 2.3.0

parent 86a99eec
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libva-intel-driver
pkgver=2.2.0
pkgver=2.3.0
pkgrel=0
pkgdesc="VA-API implementation for Intel GMA chipsets and Intel HD Graphics"
url="https://freedesktop.org/wiki/Software/vaapi"
arch="x86 x86_64"
license="MIT"
depends=""
makedepends="libdrm-dev libva-dev autoconf automake libtool"
install=""
subpackages=""
makedepends="libdrm-dev libva-dev wayland-dev meson"
install_if="libva xf86-video-intel"
source="${pkgname}-${pkgver}.tar.bz2::https://github.com/01org/intel-vaapi-driver/releases/download/${pkgver}/intel-vaapi-driver-${pkgver}.tar.bz2"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/intel/intel-vaapi-driver/archive/${pkgver}.tar.gz"
builddir="$srcdir"/intel-vaapi-driver-$pkgver
prepare() {
cd "$builddir"
default_prepare
# we need to regen the configure script which will unconditionally
# depend on wayland scanner otherwise
libtoolize --force && aclocal -I m4 && autoconf \
&& automake --add-missing
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
meson builddir \
--prefix=/usr \
--enable-x11 \
--disable-wayland \
--disable-static \
--enable-shared
make
-Dwith_wayland=yes \
-Dwith_x11=yes
ninja -C builddir
}
check() {
cd "$builddir"
make check
ninja -C builddir test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" ninja -C builddir install
}
sha512sums="7f269a513e827a2a291bf513c860de0341daf487697b47d4515fcdf78a1b51d0ab5e491bdc1a1babaa888ecc3dcfb1c7ae16624eee41b2d3609c8d1d24d0e12f libva-intel-driver-2.2.0.tar.bz2"
sha512sums="98cb6e6bdc22eefa0c7f245d3a2f1fc586d5066e9273c9031e76c30d96fc5902859119ddd4ef2ba39cd044aff57edae3a90ab2e5478c47e118132f8b2c28f1dc libva-intel-driver-2.3.0.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment