git: b08b538c19aa - main - graphics/opencolorio: update to 2.1.3

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 19 Feb 2023 11:02:28 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b08b538c19aabfe8b421ff5de3101810c441958c

commit b08b538c19aabfe8b421ff5de3101810c441958c
Author:     Shane <FreeBSD@ShaneWare.Biz>
AuthorDate: 2023-02-15 13:28:18 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-19 11:01:40 +0000

    graphics/opencolorio: update to 2.1.3
    
     - pkg-plist adjustment for new sphinx version
     - remove DOCS from OPTIONS_DEFAULT as it is implied
    
    Changelog: https://github.com/AcademySoftwareFoundation/OpenColorIO/releases/tag/v2.1.3
    
    PR:             269186
    Reported by:    Robert Cina <transitive@gmail.com>
    Approved by:    flo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38633
---
 graphics/opencolorio/Makefile                   |  5 ++---
 graphics/opencolorio/distinfo                   |  6 +++---
 graphics/opencolorio/files/patch-CMakeLists.txt | 17 +----------------
 graphics/opencolorio/pkg-plist-docs             |  1 +
 4 files changed, 7 insertions(+), 22 deletions(-)

diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile
index 9bbf5449e99d..bcf805f5e3cd 100644
--- a/graphics/opencolorio/Makefile
+++ b/graphics/opencolorio/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	opencolorio
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.2
+DISTVERSION=	2.1.3
 # PORTREVISION must be set with ?= so as not to stomp over
 # py-opencolorio's PORTREVISION.
 # Also, just to be on the safe side, when resetting,
 # best keep PORTREVISION?=	0.
-PORTREVISION?=	2
+PORTREVISION?=	0
 CATEGORIES=	graphics multimedia
 
 MAINTAINER?=	FreeBSD@Shaneware.biz
@@ -30,7 +30,6 @@ CMAKE_OFF=	OCIO_BUILD_JAVA OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE \
 		OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS
 
 OPTIONS_DEFINE=		DOCS
-OPTIONS_DEFAULT=	DOCS
 OPTIONS_SUB=		yes
 
 DOCS_CMAKE_BOOL=	OCIO_BUILD_DOCS
diff --git a/graphics/opencolorio/distinfo b/graphics/opencolorio/distinfo
index 123b8438a42b..42ac51a52549 100644
--- a/graphics/opencolorio/distinfo
+++ b/graphics/opencolorio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655372022
-SHA256 (AcademySoftwareFoundation-OpenColorIO-v2.1.2_GH0.tar.gz) = 6c6d153470a7dbe56136073e7abea42fa34d06edc519ffc0a159daf9f9962b0b
-SIZE (AcademySoftwareFoundation-OpenColorIO-v2.1.2_GH0.tar.gz) = 11021014
+TIMESTAMP = 1674865156
+SHA256 (AcademySoftwareFoundation-OpenColorIO-v2.1.3_GH0.tar.gz) = c826a4088a6358fcf39628c852a460c145a4191a5e16ef96fe6a0aaed065d36a
+SIZE (AcademySoftwareFoundation-OpenColorIO-v2.1.3_GH0.tar.gz) = 11024701
diff --git a/graphics/opencolorio/files/patch-CMakeLists.txt b/graphics/opencolorio/files/patch-CMakeLists.txt
index ad41d235cf6d..ef5879c82295 100644
--- a/graphics/opencolorio/files/patch-CMakeLists.txt
+++ b/graphics/opencolorio/files/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig	2021-12-16 19:19:03 UTC
+--- CMakeLists.txt.orig	2021-12-01 02:34:49 UTC
 +++ CMakeLists.txt
 @@ -132,8 +132,7 @@ option(OCIO_BUILD_FROZEN_DOCS "Specify whether to buil
  option(OCIO_BUILD_DOCS "Specify whether to build documentation" ${OCIO_BUILD_FROZEN_DOCS})
@@ -9,18 +9,3 @@
 +option(OCIO_PYTHON_VERSION "Preferred Python version (if any) in case multiple are available" 3.8)
  
  option(OCIO_BUILD_JAVA "Specify whether to build java bindings" OFF)
- 
-@@ -276,7 +275,6 @@ add_subdirectory(tests)
- add_subdirectory(src)
- add_subdirectory(ext)
- 
--
- ###############################################################################
- # Configure env script
- 
-@@ -329,4 +327,5 @@ install(
-     FILES "${OCIO_PROJECT_CONFIG}" "${OCIO_VERSION_CONFIG}"
-     DESTINATION "${OCIO_CONFIG_INSTALL_DIR}"
- )
-+
- 
diff --git a/graphics/opencolorio/pkg-plist-docs b/graphics/opencolorio/pkg-plist-docs
index 5ed6774e6a8a..34d19bed1102 100644
--- a/graphics/opencolorio/pkg-plist-docs
+++ b/graphics/opencolorio/pkg-plist-docs
@@ -115,6 +115,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/html/_static/plus.png
 %%PORTDOCS%%%%DOCSDIR%%/html/_static/pygments.css
 %%PORTDOCS%%%%DOCSDIR%%/html/_static/searchtools.js
+%%PORTDOCS%%%%DOCSDIR%%/html/_static/sphinx_highlight.js
 %%PORTDOCS%%%%DOCSDIR%%/html/_static/sphinx_press_theme.css
 %%PORTDOCS%%%%DOCSDIR%%/html/_static/tabs.css
 %%PORTDOCS%%%%DOCSDIR%%/html/_static/tabs.js