summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 16:27:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 16:27:18 +0000
commite69da5e6db6cec31a5a33cfd3d77fe10b012c285 (patch)
tree599d1330b9d91c97a45923eb3a2759ee384e7eaa /user
parent8fa8f4dba24e60c1e2b71cbd792e260e28b39e12 (diff)
downloadpackages-e69da5e6db6cec31a5a33cfd3d77fe10b012c285.tar.gz
packages-e69da5e6db6cec31a5a33cfd3d77fe10b012c285.tar.bz2
packages-e69da5e6db6cec31a5a33cfd3d77fe10b012c285.tar.xz
packages-e69da5e6db6cec31a5a33cfd3d77fe10b012c285.zip
user/libvdpau: bump to 1.3, migrate to meson
Diffstat (limited to 'user')
-rw-r--r--user/libvdpau/APKBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/user/libvdpau/APKBUILD b/user/libvdpau/APKBUILD
index 6becf5507..4560d319c 100644
--- a/user/libvdpau/APKBUILD
+++ b/user/libvdpau/APKBUILD
@@ -1,35 +1,29 @@
# 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"