void-packages/srcpkgs/virglrenderer/template

28 lines
813 B
Bash

# Template file for 'virglrenderer'
pkgname=virglrenderer
version=0.10.4
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=fd9a1b12473f4cda8d87e6ba1a6e5714a24355e16b69ed85df5c21bf48f797fa
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
}
}