Date: Wed, 21 Feb 2024 15:19:00 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 845e86d26f59 - main - graphics/openjph: Update to 0.10.5 Message-ID: <202402211519.41LFJ0dB016219@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=845e86d26f59c7b62b4c37ccb771ca3ba62b0a82 commit 845e86d26f59c7b62b4c37ccb771ca3ba62b0a82 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-02-21 14:26:20 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-02-21 15:06:31 +0000 graphics/openjph: Update to 0.10.5 - Update LICENSE_FILE - Use USES=pathfix to fix .pc installation Changes: https://github.com/aous72/OpenJPH/releases --- graphics/openjph/Makefile | 9 ++++--- graphics/openjph/distinfo | 6 ++--- graphics/openjph/files/patch-CMakeLists.txt | 41 ----------------------------- graphics/openjph/pkg-plist | 1 + 4 files changed, 10 insertions(+), 47 deletions(-) diff --git a/graphics/openjph/Makefile b/graphics/openjph/Makefile index 17b810f0d54f..c2227d489b26 100644 --- a/graphics/openjph/Makefile +++ b/graphics/openjph/Makefile @@ -1,5 +1,5 @@ PORTNAME= openjph -PORTVERSION= 0.9.0 +PORTVERSION= 0.10.5 CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org @@ -7,9 +7,9 @@ COMMENT= Open-source implementation of JPEG2000 Part-15 WWW= https://github.com/aous72/OpenJPH LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/license.txt +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c++11-lang # pathfix +USES= cmake compiler:c++11-lang pathfix CMAKE_ON= BUILD_SHARED_LIBS USE_LDCONFIG= yes @@ -26,4 +26,7 @@ USE_GITHUB= yes CMAKE_ON+= OJPH_DISABLE_INTEL_SIMD .endif +post-install: + ${LN} -s libopenjph.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopenjph.so.0 + .include <bsd.port.mk> diff --git a/graphics/openjph/distinfo b/graphics/openjph/distinfo index e69ef242f5b5..54241992fbd9 100644 --- a/graphics/openjph/distinfo +++ b/graphics/openjph/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1653925886 -SHA256 (aous72-OpenJPH-0.9.0_GH0.tar.gz) = 6970b14e73babb7a2e466be115e45fc55e9e02104248938257dd5bac5c67d41a -SIZE (aous72-OpenJPH-0.9.0_GH0.tar.gz) = 375685 +TIMESTAMP = 1708448928 +SHA256 (aous72-OpenJPH-0.10.5_GH0.tar.gz) = fc1e43fb1e8a097f883f5fe98794327eb96c4bdf2c53cb633537b061af4c99f3 +SIZE (aous72-OpenJPH-0.10.5_GH0.tar.gz) = 358992 diff --git a/graphics/openjph/files/patch-CMakeLists.txt b/graphics/openjph/files/patch-CMakeLists.txt deleted file mode 100644 index 15f2e89a145e..000000000000 --- a/graphics/openjph/files/patch-CMakeLists.txt +++ /dev/null @@ -1,41 +0,0 @@ ---- CMakeLists.txt.orig 2022-05-25 12:38:19 UTC -+++ CMakeLists.txt -@@ -59,9 +59,6 @@ if (OJPH_CODE_COVERAGE AND NOT MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage") - endif() - --set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin) --set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin) -- - include_directories(src/core/common) - include_directories(src/apps/common) - -@@ -96,7 +93,7 @@ source_group("transform" FILES ${TRANSFORM}) - - configure_file( - "${CMAKE_CURRENT_SOURCE_DIR}/src/pkg-config.pc.cmake" -- "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc" -+ "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc" - ) - - if(EMSCRIPTEN) -@@ -133,7 +130,7 @@ if (OPENJPH_VERSION) - else() - set_target_properties(openjph - PROPERTIES -- SOVERSION "${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}" -+ SOVERSION "${OPENJPH_VERSION_MAJOR}" - VERSION "${OPENJPH_VERSION}") - endif() - else() -@@ -243,8 +240,8 @@ install (DIRECTORY src/core/common/ - FILES_MATCHING - PATTERN "*.h") - --install(FILES "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${PROJECT_NAME}.pc" -- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) -+install(FILES "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc" -+ DESTINATION libdata/pkgconfig) - - ################################################################################################ - # Testing (OJPH_BUILD_TEST) diff --git a/graphics/openjph/pkg-plist b/graphics/openjph/pkg-plist index aff0e55bfd5c..e3f855787716 100644 --- a/graphics/openjph/pkg-plist +++ b/graphics/openjph/pkg-plist @@ -12,5 +12,6 @@ include/openjph/ojph_params.h include/openjph/ojph_version.h lib/libopenjph.so lib/libopenjph.so.0 +lib/libopenjph.so.0.10 lib/libopenjph.so.%%PORTVERSION%% libdata/pkgconfig/openjph.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402211519.41LFJ0dB016219>