mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
openimageio: clean up
This commit is contained in:
@@ -8,7 +8,7 @@ world, and is also incorporated into several commercial products."
|
||||
HOMEPAGE="https://github.com/OpenImageIO/"
|
||||
COPYRIGHT="2008-2017 Larry Gritz et al."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="9"
|
||||
REVISION="10"
|
||||
SOURCE_URI="$HOMEPAGE/oiio/archive/Release-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9e070d56c0f71496ca77290a78abd948af9c2799983bc27c22a36dcc16ffe2e3"
|
||||
SOURCE_FILENAME="openimageio-$portVersion.tar.gz"
|
||||
@@ -112,9 +112,7 @@ defineDebugInfoPackage openimageio$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DUSE_OPENSSL=ON \
|
||||
-DUSE_PYTHON=OFF \
|
||||
-DCMAKE_CXX_FLAGS="-DBOOST_NO_CXX11_CONSTEXPR" \
|
||||
@@ -124,13 +122,12 @@ BUILD()
|
||||
-DMAN_INSTALL_DIR=$manDir \
|
||||
-DUSE_EXTERNAL_PUGIXML=ON \
|
||||
$cmakeDirArgs
|
||||
make $jobArgs
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLibs libOpenImageIO libOpenImageIO_Util
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user