From 3545c7beae9d334e803e06a2aa1b74ac2d2b4a71 Mon Sep 17 00:00:00 2001 From: Matthias von Faber Date: Thu, 9 Jul 2020 19:34:54 +0200 Subject: [PATCH] alembic: update to 1.7.13, build without TR1 TR1 is an obsolete C++ extension and incompatible with Blender --- common/shlibs | 2 +- srcpkgs/alembic/template | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/common/shlibs b/common/shlibs index 75bf83002d5..be52293607b 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3939,7 +3939,7 @@ libOpenImageDenoise.so.0 openimagedenoise-1.2.0_1 libcbang0.so cbang-1.3.3_1 libblosc.so.1 c-blosc-1.17.1_1 libopenvdb.so.7.0 openvdb-7.0.0_1 -libAlembic.so.1.7 alembic-1.7.12_1 +libAlembic.so.1.7 alembic-1.7.13_1 libmodsecurity.so.3 modsecurity-3.0.4_1 libraven.so.0 budgie-desktop-10.5.1_1 libbudgie-private.so.0 budgie-desktop-10.5.1_1 diff --git a/srcpkgs/alembic/template b/srcpkgs/alembic/template index 89c51cb461f..71fc79c0da4 100644 --- a/srcpkgs/alembic/template +++ b/srcpkgs/alembic/template @@ -1,17 +1,16 @@ # Template file for 'alembic' pkgname=alembic -version=1.7.12 +version=1.7.13 revision=1 build_style=cmake -configure_args="-DALEMBIC_LIB_USES_TR1=1" hostmakedepends="pkg-config" -makedepends="zlib-devel ilmbase-devel libatomic-devel" +makedepends="zlib-devel ilmbase-devel" short_desc="Open framework for storing and sharing scene data" maintainer="Orphaned " license="BSD-3-Clause, MIT" homepage="https://alembic.io" distfiles="https://github.com/alembic/alembic/archive/${version}.tar.gz" -checksum=6c603b87c9a3eaa13618e577dd9ef5277018cdcd09ac82d3c196ad8bed6a1b48 +checksum=14a44a1d28d1a0736655e53fc529dd4d3993bf4d03535f66de9e634c9b47d441 case "$XBPS_TARGET_MACHINE" in ppc64*) ;; @@ -22,6 +21,14 @@ if [ -z "$CROSS_BUILD" ]; then makedepends+=" hdf5-devel" fi +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + + post_patch() { + printf '\ntarget_link_libraries(Alembic PRIVATE atomic)\n' >> lib/Alembic/CMakeLists.txt + } +fi + post_install() { vlicense LICENSE.txt }