libplacebo: update to 2.27.2

This commit is contained in:
Issam E. Maghni 2020-11-23 22:47:41 -05:00 committed by Érico Nogueira Rolim
parent d47d28fc95
commit 9495266d35

View file

@ -1,22 +1,29 @@
# Template file for 'libplacebo'
pkgname=libplacebo
version=2.72.0
version=2.72.2
revision=1
wrksrc="${pkgname}-v${version}"
build_style=meson
configure_args="-Dvulkan=enabled -Dglslang=disabled -Dshaderc=enabled"
configure_args="-Dshaderc=enabled -Dvulkan=enabled
-Dlcms=$(vopt_if lcms en dis)abled -Dopengl=$(vopt_if opengl en dis)abled"
hostmakedepends="pkg-config python3-Mako Vulkan-Headers"
makedepends="vulkan-loader glslang-devel shaderc Vulkan-Headers lcms2-devel
libepoxy-devel"
makedepends="shaderc Vulkan-Headers vulkan-loader $(vopt_if lcms lcms2-devel)
$(vopt_if opengl 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
homepage="https://code.videolan.org/videolan/libplacebo"
distfiles="https://code.videolan.org/videolan/libplacebo/-/archive/v${version}/libplacebo-v${version}.tar.gz"
checksum=5d3c51bb98d9727a255234a522f631f00d62a9e87115fb14251d991fc5076979
build_options="lcms opengl"
build_options_default="lcms opengl"
desc_option_lcms="Enable support for LittleCMS 2 engine"
desc_option_opengl="Enable support for OpenGL-based renderer"
libplacebo-devel_package() {
depends="libplacebo-${version}_${revision} vulkan-loader lcms2-devel
libepoxy-devel"
depends="${sourcepkg}>=${version}_${revision} vulkan-loader
$(vopt_if lcms lcms2-devel) $(vopt_if opengl libepoxy-devel)"
short_desc+=" - development files"
pkg_install() {
vmove usr/include