From 2d383469ac0631ecf3d29003192531f30bc38aa0 Mon Sep 17 00:00:00 2001 From: triallax Date: Thu, 27 Jul 2023 17:11:38 +0100 Subject: [PATCH] libplacebo: update to 5.264.1. --- common/shlibs | 2 +- srcpkgs/libplacebo/template | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/common/shlibs b/common/shlibs index f300d28a2d6..64fae0a9be4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3483,7 +3483,7 @@ libSoapySDR.so.0.8 SoapySDR-0.8.1_1 libeditorconfig.so.0 editorconfig-0.12.2_1 libcfitsio.so.10 cfitsio-4.2.0_1 libapparmor.so.1 libapparmor-2.12.0_1 -libplacebo.so.208 libplacebo-4.208.0_1 +libplacebo.so.264 libplacebo-5.264.1_1 libw2xc.so waifu2x-converter-cpp-5.2_1 libnova-0.15.so.0 libnova-0.15.0_1 libcue.so.2 libcue-2.2.0_1 diff --git a/srcpkgs/libplacebo/template b/srcpkgs/libplacebo/template index 9258c184247..d18d96167f8 100644 --- a/srcpkgs/libplacebo/template +++ b/srcpkgs/libplacebo/template @@ -1,22 +1,25 @@ # Template file for 'libplacebo' pkgname=libplacebo -version=4.208.0 +version=5.264.1 revision=1 build_style=meson -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="shaderc Vulkan-Headers vulkan-loader $(vopt_if lcms lcms2-devel) - $(vopt_if opengl libepoxy-devel)" +configure_args="-Dshaderc=enabled -Dvulkan=enabled -Ddemos=false + $(vopt_feature lcms) $(vopt_feature opengl)" +hostmakedepends="pkg-config python3-Mako Vulkan-Headers python3-Jinja2 + $(vopt_if opengl python3-glad)" +makedepends="shaderc Vulkan-Headers vulkan-loader + $(vopt_if lcms lcms2-devel)" short_desc="Reusable library for GPU-accelerated video/image rendering" maintainer="Enrico Belleri " license="LGPL-2.1-or-later" homepage="https://code.videolan.org/videolan/libplacebo" distfiles="https://code.videolan.org/videolan/libplacebo/-/archive/v${version}/libplacebo-v${version}.tar.gz" -checksum=7b3c857934ee3d30f743e43d7f0606e10950806661ea0ea385f8a1f06cbab854 +checksum=9eb0c198f58d994f1c0d173dd37647d4d07d27972412c48ab758e984503c787b -if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then - LDFLAGS+=" -latomic" +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -Dtests=true" +else + configure_args+=" -Dtests=false" fi build_options="lcms opengl" @@ -25,7 +28,7 @@ desc_option_lcms="Enable support for LittleCMS 2 engine" libplacebo-devel_package() { depends="${sourcepkg}>=${version}_${revision} vulkan-loader - $(vopt_if lcms lcms2-devel) $(vopt_if opengl libepoxy-devel)" + $(vopt_if lcms lcms2-devel)" short_desc+=" - development files" pkg_install() { vmove usr/include