diff --git a/srcpkgs/libva/template b/srcpkgs/libva/template index 31e4e7213a..3567ec6471 100644 --- a/srcpkgs/libva/template +++ b/srcpkgs/libva/template @@ -2,12 +2,11 @@ pkgname=libva _distver=1.3.1 version=1:${_distver} -revision=2 -only_for_archs="i686 x86_64" +revision=3 wrksrc="${pkgname}-${_distver}" build_style=gnu-configure configure_args="--disable-static" -hostmakedepends="pkg-config" +hostmakedepends="pkg-config libtool" makedepends="libXfixes-devel MesaLib-devel wayland-devel" short_desc="Video Acceleration (VA) API" maintainer="Juan RP " @@ -16,8 +15,12 @@ license="MIT" distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2" checksum=8789b1f1ca9cbc2c1ae477323ec8f5fb269b9360410d4d5e9ec96d679b3cc297 +pre_configure() { + libtoolize -f +} + post_install() { - vinstall COPYING 644 usr/share/licenses/${pkgname} + vlicense COPYING } libva-devel_package() {