2011-08-11 21:27:10 +02:00
|
|
|
# Template file for 'libva'
|
|
|
|
pkgname=libva
|
2014-10-24 20:54:54 +02:00
|
|
|
_distver=1.4.1
|
2012-08-16 11:09:49 +02:00
|
|
|
version=1:${_distver}
|
2014-09-30 09:09:28 +02:00
|
|
|
revision=1
|
2012-08-16 11:09:49 +02:00
|
|
|
wrksrc="${pkgname}-${_distver}"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-09 19:44:21 +02:00
|
|
|
configure_args="--disable-static"
|
2014-08-24 20:16:06 +02:00
|
|
|
hostmakedepends="pkg-config libtool"
|
2014-03-24 17:53:22 +01:00
|
|
|
makedepends="libXfixes-devel MesaLib-devel wayland-devel"
|
2011-08-11 21:27:10 +02: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 19:44:21 +02:00
|
|
|
distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2"
|
2014-10-24 20:54:54 +02:00
|
|
|
checksum=0662af0ecdf1cfd2bb47e86f5bf66009554fe12ce7bf5b9cec6a2cc43f3f4c11
|
2011-08-11 21:27:10 +02:00
|
|
|
|
2014-08-24 20:16:06 +02:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
2011-11-03 09:54:47 +01:00
|
|
|
post_install() {
|
2014-08-24 20:16:06 +02:00
|
|
|
vlicense COPYING
|
2011-08-11 21:27:10 +02:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libva-devel_package() {
|
2014-09-30 09:09:28 +02:00
|
|
|
depends="wayland-devel ${sourcepkg}>=${version}_${revision}"
|
2013-06-26 22:58:32 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-09-30 09:09:28 +02:00
|
|
|
vmove usr/lib/*.so
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|