void-packages/srcpkgs/libplacebo/template

25 lines
832 B
Bash

# Template file for 'libplacebo'
pkgname=libplacebo
version=0.6.0
revision=1
build_style=meson
configure_args="-Dvulkan=enabled -Dglslang=disabled -Dshaderc=enabled"
hostmakedepends="pkg-config"
makedepends="vulkan-loader glslang-devel shaderc Vulkan-Headers lcms2-devel"
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=199b0b76be2c20d1ef9c78bea1e2409781026398c9689187e5e5d69a775e65ee
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"
}
}