void-packages/srcpkgs/virglrenderer/template

28 lines
812 B
Bash

# Template file for 'virglrenderer'
pkgname=virglrenderer
version=1.0.1
revision=1
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=446ab3e265f574ec598e77bdfbf0616ee3c77361f0574bec733ba4bac4df730a
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
}
}