Skip to content
Snippets Groups Projects
Commit bdf2a917 authored by Damian Kurek's avatar Damian Kurek Committed by Leo
Browse files

testing/osl: upgrade to 1.11.12.0

parent 7f79e899
No related branches found
No related tags found
1 merge request!19822testing/osl: upgrade to 1.11.12.0
# Contributor: Damian Kurek <starfire24680@gmail.com>
# Maintainer: Damian Kurek <starfire24680@gmail.com>
pkgname=osl
pkgver=1.11.11.0
pkgrel=1
pkgver=1.11.12.0
pkgrel=0
pkgdesc="Advanced shading language for production GI renderers"
options="!check" # All tests fail
url="https://opensource.imageworks.com/osl.html"
......@@ -25,14 +25,14 @@ builddir="$srcdir/OpenShadingLanguage-Release-$pkgver"
prepare() {
default_prepare
sed -i -e "s/COMMAND python/COMMAND python3/" $(find . -iname CMakeLists.txt)
find . -iname CMakeLists.txt -exec sed -i -e "s/COMMAND python/COMMAND python3/" {} +
}
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=None \
......@@ -75,4 +75,4 @@ _osl() {
amove usr/lib/osl.imageio.so
}
sha512sums="2a5e45255d21edea631cf6fd957eb8516fc87760e16ae4f32c7f732cfb3500f92477ad9b9fbda50bc34e2fc89867d3c7ff0e31ecb815c053dcf77dc226a2681c osl-1.11.11.0.tar.gz"
sha512sums="83ee6a9362e87e2afa9af169f8c9a1e10c6ed57412f008305f87b1ebe0a96b051124ecccf10ceb552dbc52efbfc3692d461d2b286987e6f35df5c657d479ee7f osl-1.11.12.0.tar.gz"
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