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


                                                 

          



                                                      
          
                                                  
                                       
                                                                                                                    

         











                                         



                  
                                      

 
                                                                                                                                                                   
# Contributor: Carlo Landmeter
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libvdpau
pkgver=1.2
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 xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/14b620084c027d546fa0b3f083b800c6/libvdpau-1.2.tar.bz2"

build() {
	LIBS="-lX11" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="86aa3f2a39cb73a597bf417da2eeef73ff01160ed9f54dff3725785ff5a289f47040496de44e2f5292d59657d4746e369b3fa307c4f83a32f7cc28e4cd8bce6f  libvdpau-1.2.tar.bz2"