diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2017-11-25 20:43:39 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2017-11-25 20:43:39 +0000 |
commit | 6f93e882b2a25ba2038f0f622765cb2158383e21 (patch) | |
tree | 1c39665f16f5c8ee6a3596e15350038f8f38cbc6 /graphics/kf5-kimageformats | |
parent | 1d3e38688318ce112a430600afdb2832348d3f42 (diff) | |
download | ports-6f93e882b2a25ba2038f0f622765cb2158383e21.tar.gz ports-6f93e882b2a25ba2038f0f622765cb2158383e21.zip |
Notes
Diffstat (limited to 'graphics/kf5-kimageformats')
-rw-r--r-- | graphics/kf5-kimageformats/Makefile | 11 | ||||
-rw-r--r-- | graphics/kf5-kimageformats/pkg-plist | 4 |
2 files changed, 11 insertions, 4 deletions
diff --git a/graphics/kf5-kimageformats/Makefile b/graphics/kf5-kimageformats/Makefile index b28a46d23c89..4d373f80bcca 100644 --- a/graphics/kf5-kimageformats/Makefile +++ b/graphics/kf5-kimageformats/Makefile @@ -2,16 +2,23 @@ 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= libIlmImf.so:graphics/OpenEXR \ - libHalf.so:graphics/ilmbase +LIB_DEPENDS= libHalf.so:graphics/ilmbase USES= cmake:outsource compiler:c++11-lib kde:5 pkgconfig tar:xz USE_KDE= archive ecm USE_QT5= buildtools_build core gui printsupport qmake_build widgets +OPTIONS_DEFINE= OPENEXR +OPTIONS_DEFAULT= OPENEXR +OPTIONS_SUB= yes + +OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR +OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR + .include <bsd.port.mk> diff --git a/graphics/kf5-kimageformats/pkg-plist b/graphics/kf5-kimageformats/pkg-plist index 189ba7a2346b..991b4917d960 100644 --- a/graphics/kf5-kimageformats/pkg-plist +++ b/graphics/kf5-kimageformats/pkg-plist @@ -1,5 +1,5 @@ %%QT_PLUGINDIR%%/imageformats/kimg_eps.so -%%QT_PLUGINDIR%%/imageformats/kimg_exr.so +%%OPENEXR%%%%QT_PLUGINDIR%%/imageformats/kimg_exr.so %%QT_PLUGINDIR%%/imageformats/kimg_kra.so %%QT_PLUGINDIR%%/imageformats/kimg_ora.so %%QT_PLUGINDIR%%/imageformats/kimg_pcx.so @@ -11,7 +11,7 @@ %%QT_PLUGINDIR%%/imageformats/kimg_xcf.so share/kservices5/qimageioplugins/dds.desktop share/kservices5/qimageioplugins/eps.desktop -share/kservices5/qimageioplugins/exr.desktop +%%OPENEXR%%share/kservices5/qimageioplugins/exr.desktop share/kservices5/qimageioplugins/jp2.desktop share/kservices5/qimageioplugins/kra.desktop share/kservices5/qimageioplugins/ora.desktop |