diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile index ddd51a17ce73..d6b2def53930 100644 --- a/graphics/libheif/Makefile +++ b/graphics/libheif/Makefile @@ -1,84 +1,84 @@ PORTNAME= libheif DISTVERSION= 1.19.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= makc@FreeBSD.org COMMENT= ISO/IEC 23008-12:2017 HEIF file format de- and encoder WWW= https://github.com/strukturag/libheif LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsharpyuv.so:graphics/webp USES= cmake:testing compiler:c++11-lang cpe gettext-runtime gnome \ localbase:ldflags pathfix pkgconfig CPE_VENDOR= struktur USE_GNOME= gdkpixbuf glib20 USE_LDCONFIG= yes PLIST_SUB= LIB_VER=${DISTVERSION} CMAKE_OFF= BUILD_TESTING \ WITH_KVAZAAR \ WITH_UVG266 \ WITH_VVDEC \ WITH_VVENC \ CMAKE_COMPILE_WARNING_AS_ERROR CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen OPTIONS_DEFINE= AOM DAV1D EXAMPLES FFMPEG JPEG LIBDE265 OPENH264 \ OPENJPEG OPENJPH SVTAV1 RAV1E X265 OPTIONS_DEFAULT=AOM DAV1D FFMPEG JPEG OPENH264 OPENJPEG OPENJPH SVTAV1 X265 OPTIONS_SUB= yes AOM_DESC= AV1 encoding/decoding via libaom FFMPEG_DESC= Use FFmpeg (support for HEVC decoding) DAV1D_DESC= Build dav1e decoder LIBDE265_DESC= Use libde265 (support for HEVC decoding) OPENH264_DESC= AVC decoding via OpenH264 OPENJPH_DESC= HT-J2K encoding via OpenJPH SVTAV1_DESC= Build svt-av1 encoder RAV1E_DESC= Build rav1e encoder X265_DESC= Use x265 (support for HEVC encoding) AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CMAKE_BOOL= WITH_AOM_ENCODER WITH_AOM_DECODER DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= WITH_DAV1D EXAMPLES_LIB_DEPENDS= libpng16.so:graphics/png \ libtiff.so:graphics/tiff EXAMPLES_CMAKE_BOOL= WITH_EXAMPLES EXAMPLE_IMPLIES= JPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG_DECODER JPEG_USES= jpeg JPEG_CMAKE_BOOL= WITH_JPEG_ENCODER WITH_JPEG_DECODER LIBDE265_LIB_DEPENDS= libde265.so:multimedia/libde265 LIBDE265_CMAKE_BOOL= WITH_LIBDE265 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CMAKE_BOOL= WITH_OpenH264_DECODER OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= WITH_OpenJPEG_ENCODER WITH_OpenJPEG_DECODER OPENJPH_LIB_DEPENDS= libopenjph.so:graphics/openjph OPENJPH_CMAKE_BOOL= WITH_OPENJPH_ENCODER WITH_OPENJPH_DECODER SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 SVTAV1_CMAKE_BOOL= WITH_SvtEnc RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e RAV1E_CMAKE_BOOL= WITH_RAV1E X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CMAKE_BOOL= WITH_X265 .include diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile index 9c20cf595fe8..4fd50c57abef 100644 --- a/graphics/openexr/Makefile +++ b/graphics/openexr/Makefile @@ -1,128 +1,128 @@ PORTNAME?= openexr PORTVERSION?= 3.4.1 # ALSO update openexr-website-docs! -- verify sigstore: make makesum verify-sigstore -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= graphics devel .if !defined(MASTERDIR) MASTER_SITES= https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/v1.0/:testimages \ https://github.com/AcademySoftwareFoundation/openexr/releases/download/v${PORTVERSION}/:DEFAULT \ LOCAL/mandree/openexr/:DEFAULT \ LOCAL/mandree/openexr/:testimages DISTFILES= ${EXTRACT_ONLY}:DEFAULT DISTFILES+= Beachball/multipart.0001.exr:testimages DISTFILES+= Beachball/singlepart.0001.exr:testimages DISTFILES+= Chromaticities/Rec709_YC.exr:testimages DISTFILES+= Chromaticities/Rec709.exr:testimages DISTFILES+= Chromaticities/XYZ_YC.exr:testimages DISTFILES+= Chromaticities/XYZ.exr:testimages DISTFILES+= LuminanceChroma/Flowers.exr:testimages DISTFILES+= LuminanceChroma/Garden.exr:testimages DISTFILES+= MultiResolution/ColorCodedLevels.exr:testimages DISTFILES+= MultiResolution/WavyLinesCube.exr:testimages DISTFILES+= MultiResolution/WavyLinesLatLong.exr:testimages DISTFILES+= MultiView/Adjuster.exr:testimages DISTFILES+= TestImages/GammaChart.exr:testimages DISTFILES+= TestImages/GrayRampsHorizontal.exr:testimages DISTFILES+= v2/LeftView/Balls.exr:testimages DISTFILES+= v2/Stereo/Trunks.exr:testimages .endif DIST_SUBDIR= openexr # hardcode - not using ${PORTNAME} - so we can share the distdir with openexr-website-docs, avoiding double download of ... EXTRACT_ONLY= openexr-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= mandree@FreeBSD.org COMMENT= High dynamic-range (HDR) image file format WWW= https://www.openexr.com/ LICENSE= BSD3CLAUSE BUILD_DEPENDS?= help2man:misc/help2man \ openjph>=0.23.0:graphics/openjph # exact libImath version required to avoid hard-to-debug issues # but this is due to Imath and OpenEXR being close in terms of their # release engineering, no other port should version pin Imath # or OpenEXR without extremely good reason LIB_DEPENDS?= libImath-3_2.so.30:math/Imath \ libdeflate.so:archivers/libdeflate \ libopenjph.so:graphics/openjph USES?= cmake:testing compiler:c++14-lang cpe pathfix pkgconfig #USE_GITHUB= yes #GH_TUPLE= AcademySoftwareFoundation:openexr:v${PORTVERSION} USE_LDCONFIG= yes CMAKE_ARGS?= -DCMAKE_DEBUG_POSTFIX= CMAKE_OFF= BUILD_TESTING \ OPENEXR_TEST_LIBRARIES \ OPENEXR_TEST_PYTHON \ OPENEXR_TEST_TOOLS CMAKE_TESTING_ON= BUILD_TESTING \ OPENEXR_TEST_LIBRARIES \ OPENEXR_TEST_PYTHON \ OPENEXR_TEST_TOOLS CPPFLAGS+= -I. # must be linked with -l{thr|pthread} explicitly LDFLAGS+= -lpthread _MAJORVER= 3_4 _VER= 33 _REL= ${PORTVERSION} PLIST_SUB+= MAJORVER=${_MAJORVER} \ VER=${_VER} \ REL=${_REL} PORTDOCS= * PORTEXAMPLES= * .if !defined(MASTERDIR) OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SUB= yes DOCS_CMAKE_BOOL=OPENEXR_INSTALL_DOCS INSTALL_DOCS _DOCSRCDIR1= ${WRKSRC} _DOC_FILES1= CHANGES.md CONTRIBUTING.md GOVERNANCE.md LICENSE.md SECURITY.md \ CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md # too many reports about compilation failures, so # sanity check we are using the same C++ standard library _imath_libcxx= ${COMPILER_FEATURES:Mlib*c++} # This would be better placed in pre-test to avoid wasting space, # but if we do that, the cmake in src/test/bin will go downloading the files, # so we do not benefit from our checksumming and the distdir caching. post-extract: ${MKDIR} ${CONFIGURE_WRKSRC}/src/test/bin .for i in ${DISTFILES:M*.exr?testimages} d="$$(dirname "${CONFIGURE_WRKSRC}/src/test/bin/${i:S/:testimages//}")" \ && ${MKDIR} "$$d" \ && ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i:S/:testimages//} "$$d" .endfor pre-configure: @${READELF} -d ${LOCALBASE}/lib/libImath.so \ | ${EGREP} -q '\.*\[${_imath_libcxx:C/\+/\\+/g}\.' \ || { ${ECHO_CMD} "*** Your Imath package uses a different C++ standard library than ***" ; \ ${ECHO_CMD} "*** OpenEXR would. Please recompile and reinstall Imath with the ***" ; \ ${ECHO_CMD} "*** same C++ std. library before trying to build OpenEXR. Abort. ***" ; \ exit 1; } post-install-EXAMPLES-on: ${MV} \ ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ ${STAGEDIR}${EXAMPLESDIR} @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : post-install-EXAMPLES-off: ${RM} -R ${STAGEDIR}${PREFIX}/share/doc/OpenEXR/examples/ @${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/OpenEXR 2>/dev/null || : verify-sigstore: openexr-${PORTVERSION}.tar.gz.sigstore.json sigstore verify github --cert-identity https://github.com/AcademySoftwareFoundation/openexr/.github/workflows/release-sign.yml@refs/tags/v${PORTVERSION} ${DISTDIR}/${DIST_SUBDIR}/openexr-${PORTVERSION}.tar.gz --bundle openexr-${PORTVERSION}.tar.gz.sigstore.json openexr-${PORTVERSION}.tar.gz.sigstore.json: ${FETCH_CMD} https://github.com/AcademySoftwareFoundation/openexr/releases/download/v${PORTVERSION}/openexr-${PORTVERSION}.tar.gz.sigstore.json .endif .include diff --git a/graphics/openjph/Makefile b/graphics/openjph/Makefile index 53a16904da1d..f05bba626b5c 100644 --- a/graphics/openjph/Makefile +++ b/graphics/openjph/Makefile @@ -1,38 +1,38 @@ PORTNAME= openjph -PORTVERSION= 0.23.0 +PORTVERSION= 0.24.1 CATEGORIES= graphics MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open-source implementation of JPEG2000 Part-15 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_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} USE_GITHUB= yes GH_ACCOUNT= aous72 GH_PROJECT= OpenJPH .include .if ${ARCH} != amd64 CMAKE_ON+= OJPH_DISABLE_SIMD .endif post-install: ${LN} -s libopenjph.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopenjph.so.${PORTVERSION:R:R} .include diff --git a/graphics/openjph/distinfo b/graphics/openjph/distinfo index 153df09e4603..e9785ac0429a 100644 --- a/graphics/openjph/distinfo +++ b/graphics/openjph/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759324014 -SHA256 (aous72-OpenJPH-0.23.0_GH0.tar.gz) = 483079f402ee6701d5f35a12c96657a715851da770d5d101c3baa239f8dd26d2 -SIZE (aous72-OpenJPH-0.23.0_GH0.tar.gz) = 476785 +TIMESTAMP = 1759816552 +SHA256 (aous72-OpenJPH-0.24.1_GH0.tar.gz) = 5e44a809c9ee3dad175da839feaf66746cfc114a625ec61c786de8ad3f5ab472 +SIZE (aous72-OpenJPH-0.24.1_GH0.tar.gz) = 477270 diff --git a/graphics/openjph/pkg-plist b/graphics/openjph/pkg-plist index 187ad1ec328e..4c6e9373218f 100644 --- a/graphics/openjph/pkg-plist +++ b/graphics/openjph/pkg-plist @@ -1,21 +1,21 @@ bin/ojph_compress bin/ojph_expand include/openjph/ojph_arch.h include/openjph/ojph_arg.h include/openjph/ojph_base.h include/openjph/ojph_codestream.h include/openjph/ojph_defs.h include/openjph/ojph_file.h include/openjph/ojph_mem.h include/openjph/ojph_message.h include/openjph/ojph_params.h include/openjph/ojph_version.h lib/cmake/openjph/openjph-config-version.cmake lib/cmake/openjph/openjph-config.cmake lib/cmake/openjph/openjph-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/openjph/openjph-targets.cmake lib/libopenjph.so lib/libopenjph.so.0 -lib/libopenjph.so.0.23 +lib/libopenjph.so.0.24 lib/libopenjph.so.%%PORTVERSION%% libdata/pkgconfig/openjph.pc