33 lines
925 B
Bash
33 lines
925 B
Bash
# Template file for 'libXvMC'
|
|
pkgname=libXvMC
|
|
version=1.0.13
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://gitlab.freedesktop.org/xorg/lib/libxvmc"
|
|
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
|
|
checksum=0a9ebe6dea7888a747e5aca1b891d53cd7d3a5f141a9645f77d9b6a12cee657c
|
|
|
|
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
|
|
}
|
|
}
|