33 lines
888 B
Text
33 lines
888 B
Text
# Template file for 'libva'
|
|
pkgname=libva
|
|
_distver=1.4.1
|
|
version=1:${_distver}
|
|
revision=1
|
|
wrksrc="${pkgname}-${_distver}"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config libtool"
|
|
makedepends="libXfixes-devel MesaLib-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=0662af0ecdf1cfd2bb47e86f5bf66009554fe12ce7bf5b9cec6a2cc43f3f4c11
|
|
|
|
pre_configure() {
|
|
libtoolize -f
|
|
}
|
|
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
|
|
}
|
|
}
|