void-packages/srcpkgs/virglrenderer/template

28 lines
812 B
Bash

# Template file for 'virglrenderer'
pkgname=virglrenderer
version=1.0.0
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=4f864c9ba80a5ab474a5c6c103a1fc5bb2e7ab29a61a01fc121fbd04e7dcc3ac
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
}
}