summaryrefslogtreecommitdiff
path: root/graphics/kf5-kimageformats/Makefile
blob: 083ec341753517f8a76e7d4b8c72bb6d089b4f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

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=	libHalf.so:graphics/ilmbase

USES=		cmake compiler:c++11-lib kde:5 pkgconfig qt:5 tar:xz
USE_KDE=	archive ecm
USE_QT=		core gui printsupport widgets \
		buildtools_build qmake_build

OPTIONS_DEFINE=	AVIF OPENEXR
OPTIONS_DEFAULT=	AVIF OPENEXR
OPTIONS_SUB=	yes

AVIF_DESC=		AV1 Image File Format via libavif
AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
AVIF_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_libavif

OPENEXR_LIB_DEPENDS=	libIlmImf.so:graphics/openexr
OPENEXR_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_OpenEXR

.include <bsd.port.mk>