summaryrefslogblamecommitdiff
path: root/user/libva/APKBUILD
blob: 8e5efebfe09bf708760221411cc74009978a7e9b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                     
                                                 
             
            






                                               
                                                                       
                          
                                                                                             

         















                                           


                                      
                                                                                                                                                                  
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libva
pkgver=2.7.1
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=""
makedepends="libdrm-dev libx11-dev libxext-dev libxfixes-dev cmd:which"
subpackages="$pkgname-dev"
source="https://github.com/intel/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2"

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="f4b88ca0216f0ea4d934edcd322b8f741833b5a50ee2f34a3ecf60d635082b29e2dd032734c2f9d2a680e3b9c98e61a8b9432ea639a9fd5389761e04782c1126  libva-2.7.1.tar.bz2"