mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
graphics/alembic-framework: Updated for version 1.8.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4e7bf32921
commit
77ae22abb3
2 changed files with 12 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue