git: 93c93da3cb7e - main - graphics/openjph: Update to 0.13.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:23:55 UTC
The branch main has been updated by sunpoet:

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

commit 93c93da3cb7ece4220cfd940e472741fa4432f11
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 16:15:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:15:08 +0000

    graphics/openjph: Update to 0.13.0
    
    Changes:        https://github.com/aous72/OpenJPH/releases
---
 graphics/openjph/Makefile  | 9 ++++++---
 graphics/openjph/distinfo  | 6 +++---
 graphics/openjph/pkg-plist | 2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/graphics/openjph/Makefile b/graphics/openjph/Makefile
index 57c48577a607..f4667c045431 100644
--- a/graphics/openjph/Makefile
+++ b/graphics/openjph/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openjph
-PORTVERSION=	0.11.0
+PORTVERSION=	0.13.0
 CATEGORIES=	graphics
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -9,9 +9,12 @@ WWW=		https://github.com/aous72/OpenJPH
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+LIB_DEPENDS=	libtiff.so:graphics/tiff
+
 USES=		cmake compiler:c++11-lang pathfix
 
-CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_OFF=	OJPH_BUILD_STREAM_EXPAND OJPH_BUILD_TESTS
+CMAKE_ON=	BUILD_SHARED_LIBS OJPH_BUILD_EXECUTABLES OJPH_ENABLE_TIFF_SUPPORT
 USE_LDCONFIG=	yes
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
@@ -23,7 +26,7 @@ USE_GITHUB=	yes
 .include <bsd.port.options.mk>
 
 .if ${ARCH} != amd64
-CMAKE_ON+=	OJPH_DISABLE_INTEL_SIMD
+CMAKE_ON+=	OJPH_DISABLE_SIMD
 .endif
 
 post-install:
diff --git a/graphics/openjph/distinfo b/graphics/openjph/distinfo
index 11b0557f597a..d2edfe97b74e 100644
--- a/graphics/openjph/distinfo
+++ b/graphics/openjph/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713528498
-SHA256 (aous72-OpenJPH-0.11.0_GH0.tar.gz) = 43814a50a81a0e2447c6275f221ef87f34ac4c073e713d8d7e82c1e80e284ec1
-SIZE (aous72-OpenJPH-0.11.0_GH0.tar.gz) = 373180
+TIMESTAMP = 1715842532
+SHA256 (aous72-OpenJPH-0.13.0_GH0.tar.gz) = 65c044d58619b846612205947f0e379edf037964841a0878d88ebc235819302f
+SIZE (aous72-OpenJPH-0.13.0_GH0.tar.gz) = 390817
diff --git a/graphics/openjph/pkg-plist b/graphics/openjph/pkg-plist
index 14d8843c5e8c..dd07eecda670 100644
--- a/graphics/openjph/pkg-plist
+++ b/graphics/openjph/pkg-plist
@@ -12,6 +12,6 @@ include/openjph/ojph_params.h
 include/openjph/ojph_version.h
 lib/libopenjph.so
 lib/libopenjph.so.0
-lib/libopenjph.so.0.11
+lib/libopenjph.so.0.13
 lib/libopenjph.so.%%PORTVERSION%%
 libdata/pkgconfig/openjph.pc