aboutsummaryrefslogtreecommitdiffstats
path: root/main/libva/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-24 14:43:55 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-07 18:38:45 +0000
commit343339a511f4b71829b7a72cf887f64247fac39e (patch)
treec15b4c0d49807ce3305acf786503137c54d67dcb /main/libva/APKBUILD
parentf51e4340045546f8b09778905e803f50aee3b470 (diff)
downloadaports-343339a511f4b71829b7a72cf887f64247fac39e.tar.bz2
aports-343339a511f4b71829b7a72cf887f64247fac39e.tar.xz
main/libva: update to 2.4.1
- Switch to meson build system - Enable wayland support
Diffstat (limited to 'main/libva/APKBUILD')
-rw-r--r--main/libva/APKBUILD33
1 files changed, 9 insertions, 24 deletions
diff --git a/main/libva/APKBUILD b/main/libva/APKBUILD
index 7936da60aa..2c68db3372 100644
--- a/main/libva/APKBUILD
+++ b/main/libva/APKBUILD
@@ -1,19 +1,17 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libva
-pkgver=2.2.0
+pkgver=2.4.1
pkgrel=0
pkgdesc="Video Acceleration (VA) API for Linux"
url="https://freedesktop.org/wiki/Software/vaapi"
arch="all"
options="!check" # No test suite.
license="MIT"
-depends=""
depends_dev="libx11-dev libxext-dev libxfixes-dev libdrm-dev"
-makedepends="$depends_dev autoconf automake libtool"
-install=""
+makedepends="$depends_dev meson wayland-dev"
subpackages="$pkgname-dev"
-source="https://github.com/01org/libva/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2"
+source="$pkgname-$pkgver.tar.gz::https://github.com/intel/libva/archive/${pkgver}.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -26,33 +24,20 @@ prepare() {
fi )
cd "$builddir"
default_prepare
- # we need to regen the configure script which will unconditionally
- # depend on wayland scanner otherwise
- libtoolize --force && aclocal -I m4 && autoconf \
- && automake --add-missing
}
build() {
cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson builddir \
--prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --enable-x11 \
- --disable-glx \
- --disable-wayland \
- --disable-static \
- --enable-shared
- make
+ -Dwith_glx=no \
+ -Dwith_wayland=yes
+ ninja -C builddir
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C builddir install
}
-sha512sums="21e79b32cd846f3786635f470763c2046b302fdd3574eb70ac67c40140168ec76a33e2bbcdd2408859b38b9774fa15c89429e128ef381092505b4f39b1b1331a libva-2.2.0.tar.bz2"
+sha512sums="6ad2255aebcc62b3a7f67f03585f8046742a8a9b33c0feaee7dc0a713ab2117b13f154c3574f98aa2fb07fd2336635df3ea2675ec4d1c25ae3b2834aeab8692e libva-2.4.1.tar.gz"