blob: 83bfad60e82dc11f9a7709447483f1caec00489f (
plain) (
tree)
|
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libva
pkgver=2.4.0
pkgrel=0
pkgdesc="Video Acceleration (VA) API for Linux"
url="https://github.com/intel/libva"
arch="all"
options="!check" # No test suite.
license="MIT"
depends=""
depends_dev="mesa-dev"
makedepends="$depends_dev autoconf automake libtool"
subpackages="$pkgname-dev"
source="https://github.com/intel/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
prepare() {
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() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-x11 \
--disable-wayland \
--disable-static \
--enable-shared
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="67373e20932bca0d52cd8f48ed10c1f01752be73642ad4d2c85dcee813dccf205c8ca62fdc69fb3f4f83a685e2a8ef2c6646174e3453a8f5763cac16a58321c3 libva-2.4.0.tar.bz2"
|