diff --git a/graphics/kf5-kimageformats/Makefile b/graphics/kf5-kimageformats/Makefile index 48031bdacf9a..8e062f603460 100644 --- a/graphics/kf5-kimageformats/Makefile +++ b/graphics/kf5-kimageformats/Makefile @@ -1,38 +1,42 @@ PORTNAME= kimageformats DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= graphics kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= KF5 library providing support for additional image formats LIB_DEPENDS= libImath.so:math/Imath USES= cmake compiler:c++11-lib kde:5 pkgconfig qt:5 tar:xz USE_KDE= archive \ ecm:build USE_QT= core gui printsupport widgets \ buildtools:build qmake:build CFLAGS+= -I${LOCALBASE}/include/Imath -OPTIONS_DEFINE= AVIF JXL HEIF OPENEXR -OPTIONS_DEFAULT= AVIF JXL HEIF OPENEXR +OPTIONS_DEFINE= AVIF JXL HEIF OPENEXR RAW +OPTIONS_DEFAULT= AVIF JXL HEIF OPENEXR RAW OPTIONS_SUB= yes AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libavif JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CMAKE_BOOL= KIMAGEFORMATS_JXL HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_CMAKE_BOOL= KIMAGEFORMATS_HEIF OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR +RAW_LIB_DEPENDS= libraw.so:graphics/libraw +RAW_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_libraw + post-patch: ${REINPLACE_CMD} s,Imf::Int64,uint64_t, \ ${WRKSRC}/src/imageformats/exr.cpp .include diff --git a/graphics/kf5-kimageformats/pkg-plist b/graphics/kf5-kimageformats/pkg-plist index 006d829e2ecb..844d7ccf3ecc 100644 --- a/graphics/kf5-kimageformats/pkg-plist +++ b/graphics/kf5-kimageformats/pkg-plist @@ -1,36 +1,38 @@ %%QT_PLUGINDIR%%/imageformats/kimg_ani.so %%AVIF%%%%QT_PLUGINDIR%%/imageformats/kimg_avif.so %%QT_PLUGINDIR%%/imageformats/kimg_eps.so %%OPENEXR%%%%QT_PLUGINDIR%%/imageformats/kimg_exr.so %%QT_PLUGINDIR%%/imageformats/kimg_hdr.so %%HEIF%%%%QT_PLUGINDIR%%/imageformats/kimg_heif.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 %%QT_PLUGINDIR%%/imageformats/kimg_pic.so %%QT_PLUGINDIR%%/imageformats/kimg_psd.so %%QT_PLUGINDIR%%/imageformats/kimg_qoi.so %%QT_PLUGINDIR%%/imageformats/kimg_ras.so +%%RAW%%%%QT_PLUGINDIR%%/imageformats/kimg_raw.so %%QT_PLUGINDIR%%/imageformats/kimg_rgb.so %%QT_PLUGINDIR%%/imageformats/kimg_tga.so %%QT_PLUGINDIR%%/imageformats/kimg_xcf.so share/kservices5/qimageioplugins/ani.desktop %%AVIF%%share/kservices5/qimageioplugins/avif.desktop share/kservices5/qimageioplugins/dds.desktop share/kservices5/qimageioplugins/eps.desktop %%OPENEXR%%share/kservices5/qimageioplugins/exr.desktop share/kservices5/qimageioplugins/hdr.desktop %%HEIF%%share/kservices5/qimageioplugins/heif.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 share/kservices5/qimageioplugins/pic.desktop share/kservices5/qimageioplugins/psd.desktop share/kservices5/qimageioplugins/qoi.desktop share/kservices5/qimageioplugins/ras.desktop +%%RAW%%share/kservices5/qimageioplugins/raw.desktop share/kservices5/qimageioplugins/rgb.desktop share/kservices5/qimageioplugins/tga.desktop share/kservices5/qimageioplugins/xcf.desktop