34 lines
945 B
Bash
34 lines
945 B
Bash
# Template file for 'libva'
|
|
pkgname=libva
|
|
_distver=1.5.1
|
|
version=1:${_distver}
|
|
revision=1
|
|
wrksrc="${pkgname}-${_distver}"
|
|
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@gmail.com>"
|
|
homepage="http://freedesktop.org/wiki/Software/vaapi"
|
|
license="MIT"
|
|
distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2"
|
|
checksum=2511b25ead7a6ac1358bc4b81157647fef61e3904ccaca3cfefc3e976a0da005
|
|
|
|
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
|
|
}
|
|
}
|