diff --git a/graphics/alembic-framework/alembic-framework.SlackBuild b/graphics/alembic-framework/alembic-framework.SlackBuild index e5a24a4e49..1f50c53621 100644 --- a/graphics/alembic-framework/alembic-framework.SlackBuild +++ b/graphics/alembic-framework/alembic-framework.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=alembic-framework -VERSION=${VERSION:-1.8.5} +VERSION=${VERSION:-1.8.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,7 +76,7 @@ find -L . \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - + if pkg-config --exists hdf5; then USEHDF5="" ; [ "${HDF5:-yes}" = "yes" ] && USEHDF5="-DUSE_HDF5=ON " else @@ -87,6 +87,12 @@ if ! (pkg-config --exists Imath); then sed -i -e 's:FIND_PACKAGE(Imath):#FIND_PACKAGE(Imath):g' cmake/AlembicIlmBase.cmake fi +if [ -d /usr/share/cmake-3.28 ]; then + CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD " +else + CMAKE_POLICY="" +fi + mkdir -p build cd build cmake \ @@ -96,6 +102,7 @@ cd build -DALEMBIC_LIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ -DUSE_PYALEMBIC=OFF \ $USEHDF5 \ + $CMAKE_POLICY \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG diff --git a/graphics/alembic-framework/alembic-framework.info b/graphics/alembic-framework/alembic-framework.info index 008872ac91..f414245fe7 100644 --- a/graphics/alembic-framework/alembic-framework.info +++ b/graphics/alembic-framework/alembic-framework.info @@ -1,8 +1,8 @@ PRGNAM="alembic-framework" -VERSION="1.8.5" +VERSION="1.8.6" HOMEPAGE="https://www.alembic.io" -DOWNLOAD="https://github.com/alembic/alembic/archive/1.8.5/alembic-1.8.5.tar.gz" -MD5SUM="fcd5b5492a005057e11b601b60ac9a49" +DOWNLOAD="https://github.com/alembic/alembic/archive/1.8.6/alembic-1.8.6.tar.gz" +MD5SUM="15b1d7e7396bb9dfad527a7cf13e8976" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""