Skip to content
Snippets Groups Projects
Verified Commit e69da5e6 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/libvdpau: bump to 1.3, migrate to meson

parent 8fa8f4db
No related branches found
No related tags found
No related merge requests found
# Contributor: Carlo Landmeter
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libvdpau
pkgver=1.2
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 xorgproto-dev"
makedepends="libx11-dev libxext-dev meson ninja xorgproto-dev"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/14b620084c027d546fa0b3f083b800c6/libvdpau-1.2.tar.bz2"
source="https://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/libvdpau-$pkgver.tar.xz"
build() {
LIBS="-lX11" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
meson -Dprefix=/usr \
build
ninja -C build
}
check() {
make check
ninja -C build test
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" ninja -C build install
}
sha512sums="86aa3f2a39cb73a597bf417da2eeef73ff01160ed9f54dff3725785ff5a289f47040496de44e2f5292d59657d4746e369b3fa307c4f83a32f7cc28e4cd8bce6f libvdpau-1.2.tar.bz2"
sha512sums="a839ed06ac3bb1ceaa8020e38f40f6dd1d1af066878effbc02e3b02f0917ccdad4059ac2a4428ca39265bda3ba02885d905231f365b86151bae28d135d8de3d5 libvdpau-1.3.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment