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


                                                 
          
        



                                                      
          
                                                              
                          
                                                                                             

         


                             


         
                           


           
                                                

 
                                                                                                                                                                   
# Contributor: Carlo Landmeter
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libvdpau
pkgver=1.3
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/1.3/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="c06c23062816e8b207d38d9d53df43a1b193bb9836b48bd6d79a63d76522e87d383c446285b9877fe9c99faa0d290da8a49ccbb58eefa138cc38d0929a8e1330  libvdpau-1.3.tar.bz2"