From f066ea6fc9786e0972a11cba91fe7174c808a171 Mon Sep 17 00:00:00 2001 From: Dmitry Zakharchenko Date: Thu, 4 Nov 2021 17:12:16 +0200 Subject: [PATCH] libplacebo: update to 4.157.0. Build for armv6l-musl fails without libatomic explicitly set. --- common/shlibs | 2 +- srcpkgs/libplacebo/template | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/common/shlibs b/common/shlibs index 99da7f5200..1011051af4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3436,7 +3436,7 @@ libSoapySDR.so.0.7 SoapySDR-0.7.0_1 libeditorconfig.so.0 editorconfig-0.12.2_1 libcfitsio.so.9 cfitsio-3.480_1 libapparmor.so.1 libapparmor-2.12.0_1 -libplacebo.so.72 libplacebo-2.72.0_1 +libplacebo.so.157 libplacebo-4.157.0_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 9d843e26af..365249d965 100644 --- a/srcpkgs/libplacebo/template +++ b/srcpkgs/libplacebo/template @@ -1,6 +1,6 @@ # Template file for 'libplacebo' pkgname=libplacebo -version=2.72.2 +version=4.157.0 revision=1 wrksrc="${pkgname}-v${version}" build_style=meson @@ -14,7 +14,12 @@ maintainer="Orphaned " 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=5d3c51bb98d9727a255234a522f631f00d62a9e87115fb14251d991fc5076979 +checksum=8ee7773fb7813520b6b1e5f8f207cdf0071a7cf48ca0ce871e956ae6f4d0d538 + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + LDFLAGS+=" -latomic" +fi build_options="lcms opengl" build_options_default="lcms opengl"