summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Giancarlo Dessi2023-12-22 00:44:42 +0100
committer Willy Sudiarto Raharjo2023-12-24 13:17:54 +0100
commit77ae22abb32264645dc6f076c126cd45dc2e803a (patch)
treed4bb51c85fe08079d584805528557df98a21fd4e /graphics
parent4e7bf329216b141e624d5119ed464c228b1c7d70 (diff)
downloadslackbuilds-77ae22abb32264645dc6f076c126cd45dc2e803a.tar.gz
graphics/alembic-framework: Updated for version 1.8.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/alembic-framework/alembic-framework.SlackBuild11
-rw-r--r--graphics/alembic-framework/alembic-framework.info6
2 files changed, 12 insertions, 5 deletions
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=""