Update to 3.4.4

Rebuild for ptex 2.4.0
This commit is contained in:
Luya Tshimbalanga 2021-05-19 23:34:31 -07:00
parent 082d628026
commit 0bda181f1b
No known key found for this signature in database
GPG Key ID: 5E528174D8A2609A
3 changed files with 11 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/opensubdiv-3.4.0.tar.gz
/opensubdiv-3.4.3.tar.gz
/opensubdiv-3.4.4.RC1.tar.gz
/opensubdiv-3.4.4.tar.gz

View File

@ -2,17 +2,17 @@
%undefine __cmake_in_source_build
%global upstream_version 3_4_4
%global prerelease RC1
#%%global prerelease RC1
Name: opensubdiv
Version: 3.4.4
Release: 0.1.%{?prerelease}%{?dist}
Release: 1%{?prerelease}%{?dist}
Summary: High performance subdivision surface libraries
License: ASL 2.0
#URL: http://graphics.pixar.com/%%{name}
Url: https://github.com/PixarAnimationStudios/OpenSubdiv
Source: https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v%{upstream_version}_%{?prerelease}/%{name}-%{version}.%{?prerelease}.tar.gz
Source: https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v%{upstream_version}%{?prerelease}/%{name}-%{version}%{?prerelease}.tar.gz
# fix linking against libdl (see https://github.com/PixarAnimationStudios/OpenSubdiv/issues/1196)
Patch: %{name}-rpath.patch
@ -67,7 +67,7 @@ frame rates.
This package includes the documentation of OpenSubdiv.
%prep
%autosetup -p1 -n OpenSubdiv-%{upstream_version}_%{?prerelease}
%autosetup -p1 -n OpenSubdiv-%{upstream_version}%{?prerelease}
# work around linking glitch
# https://github.com/PixarAnimationStudios/OpenSubdiv/issues/1196
@ -84,7 +84,6 @@ sed -i 's|${PLATFORM_GPU_LIBRARIES}|${PLATFORM_GPU_LIBRARIES} ${CMAKE_DL_LIBS}|'
-DNO_EXAMPLES=1 \
-DNO_GLFW_X11=1 \
-DNO_OPENCL=1 \
-DNO_PTEX=0 \
-DNO_METAL=1 \
-DNO_REGRESSION=1 \
-DNO_TUTORIALS=1 \
@ -123,7 +122,11 @@ find %{buildroot} -name '*.a' -delete
%{_docdir}/%{name}/*
%changelog
* Mon Sep 21 2020 Luya Tshimbalanga <luya@fedoraproject.org> - 3.4.4-0.1.RC1
* Wed May 19 2021 Luya Tshimbalanga <luya@fedoraproject.org> - 3.4.4-1
- Update to 3.4.4
- Rebuild for ptex 2.4.0
* Fri Feb 05 2021 Luya Tshimbalanga <luya@fedoraproject.org> - 3.4.4-0.1.RC1
- Update to 3.4.4 RC1
- Enable ptex support

View File

@ -1 +1 @@
SHA512 (opensubdiv-3.4.4.RC1.tar.gz) = fddce2633c4aa40a1ce589469aa4c744f0a39ece851cc6cacb2dd679746a1bd51cb58f69a58a831d46f332b1b3c4066c76012cfb8df853da1183cefa736a518c
SHA512 (opensubdiv-3.4.4.tar.gz) = fc8f28b79347015c8991150535c1339e695d96947c72fadd4fa27b546a0813c1125cd175ee03bed5aacdb3609f74c4e526ef70103d1195ba9f7df041e73ea9fb