summaryrefslogblamecommitdiff
path: root/user/libvdpau/APKBUILD
blob: b5239001a369e3cc5283094d81231215cd60fbcc (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     

                                                 
          
        



                                                      
          
                                                              
                          
                                                                                                 

         


                             


         
                           


           
                                                

 
                                                                                                                                                                   
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libvdpau
pkgver=1.4
pkgrel=0
pkgdesc="Hardware-accelerated video playback library"
url="https://cgit.freedesktop.org/~aplattner/libvdpau"
arch="all"
license="MIT"
depends=""
makedepends="libx11-dev libxext-dev meson ninja xorgproto-dev"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$pkgver/libvdpau-$pkgver.tar.bz2"

build() {
	meson -Dprefix=/usr \
		build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="68f502f53f4a95c9af571bd5a3f5048dd1afe30d7576f7e80751c7f29450ef8cb226c1281562b616079d6c177830ec67391d0fae33348a4627ca8c113990cd01  libvdpau-1.4.tar.bz2"