void-packages/srcpkgs/libva/template
2016-03-15 18:36:21 +01:00

31 lines
876 B
Bash

# Template file for 'libva'
pkgname=libva
version=1.7.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="${FREEDESKTOP_SITE}/vaapi/releases/libva/libva-${version}.tar.bz2"
checksum=a689bccbcc81a66b458e448377f108c057d3eee44a2e21a23c92c549dc8bc95f
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
}
}