Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2022 11:17:05 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 4181c633485e - 2022Q1 - graphics/kf5-kimageformats: expose JPEG XL support
Message-ID:  <202202111117.21BBH5df079160@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4181c633485e98c238fd7b47486a3e8129ebb662

commit 4181c633485e98c238fd7b47486a3e8129ebb662
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-08 20:33:22 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-11 11:16:40 +0000

    graphics/kf5-kimageformats: expose JPEG XL support
    
    (cherry picked from commit befc9ebe247236d6f2b4ae35de2f576634741234)
---
 graphics/kf5-kimageformats/Makefile  | 6 +++++-
 graphics/kf5-kimageformats/pkg-plist | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/graphics/kf5-kimageformats/Makefile b/graphics/kf5-kimageformats/Makefile
index 30d4e26e070b..44bec50314d5 100644
--- a/graphics/kf5-kimageformats/Makefile
+++ b/graphics/kf5-kimageformats/Makefile
@@ -15,7 +15,7 @@ USE_QT=		core gui printsupport widgets \
 
 CFLAGS+=	-I${LOCALBASE}/include/Imath
 
-OPTIONS_DEFINE=	AVIF OPENEXR
+OPTIONS_DEFINE=	AVIF JXL OPENEXR
 OPTIONS_DEFAULT=	AVIF OPENEXR
 OPTIONS_SUB=	yes
 
@@ -23,6 +23,10 @@ AVIF_DESC=		AV1 Image File Format via libavif
 AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
 AVIF_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_libavif
 
+JXL_DESC=		JPEG XL image format via libjxl
+JXL_LIB_DEPENDS=	libjxl.so:graphics/libjxl
+JXL_CMAKE_BOOL=		KIMAGEFORMATS_JXL
+
 OPENEXR_LIB_DEPENDS=	libOpenEXR.so:graphics/openexr
 OPENEXR_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_OpenEXR
 
diff --git a/graphics/kf5-kimageformats/pkg-plist b/graphics/kf5-kimageformats/pkg-plist
index 4858b13a43cc..7157ef47f2e9 100644
--- a/graphics/kf5-kimageformats/pkg-plist
+++ b/graphics/kf5-kimageformats/pkg-plist
@@ -2,6 +2,7 @@
 %%QT_PLUGINDIR%%/imageformats/kimg_eps.so
 %%OPENEXR%%%%QT_PLUGINDIR%%/imageformats/kimg_exr.so
 %%QT_PLUGINDIR%%/imageformats/kimg_hdr.so
+%%JXL%%%%QT_PLUGINDIR%%/imageformats/kimg_jxl.so
 %%QT_PLUGINDIR%%/imageformats/kimg_kra.so
 %%QT_PLUGINDIR%%/imageformats/kimg_ora.so
 %%QT_PLUGINDIR%%/imageformats/kimg_pcx.so
@@ -19,6 +20,7 @@ share/kservices5/qimageioplugins/eps.desktop
 %%OPENEXR%%share/kservices5/qimageioplugins/exr.desktop
 share/kservices5/qimageioplugins/hdr.desktop
 share/kservices5/qimageioplugins/jp2.desktop
+%%JXL%%share/kservices5/qimageioplugins/jxl.desktop
 share/kservices5/qimageioplugins/kra.desktop
 share/kservices5/qimageioplugins/ora.desktop
 share/kservices5/qimageioplugins/pcx.desktop



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202111117.21BBH5df079160>