void-packages/srcpkgs/libplacebo/template

27 lines
903 B
Bash

# Template file for 'libplacebo'
pkgname=libplacebo
version=2.72.0
revision=1
build_style=meson
configure_args="-Dvulkan=enabled -Dglslang=disabled -Dshaderc=enabled"
hostmakedepends="pkg-config python3-Mako Vulkan-Headers"
makedepends="vulkan-loader glslang-devel shaderc Vulkan-Headers lcms2-devel
libepoxy-devel"
short_desc="Reusable library for GPU-accelerated video/image rendering"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/haasn/libplacebo"
distfiles="https://github.com/haasn/libplacebo/archive/v${version}.tar.gz"
checksum=41f83de4271c00d01facce683af798035707874c21113dcf0b00e74b6fce713b
libplacebo-devel_package() {
depends="libplacebo-${version}_${revision} vulkan-loader lcms2-devel
libepoxy-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}