Skip to content
Snippets Groups Projects
Verified Commit 661340a1 authored by Dima Panov's avatar Dima Panov
Browse files
parent 65104b4a
No related branches found
No related tags found
No related merge requests found
PORTNAME= openshadinglanguage
DISTVERSIONPREFIX= v
DISTVERSION= 1.12.6.2
PORTREVISION= 4
DISTVERSION= 1.12.11.0
CATEGORIES?= graphics devel
MAINTAINER= FreeBSD@Shaneware.biz
COMMENT?= Advanced shading language for production GI renderers
WWW= https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
PATCH_SITES= https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/
PATCHFILES= 41cc6d78dba4115b7d4adcae7e4759ffa43c3833.patch:-p1
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BROKEN_FreeBSD_12_powerpc64= fails to compile: llvm_ops.cpp:101:10: fatal error: 'iostream' file not found
BROKEN_riscv64= fails to build: /usr/include/c++/v1/__threading_support:135:3: Unsupported architecture
BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libImath.so:math/Imath \
libOpenEXR.so:graphics/openexr \
libOpenImageIO.so:graphics/openimageio \
libpugixml.so:textproc/pugixml
RUN_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USES= bison cmake compiler:c++14-lang localbase ncurses qt:5
USES= bison cmake compiler:c++14-lang llvm:lib localbase ncurses qt:5
USE_QT= buildtools:build qmake:build
......@@ -34,8 +28,7 @@ GH_ACCOUNT= AcademySoftwareFoundation
GH_PROJECT= OpenShadingLanguage
CMAKE_ON= ENABLERTTI OSL_BUILD_TESTS USE_LLVM_BITCODE USE_LIBCPLUSPLUS
CMAKE_OFF= USE_BOOST_WAVE
CMAKE_ARGS+= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}" \
CMAKE_ARGS+= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VERSION}" \
-DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} -DCMAKE_CXX_STANDARD=14
OPTIONS_DEFINE= OSLTOY
......
TIMESTAMP = 1670254834
SHA256 (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.6.2_GH0.tar.gz) = 0115a0a09ac9ef0ade88f2434e1472323b335c3f0ddcca0ffd062f9cc822e629
SIZE (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.6.2_GH0.tar.gz) = 20247666
SHA256 (41cc6d78dba4115b7d4adcae7e4759ffa43c3833.patch) = e14769a4baf170e5af02b4f8ef3e26522ef4d9e120142f43fc7c8b175fc57e14
SIZE (41cc6d78dba4115b7d4adcae7e4759ffa43c3833.patch) = 1382
TIMESTAMP = 1681123465
SHA256 (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.11.0_GH0.tar.gz) = 760dc4df5c23867e92f58080e9d907da137325099d1a8bf95063785d63e550d5
SIZE (AcademySoftwareFoundation-OpenShadingLanguage-v1.12.11.0_GH0.tar.gz) = 20287156
PORTREVISION= 2
PORTREVISION= 0
CATEGORIES= graphics multimedia python
# Note this port shares its PORTREVISION with graphics/openshadinglanguage!
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment