2011-11-03 07:41:30 +01:00
|
|
|
# Template file for 'libvdpau'
|
|
|
|
pkgname=libvdpau
|
2013-08-06 08:33:31 +02:00
|
|
|
version=0.7
|
2013-10-15 12:02:48 +02:00
|
|
|
revision=2
|
2011-11-03 07:41:30 +01:00
|
|
|
build_style=gnu-configure
|
2013-04-12 19:13:19 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="dri2proto libX11-devel libXext-devel"
|
2011-11-03 07:41:30 +01:00
|
|
|
short_desc="The Video Decode and Presentation API for UNIX"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://cgit.freedesktop.org/~aplattner/libvdpau"
|
|
|
|
license="MIT"
|
2012-09-05 09:45:48 +02:00
|
|
|
distfiles="http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${version}.tar.gz"
|
2013-08-06 08:33:31 +02:00
|
|
|
checksum=24dc08467ce8c59d6cfbf0d34d2dd1f86b4ff62e90777e0a8f513c5c9de9bce0
|
2011-11-03 07:41:30 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 19:13:19 +02:00
|
|
|
|
|
|
|
libvdpau-devel_package() {
|
2013-10-15 12:02:48 +02:00
|
|
|
depends="libX11-devel libvdpau>=${version}_${revision}"
|
2013-08-06 08:33:31 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 19:13:19 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-06 08:33:31 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 19:13:19 +02:00
|
|
|
}
|
|
|
|
}
|