aboutsummaryrefslogtreecommitdiff
path: root/graphics/kf6-kimageformats/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kf6-kimageformats/Makefile')
-rw-r--r--graphics/kf6-kimageformats/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/graphics/kf6-kimageformats/Makefile b/graphics/kf6-kimageformats/Makefile
index 486c61aae2d5..706109823369 100644
--- a/graphics/kf6-kimageformats/Makefile
+++ b/graphics/kf6-kimageformats/Makefile
@@ -10,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
@@ -27,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>