void-packages/srcpkgs/libXvMC/template

33 lines
913 B
Bash

# Template file for 'libXvMC'
pkgname=libXvMC
version=1.0.12
revision=2
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="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=6b3da7977b3f7eaf4f0ac6470ab1e562298d82c4e79077765787963ab7966dcd
post_install() {
# this file is now part of xorgproto.
rm -f ${DESTDIR}/usr/include/X11/extensions/vldXvMC.h
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
}
}