void-packages/srcpkgs/libva/template
2015-07-02 07:21:19 +02:00

32 lines
910 B
Bash

# Template file for 'libva'
pkgname=libva
reverts=1:1.5.1_1
version=1.6.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-x11 --disable-egl --disable-glx"
hostmakedepends="automake pkg-config libtool"
makedepends="libXfixes-devel libXext-devel libdrm-devel wayland-devel"
short_desc="Video Acceleration (VA) API"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://freedesktop.org/wiki/Software/vaapi"
license="MIT"
distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${version}.tar.bz2"
checksum=3ad9dc9c1a6a10e9cc4234c2a1cd5e568ec0cd25145e86875eba6e0d69153458
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING
}
libva-devel_package() {
depends="wayland-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}