cbf73704b3
10th April 2022. KDE today announces the release of KDE Frameworks 5.93.0. KDE Frameworks are 83 addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see https://kde.org/products/frameworks/ Full Changelog: https://kde.org/announcements/frameworks/5/5.93.0/ PR: 263207 Exp-run by: antoine
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
PORTNAME= kimageformats
|
|
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
|
|
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 LIBHEIF OPENEXR
|
|
OPTIONS_DEFAULT= AVIF JXL OPENEXR
|
|
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
|
|
|
|
LIBHEIF_DESC= ISO/IEC 23008-12:2017 HEIF file format support
|
|
LIBHEIF_LIB_DEPENDS= libheif.so:graphics/libheif
|
|
LIBHEIF_CMAKE_BOOL= KIMAGEFORMATS_HEIF
|
|
|
|
OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr
|
|
OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} s,Imf::Int64,uint64_t, \
|
|
${WRKSRC}/src/imageformats/exr.cpp
|
|
|
|
.include <bsd.port.mk>
|