aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kio-extras/Makefile
blob: bac3a03ffed336e19b54c08e70389668bb10aba9 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# $FreeBSD$

PORTNAME=   kio-extras
DISTVERSION=    ${KDE_APPLICATIONS_VERSION}
PORTREVISION=   1
CATEGORIES= devel kde kde-applications # kde kde-applications-plasma

MAINTAINER= kde@FreeBSD.org
COMMENT=    Plasma5 library to increase the functionality of KIO

LIB_DEPENDS=    libtag.so:audio/taglib \
        libHalf.so:graphics/ilmbase

USES=       cmake compiler:c++11-lib gettext gperf kde:5 \
        pkgconfig qt:5 shared-mime-info shebangfix tar:xz
USE_KDE=    activities archive auth bookmarks codecs completion config \
        configwidgets coreaddons crash dbusaddons dnssd doctools ecm \
        emoticons guiaddons i18n iconthemes init itemmodels itemviews \
        jobwidgets js kdelibs4support khtml kio notifications parts \
        pty service solid sonnet textwidgets unitconversion \
        widgetsaddons windowsystem xmlgui
USE_QT=     core dbus declarative gui location network phonon4 printsupport \
        sql svg testlib webchannel widgets xml \
        buildtools_build qmake_build
SHEBANG_FILES=  info/kde-info2html

# CVE-2018-19120
CMAKE_ON=   CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidget

OPTIONS_DEFINE= SAMBA MTP EXR EXIV SLP SSH TAGLIB DOCS
OPTIONS_DEFAULT=SAMBA MTP EXR EXIV SLP SSH TAGLIB
OPTIONS_SUB=    yes

SAMBA_DESC=     Needed to build the SMB kioslave
SAMBA_CMAKE_BOOL_OFF=   CMAKE_DISABLE_FIND_PACKAGE_Samba
SAMBA_USES=     samba:lib

MTP_DESC=       Needed to build the MTP kioslave
MTP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Mtp
MTP_LIB_DEPENDS=    libmtp.so:multimedia/libmtp

EXR_DESC=       Provides support for OpenEXR formatted images in the thumbnail kioslave
EXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR
EXR_LIB_DEPENDS=    libIlmImf.so:graphics/openexr

EXIV_DESC=      Provides support for automatic rotation of JPEGs in the thumbnail kioslave
EXIV_CMAKE_BOOL_OFF=    CMAKE_DISABLE_FIND_PACKAGE_Exiv2
EXIV_LIB_DEPENDS=   libexiv2.so:graphics/exiv2

SLP_DESC=       Provides SLP support in the network:/ kioslave
SLP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_SLP
SLP_LIB_DEPENDS=    libslp.so:net/openslp

SSH_DESC=       Needed to build the SFTP kioslave
SSH_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibSSH
SSH_LIB_DEPENDS=    libssh.so:security/libssh

# Our taglib is too old
TAGLIB_DESC=        Needed to build the audio thumbnail kioslave
TAGLIB_CMAKE_BOOL_OFF=  CMAKE_DISABLE_FIND_PACKAGE_Taglib
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib

.include <bsd.port.mk>