forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kdebase-kioslaves-16.04.3-r2.ebuild
58 lines (49 loc) · 1.22 KB
/
kdebase-kioslaves-16.04.3-r2.ebuild
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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KDE_HANDBOOK="optional"
KMNAME="kde-runtime"
KMMODULE="kioslave"
WEBKIT_REQUIRED="optional"
inherit kde4-meta
KEYWORDS="amd64 ~arm x86"
DESCRIPTION="KDE VFS framework - kioslaves present a filesystem-like view of arbitrary data"
IUSE="+bzip2 exif debug lzma openexr samba +sftp"
# tests hang, last checked for 4.2.96
RESTRICT="test"
DEPEND="
virtual/jpeg:0
!aqua? ( x11-libs/libXcursor )
bzip2? ( app-arch/bzip2 )
exif? ( media-gfx/exiv2:= )
openexr? ( media-libs/openexr:= )
samba? ( >=net-fs/samba-4.0.0_alpha1[client] )
sftp? ( >=net-libs/libssh-0.4.0:=[sftp] )
"
RDEPEND="${DEPEND}
kde-apps/kdialog:*
kde-frameworks/kdelibs:4[bzip2?,lzma?]
virtual/ssh
!aqua? ( !kernel_SunOS? ( virtual/eject ) )
"
KMEXTRA="
kioexec
kdeeject
"
PATCHES=(
"${FILESDIR}/${P}-webkit.patch"
"${FILESDIR}/${P}-perl-5.22.patch"
)
src_configure() {
local mycmakeargs=(
-DWITH_SLP=OFF
-DWITH_BZip2=$(usex bzip2)
-DWITH_Exiv2=$(usex exif)
-DWITH_LibLZMA=$(usex lzma)
-DWITH_OpenEXR=$(usex openexr)
-DWITH_Samba=$(usex samba)
-DWITH_LibSSH=$(usex sftp)
-DWITH_KDEWEBKIT=$(usex webkit)
)
kde4-meta_src_configure
}