]> git.pld-linux.org Git - packages/OpenImageIO.git/blobdiff - OpenImageIO.spec
- rebuild with libwebp 0.4.0
[packages/OpenImageIO.git] / OpenImageIO.spec
index 40e9d5034716a48ccdf32c00a978b1f3674da7e9..f08bda27b223002d9dc535dd088103e0cc2ccd80 100644 (file)
@@ -5,16 +5,19 @@
 %bcond_without static_libs     # don't build static libraries
 %bcond_without tbb             # Threading Building Blocks
 #
-%ifarch i486
+%ifarch i386 i486
 # https://github.com/OpenImageIO/oiio/issues/583
 %undefine      with_tbb
 %endif
+%ifnarch %{ix86} %{x8664} %{arm} ia64 ppc ppc64
+%undefine      with_tbb
+%endif
 #
 Summary:       Library for reading and writing images
 Summary(pl.UTF-8):     Biblioteka do odczytu i zapisu obrazów
 Name:          OpenImageIO
 Version:       1.2.3
-Release:       3
+Release:       6
 License:       BSD
 Group:         Libraries
 Source0:       https://github.com/OpenImageIO/oiio/tarball/Release-%{version}/%{name}-%{version}.tar.gz
@@ -319,6 +322,9 @@ Wiązanie Pythona do biblioteki OpenImageIO.
 install -d build
 cd build
 %cmake ../src \
+%ifarch i386 i486
+       -DNOTHREADS=1 \
+%endif
        -DEMBEDPLUGINS=OFF \
        -DOPENJPEG_INCLUDE_DIR=%{_includedir}/openjpeg-1.5 \
        -DINCLUDE_INSTALL_DIR=%{_includedir}/%{name} \
This page took 0.298627 seconds and 4 git commands to generate.