void-packages/srcpkgs/libplacebo/template

25 lines
804 B
Bash

# Template file for 'libplacebo'
pkgname=libplacebo
version=0.5.0
revision=3
build_style=meson
configure_args="-Dvulkan=true -Dglslang=true -Dshaderc=true"
hostmakedepends="pkg-config"
makedepends="vulkan-loader glslang shaderc Vulkan-Headers"
short_desc="Reusable library for GPU-accelerated video/image rendering"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/haasn/libplacebo"
distfiles="https://github.com/haasn/libplacebo/archive/v${version}.tar.gz"
checksum=2cc7729a25cb1c265b96900cd22727d96ce984c16cf57bfb784c7f988a5e32a7
libplacebo-devel_package() {
depends="libplacebo-${version}_${revision} vulkan-loader"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}