diff options
Diffstat (limited to 'graphics/kf6-kimageformats')
-rw-r--r-- | graphics/kf6-kimageformats/Makefile | 12 | ||||
-rw-r--r-- | graphics/kf6-kimageformats/distinfo | 6 | ||||
-rw-r--r-- | graphics/kf6-kimageformats/files/patch-src_imageformats_raw.cpp | 11 | ||||
-rw-r--r-- | graphics/kf6-kimageformats/pkg-plist | 2 |
4 files changed, 22 insertions, 9 deletions
diff --git a/graphics/kf6-kimageformats/Makefile b/graphics/kf6-kimageformats/Makefile index 8dc08c060878..706109823369 100644 --- a/graphics/kf6-kimageformats/Makefile +++ b/graphics/kf6-kimageformats/Makefile @@ -1,6 +1,5 @@ PORTNAME= kimageformats DISTVERSION= ${KDE_FRAMEWORKS_VERSION} -PORTREVISION= 1 CATEGORIES= graphics kde kde-frameworks COMMENT= Plugins to allow QImage to support extra file formats @@ -11,9 +10,9 @@ USE_GL= gl opengl USE_KDE= archive ecm:build USE_QT= base -OPTIONS_DEFINE= AVIF JXL HEIF OPENEXR RAW -OPTIONS_DEFAULT= AVIF JXL HEIF OPENEXR RAW -OPTIONS_SUB= yes +OPTIONS_DEFINE= AVIF JXL HEIF OPENEXR OPENJPEG RAW +OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} +OPTIONS_SUB= yes AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libavif @@ -28,7 +27,10 @@ OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR +OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg +OPENJPEG_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenJPEG + RAW_LIB_DEPENDS= libraw.so:graphics/libraw -RAW_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libraw +RAW_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibRaw .include <bsd.port.mk> diff --git a/graphics/kf6-kimageformats/distinfo b/graphics/kf6-kimageformats/distinfo index 7aecaa5016c6..0a54b7935cd7 100644 --- a/graphics/kf6-kimageformats/distinfo +++ b/graphics/kf6-kimageformats/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1752529509 -SHA256 (KDE/frameworks/6.16/kimageformats-6.16.0.tar.xz) = 86dfbb05ab845f7b19a7fec88e135d14e47af14dc1713d9fb391966510c1dc4b -SIZE (KDE/frameworks/6.16/kimageformats-6.16.0.tar.xz) = 28620588 +TIMESTAMP = 1757408193 +SHA256 (KDE/frameworks/6.18/kimageformats-6.18.0.tar.xz) = 9d373ef5362aa8d71541cec2895415c95ca914626dcb0dd6b0ceef491dcbae46 +SIZE (KDE/frameworks/6.18/kimageformats-6.18.0.tar.xz) = 28750912 diff --git a/graphics/kf6-kimageformats/files/patch-src_imageformats_raw.cpp b/graphics/kf6-kimageformats/files/patch-src_imageformats_raw.cpp new file mode 100644 index 000000000000..694fb2864ee3 --- /dev/null +++ b/graphics/kf6-kimageformats/files/patch-src_imageformats_raw.cpp @@ -0,0 +1,11 @@ +--- src/imageformats/raw.cpp.orig 2025-09-08 08:12:54 UTC ++++ src/imageformats/raw.cpp +@@ -27,7 +27,7 @@ + * By defining RAW_IGNORE_BROKEN_STREAMS removes this protection, leaving + * LibRaw in complete control of error handling (which is mostly absent). + */ +-// #define RAW_DISABLE_BROKEN_STREAM_PROTECTION ++#define RAW_DISABLE_BROKEN_STREAM_PROTECTION + #endif + + #ifdef QT_DEBUG diff --git a/graphics/kf6-kimageformats/pkg-plist b/graphics/kf6-kimageformats/pkg-plist index c6220810c367..cbc86f2543d0 100644 --- a/graphics/kf6-kimageformats/pkg-plist +++ b/graphics/kf6-kimageformats/pkg-plist @@ -8,7 +8,7 @@ lib/cmake/KF6ImageFormats/KF6ImageFormatsConfigVersion.cmake %%QT_PLUGINDIR%%/imageformats/kimg_hdr.so %%HEIF%%%%QT_PLUGINDIR%%/imageformats/kimg_heif.so %%QT_PLUGINDIR%%/imageformats/kimg_iff.so -%%QT_PLUGINDIR%%/imageformats/kimg_jp2.so +%%OPENJPEG%%%%QT_PLUGINDIR%%/imageformats/kimg_jp2.so %%JXL%%%%QT_PLUGINDIR%%/imageformats/kimg_jxl.so %%QT_PLUGINDIR%%/imageformats/kimg_kra.so %%QT_PLUGINDIR%%/imageformats/kimg_ora.so |