void-packages/srcpkgs/virglrenderer/template

29 lines
852 B
Bash

# Template file for 'virglrenderer'
pkgname=virglrenderer
version=0.8.1
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=51c34b1c16721d785b1fd551ebefad9ac3523450c5bcbc01f2d1032b33014146
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
}
}