void-packages/srcpkgs/libva/template
2015-09-10 07:20:07 +02:00

32 lines
910 B
Bash

# Template file for 'libva'
pkgname=libva
reverts=1:1.5.1_1
version=1.6.1
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=7fa2c23fb4431ed8590a52173db18e8760fabb7321d14110c574cc8674594e2e
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
}
}