]> git.pld-linux.org Git - packages/OpenImageIO.git/blobdiff - OpenImageIO.spec
- more complete (non-tbb, non-threads) archs lists
[packages/OpenImageIO.git] / OpenImageIO.spec
index 83469b5c604e240fe7f77806748544d53a7c8a19..24d6920922db6f9b8b655789a31cee7f51a35662 100644 (file)
@@ -5,11 +5,19 @@
 %bcond_without static_libs     # don't build static libraries
 %bcond_without tbb             # Threading Building Blocks
 #
+%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:       2
+Release:       4
 License:       BSD
 Group:         Libraries
 Source0:       https://github.com/OpenImageIO/oiio/tarball/Release-%{version}/%{name}-%{version}.tar.gz
@@ -21,8 +29,9 @@ Patch3:               %{name}-system-squish.patch
 Patch4:                %{name}-system-ptex.patch
 Patch5:                %{name}-system-dpx.patch
 Patch6:                %{name}-system-libcineon.patch
-Patch7:                no-gcc-atomics.patch
-Patch8:                %{name}-werror.patch
+Patch7:                %{name}-werror.patch
+Patch8:                0002-Fix_IlmBase_issue.patch
+Patch9:                0003-Fix_multiarch_paths.patch
 URL:           https://sites.google.com/site/openimageio/home
 BuildRequires: Field3D-devel
 %{?with_ocio:BuildRequires:    OpenColorIO-devel}
@@ -301,10 +310,9 @@ Wiązanie Pythona do biblioteki OpenImageIO.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%ifarch i386 i486
 %patch7 -p1
-%endif
 %patch8 -p1
+%patch9 -p1
 
 %{__rm} -r src/dds.imageio/squish src/ptex.imageio/ptex
 # when using system pugixml, don't use hacked headers
@@ -314,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.075574 seconds and 4 git commands to generate.