void-packages/srcpkgs/libplacebo/template
2019-12-27 05:46:16 +01:00

24 lines
842 B
Bash

# Template file for 'libplacebo'
pkgname=libplacebo
version=1.29.1
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="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=ec8fed9ab1e9005917bf9f35b547d831548c63285d64ac965e7ad160579ab951
libplacebo-devel_package() {
depends="libplacebo-${version}_${revision} vulkan-loader lcms2-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}