mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
113 lines
2.6 KiB
Bash
113 lines
2.6 KiB
Bash
SUMMARY="An open framework for storing and sharing scene data"
|
|
DESCRIPTION="Alembic is an open computer graphics interchange framework. \
|
|
Alembic distills complex, animated scenes into a non-procedural, \
|
|
application-independent set of baked geometric results. This \'distillation\' \
|
|
of scenes into baked geometry is exactly analogous to the distillation of \
|
|
lighting and rendering scenes into rendered image data."
|
|
HOMEPAGE="http://www.alembic.io/"
|
|
COPYRIGHT="2009-2016 Sony Pictures Imageworks
|
|
2009-2016 Industrial Light and Magic"
|
|
LICENSE="ALEMBIC"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/alembic/alembic/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256='eac349ff0fbec851f270370de963a436e30f0b5897e5e7ce292f966be6b7a9c5'
|
|
PATCHES="alembic-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
alembic$secondaryArchSuffix = $portVersion
|
|
cmd:abcconvert
|
|
cmd:abcdiff
|
|
cmd:abcecho
|
|
cmd:abcechobounds
|
|
cmd:abcls
|
|
cmd:abcstitcher
|
|
cmd:abctree
|
|
lib:libalembic$secondaryArchSuffix = 1.7.4 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libboost_system$secondaryArchSuffix
|
|
lib:libHalf$secondaryArchSuffix
|
|
lib:libhdf5$secondaryArchSuffix
|
|
lib:libIex_2_2$secondaryArchSuffix
|
|
lib:libIexMath_2_2$secondaryArchSuffix
|
|
lib:libIlmThread_2_2$secondaryArchSuffix
|
|
lib:libImath_2_2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
alembic${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libalembic$secondaryArchSuffix = 1.7.4 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
alembic$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libboost_system$secondaryArchSuffix
|
|
devel:libHalf$secondaryArchSuffix
|
|
devel:libhdf5$secondaryArchSuffix
|
|
devel:libIex_2_2$secondaryArchSuffix
|
|
devel:libIexMath_2_2$secondaryArchSuffix
|
|
devel:libIlmThread_2_2$secondaryArchSuffix
|
|
devel:libImath_2_2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage alembic$secondaryArchSuffix \
|
|
$libDir/libAlembic.so.$portVersion \
|
|
$binDirabcconvert \
|
|
$binDirabcdiff \
|
|
$binDirabcecho \
|
|
$binDirabcechobounds \
|
|
$binDirabcls \
|
|
$binDirabcstitcher \
|
|
$binDirabctree
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
cmake .. \
|
|
-DUSE_HDF5=ON \
|
|
-DALEMBIC_LIB_USES_BOOST=ON \
|
|
$cmakeDirArgs
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
mkdir -p $includeDir
|
|
mv $prefix/include/* $includeDir/
|
|
rm -rf $prefix/include
|
|
|
|
prepareInstalledDevelLib libAlembic
|
|
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$libDir/cmake
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|