void-packages/srcpkgs/libXvMC/template
2019-03-17 02:18:09 -03:00

30 lines
822 B
Bash

# Template file for 'libXvMC'
pkgname=libXvMC
version=1.0.11
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel libXext-devel libXv-devel"
short_desc="XVideo Motion Compensation Library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=4a2e34d444a683a7c010b01b23cefe2b8043a063ce4dc6a9b855836b5262622d
post_install() {
vlicense COPYING
}
libXvMC-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/doc
}
}