void-packages/srcpkgs/virglrenderer/template

29 lines
854 B
Bash

# Template file for 'virglrenderer'
pkgname=virglrenderer
version=0.8.2
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=meson
hostmakedepends="pkg-config"
makedepends="libepoxy-devel MesaLib-devel"
short_desc="Virgl GL renderer library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/virgl/virglrenderer"
distfiles="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-${version}/virglrenderer-virglrenderer-${version}.tar.gz"
checksum=9fa93095cd9a3e5b13c740e5e3b656a989356732bdaf3e22acb7c38a1f1f4411
post_install() {
vlicense COPYING
}
virglrenderer-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}