]> git.pld-linux.org Git - packages/OpenImageIO.git/blobdiff - OpenImageIO.spec
- fix building with opencv 3.x
[packages/OpenImageIO.git] / OpenImageIO.spec
index d7aa4f00c18e0ce91653e2d1e19bb47c473a23fe..858f003d32f325752e2da9a9d799004d95852883 100644 (file)
@@ -17,7 +17,7 @@ Summary:      Library for reading and writing images
 Summary(pl.UTF-8):     Biblioteka do odczytu i zapisu obrazów
 Name:          OpenImageIO
 Version:       1.6.8
-Release:       2
+Release:       5
 License:       BSD
 Group:         Libraries
 Source0:       https://github.com/OpenImageIO/oiio/tarball/Release-%{version}/%{name}-%{version}.tar.gz
@@ -30,6 +30,8 @@ Patch4:               %{name}-system-libcineon.patch
 Patch5:                %{name}-werror.patch
 Patch6:                system-pugixml.patch
 Patch7:                fix-types.patch
+Patch8:                ffmpeg3.patch
+Patch9:                opencv3.patch
 URL:           https://sites.google.com/site/openimageio/home
 BuildRequires: Field3D-devel
 %{?with_ocio:BuildRequires:    OpenColorIO-devel}
@@ -351,6 +353,8 @@ Wiązanie Pythona do biblioteki OpenImageIO.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
+%patch9 -p1
 
 %{__rm} -r src/dds.imageio/squish src/ptex.imageio/ptex
 # when using system pugixml, don't use hacked headers
@@ -371,6 +375,7 @@ CXXFLAGS="%{rpmcxxflags} -std=c++11" \
        -DPYLIB_INSTALL_DIR=%{py_sitedir} \
        -DPYTHON_VERSION=%{py_ver} \
        -DUSE_EXTERNAL_PUGIXML=ON \
+       -DSTOP_ON_WARNING=OFF \
        %{!?with_ocio:-DUSE_OCIO=OFF} \
        %{!?with_tbb:-DUSE_TBB=OFF}
 
This page took 0.112329 seconds and 4 git commands to generate.