2011-08-11 19:27:10 +00:00
|
|
|
# Template file for 'libva'
|
|
|
|
pkgname=libva
|
2015-03-21 01:40:02 +00:00
|
|
|
_distver=1.5.1
|
2012-08-16 09:09:49 +00:00
|
|
|
version=1:${_distver}
|
2015-03-21 01:40:02 +00:00
|
|
|
revision=1
|
2012-08-16 09:09:49 +00:00
|
|
|
wrksrc="${pkgname}-${_distver}"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2015-03-12 21:35:07 +00:00
|
|
|
configure_args="--disable-static --enable-x11 --disable-egl --disable-glx"
|
|
|
|
hostmakedepends="automake pkg-config libtool"
|
|
|
|
makedepends="libXfixes-devel libXext-devel libdrm-devel wayland-devel"
|
2011-08-11 19:27:10 +00:00
|
|
|
short_desc="Video Acceleration (VA) API"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://freedesktop.org/wiki/Software/vaapi"
|
|
|
|
license="MIT"
|
2012-10-09 17:44:21 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2"
|
2015-03-21 01:40:02 +00:00
|
|
|
checksum=2511b25ead7a6ac1358bc4b81157647fef61e3904ccaca3cfefc3e976a0da005
|
2011-08-11 19:27:10 +00:00
|
|
|
|
2014-08-24 18:16:06 +00:00
|
|
|
pre_configure() {
|
2015-03-12 21:35:07 +00:00
|
|
|
autoreconf -fi
|
2014-08-24 18:16:06 +00:00
|
|
|
}
|
2011-11-03 08:54:47 +00:00
|
|
|
post_install() {
|
2014-08-24 18:16:06 +00:00
|
|
|
vlicense COPYING
|
2011-08-11 19:27:10 +00:00
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libva-devel_package() {
|
2014-09-30 07:09:28 +00:00
|
|
|
depends="wayland-devel ${sourcepkg}>=${version}_${revision}"
|
2013-06-26 20:58:32 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-09-30 07:09:28 +00:00
|
|
|
vmove usr/lib/*.so
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|