You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-apps/kdebase-kioslaves/kdebase-kioslaves-15.08.3.e...

52 lines
1.2 KiB

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_HANDBOOK="optional"
KMNAME="kde-runtime"
KMMODULE="kioslave"
inherit kde4-meta
KEYWORDS="amd64 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[smbclient] >=net-fs/samba-4.0.0_alpha1[client] ) )
sftp? ( >=net-libs/libssh-0.4.0:=[sftp] )
"
RDEPEND="${DEPEND}
$(add_kdebase_dep kdelibs 'bzip2?,lzma?')
$(add_kdeapps_dep kdialog)
virtual/ssh
!aqua? ( !kernel_SunOS? ( virtual/eject ) )
"
KMEXTRA="
kioexec
kdeeject
"
src_configure() {
local mycmakeargs=(
-DWITH_SLP=OFF
$(cmake-utils_use_with bzip2 BZip2)
$(cmake-utils_use_with exif Exiv2)
$(cmake-utils_use_with lzma LibLZMA)
$(cmake-utils_use_with openexr OpenEXR)
$(cmake-utils_use_with samba)
$(cmake-utils_use_with sftp LibSSH)
)
kde4-meta_src_configure
}