void-packages/srcpkgs/libXvMC/template

34 lines
981 B
Text

# Template build file for 'libXvMC'.
pkgname=libXvMC
version=1.0.7
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="videoproto libX11-devel libXext-devel libXv-devel"
short_desc="XVideo Motion Compensation Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=28f085fc8518a3dadfe355360705d50153051f09898093e69af806c0b437cea3
long_desc="
X-Video Motion Compensation (XvMC) provides accelerated video
playback by offloading video decoding to hardware. It is an
extension of the X video extension for the X Window System."
libXvMC-devel_package() {
depends="libX11-devel libXext-devel libXv-devel libXvMC>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}
libXvMC_package() {
pkg_install() {
vmove usr
}
}