Bläddra i källkod

OpenImageIO: update to 1.8.16

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11851 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 år sedan
förälder
incheckning
02e49be2a4
1 ändrade filer med 14 tillägg och 5 borttagningar
  1. 14 5
      O/OpenImageIO/OpenImageIO-vl.spec

+ 14 - 5
O/OpenImageIO/OpenImageIO-vl.spec

@@ -1,7 +1,7 @@
 %global subname oiio
 
 Name:           OpenImageIO
-Version:        1.7.19
+Version:        1.8.16
 Release:        1%{?_dist_release}
 Summary:        Library for reading and writing images
 
@@ -15,14 +15,14 @@ Source0:        https://github.com/%{name}/%{subname}/archive/Release-%{version}
 
 BuildRequires:  cmake
 BuildRequires:  txt2man
-BuildRequires:  qt4-devel
+BuildRequires:  qt5-qtbase-devel
 BuildRequires:  libboost-devel
 BuildRequires:  libboost-python
 BuildRequires:  libboost-filesystem
 BuildRequires:  glew-devel
 BuildRequires:  OpenEXR-devel ilmbase-devel
 BuildRequires:  python-devel
-BuildRequires:  openssl-devel
+# BuildRequires:  openssl-devel
 BuildRequires:  libpng-devel libtiff-devel openjpeg-devel giflib-devel
 BuildRequires:  libwebp-devel
 BuildRequires:  Field3D-devel
@@ -108,7 +108,7 @@ Development files for package %{name}
 
 
 %build
-%{__rm} -rf build/linux && mkdir -p build/linux && pushd build/linux
+%{__rm} -rf build/linux && %{__mkdir_p} build/linux && pushd build/linux
 # CMAKE_SKIP_RPATH is OK here because it is set to FALSE internally and causes
 # CMAKE_INSTALL_RPATH to be cleared, which is the desiered result.
 %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
@@ -119,14 +119,18 @@ Development files for package %{name}
        -DINSTALL_FONTS:BOOL=FALSE \
        -DUSE_EXTERNAL_PUGIXML:BOOL=TRUE \
        -DUSE_TBB:BOOL=FALSE \
+       -DUSE_OPENSSL:BOOL=TRUE \
+       -DSTOP_ON_WARNING:BOOL=FALSE \
+       -DUSE_CPP:STRING=14 \
 %ifarch ppc ppc64
        -DNOTHREADS:BOOL=FALSE \
 %endif
+       -DJPEG_INCLUDE_DIR=%{_includedir} \
        -DVERBOSE=TRUE \
        ../../
 
 %{__make} %{?_smp_mflags}
-
+popd
 
 %install
 pushd build/linux
@@ -167,6 +171,11 @@ popd
 
 
 %changelog
+* Tue Nov 06 2018 Toshiaki Ara <ara_t@384.jp> 1.8.16-1
+- update to 1.8.16
+- change BuildRequires: qt4-devel to qt5-qtbase-devel
+- drop BuildRequires: openssl-devel
+
 * Fri Aug 24 2018 Toshiaki Ara <ara_t@384.jp> 1.7.19-3
 - update to 1.7.19
 - using macro