summaryrefslogtreecommitdiff
path: root/kde-apps/kio-extras
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kio-extras')
-rw-r--r--kde-apps/kio-extras/Manifest10
-rw-r--r--kde-apps/kio-extras/files/kio-extras-19.08.3-libssh-0.9.2.patch88
-rw-r--r--kde-apps/kio-extras/files/kio-extras-19.12.3-kio_nfs.patch171
-rw-r--r--kde-apps/kio-extras/kio-extras-19.08.3.ebuild83
-rw-r--r--kde-apps/kio-extras/kio-extras-19.12.3.ebuild (renamed from kde-apps/kio-extras/kio-extras-19.12.2.ebuild)8
-rw-r--r--kde-apps/kio-extras/metadata.xml1
6 files changed, 182 insertions, 179 deletions
diff --git a/kde-apps/kio-extras/Manifest b/kde-apps/kio-extras/Manifest
index 4736c37f0fa5..4b85877a6781 100644
--- a/kde-apps/kio-extras/Manifest
+++ b/kde-apps/kio-extras/Manifest
@@ -1,6 +1,4 @@
-AUX kio-extras-19.08.3-libssh-0.9.2.patch 3114 BLAKE2B c09e9ab0d42bb51c8b7f2edc4c6dc00bad03de719610e95e45fae888bb2603139bbf801dfa891384c68612a215fb783367987dd13fed4da8846ae223d1828a0c SHA512 6c347691eed1154088feb7d4cac761478b7111ebea13d777a8058c1c2b701b1183f4e1a9d339e77423315252326fdecc825279def616c1f6bd0fce8ecfb8a0d9
-DIST kio-extras-19.08.3.tar.xz 577520 BLAKE2B 2ceb208b1860e83b818935d6890194d27ad05c2d058d1d03167969539c41a99172b08c7196ade159e332e562c5573614e79f920415dccf16e4e1918471d92c22 SHA512 e2e5c6e3a8487c7251b77283c63eae75ea071f9d9f5f4544690083ab7f834abf6b10c715cad4fb49fbbfa34d2fbf9de358a4c606b299b2f4bf44444a57cadba6
-DIST kio-extras-19.12.2.tar.xz 579788 BLAKE2B 718068e3c7d75895e2f5be121231364819bfdac10a5b235f3ea7b84f779760bae698f6bd0e07fabce4208c9d9b83e1a7f596b7422393e4bcd3f3e02fbe558bdb SHA512 4586ef6f26c1f6e4491c9afc653052a18eb39f80d616b9ca6059c91e2a1bbc093dfd1055bba8680a542dafd42ae6e0de3d65bc64df34215aa7507e3be66d904d
-EBUILD kio-extras-19.08.3.ebuild 2330 BLAKE2B adee41312ee33c9ca0a577df91d9e858965e31befdac0f3b78cf0c891fbcf082372f15c7bb60d56636f6e16be6d2b18b9119ebc95dbf266b5a990ffa3e84c995 SHA512 8e698f7087fea3206a55fba9fed04d4e415e9653bfde8d7b3324f73c337e660a26a492ef21bcfe39c858b85c813e48e519d4ee38b04f977773f872644b1a5faf
-EBUILD kio-extras-19.12.2.ebuild 2351 BLAKE2B adc1ca90d0f4193392314745c9f54a1beaa36b3d10b901b1c220fd96d26622360017b3b8cdd9ad44de425f5408f958848206f806ca34215beed9c9bba20cd1be SHA512 fea36727b5fa4b0cdb184cf15151a063068e92fe613c1d79861c3bf616db3037ba4521876adbb310742cdb098daeb6e51247be09b4d724e40da175dd2e4800c3
-MISC metadata.xml 667 BLAKE2B 7f837cd50d37a8692d57859a3328770578e13052392bcee145c327e6a07d147f8194ae09ab0c6933fe15eb6964640e8b82495417b3776cac3fce0825fd1fd989 SHA512 3c14222010c942ec878bc049e2e92dc6180305de69804bc024bba1f159d08c97eb61b3e9ad68e14188515bde2b21a026c8068ab465ce8ca22e8e3e0190649154
+AUX kio-extras-19.12.3-kio_nfs.patch 6433 BLAKE2B 66358b2cd0953b8a46492a7f0f7c03b249a25de678c92a7450fdb23098d4c9e483a01690071e54ddf00dd4c982eb00429f3139cdf6624ea4f57b2491420b7a93 SHA512 9eb757d42412193c9ea96f608289a58505bfd385b641c2c0061316063587cda8ec7479e27e63fccac6d60bc2427b7a6cb55ac0e336e214d28d41c466c093431a
+DIST kio-extras-19.12.3.tar.xz 581020 BLAKE2B b4f9ca0812d535222c1a156ef2ce056df95dfab0786b108418fc98da860617c272ffaab044d0faf8559dee04d8bbc799da6eb004bea170c41a1b3bd30e91a40f SHA512 289d4336e563ee38be20f40c146172111ebeb3893edd15c76ad42435b8b1b0967864d8764519cd5c0aaa2580c56b76283076a3598917876b5e22acdf75ba9da7
+EBUILD kio-extras-19.12.3.ebuild 2466 BLAKE2B 7228f838c2a8a00abf8d3022563edb00e5dea9c5eb8041f9ab3f45f9057d4e10acc9fd0c9173b3e32a19747f70832cb4639df2239d4c10ff1e0431a3218aad18 SHA512 a7d155a520ad1f1d0243118773d6125061640b6143fd6b5599a442220dd92e9fc30086154f9da4d20b7fa48642e69bb1385ccd605fdb70b0f10edf69528c5c91
+MISC metadata.xml 747 BLAKE2B 8972b1b4e04ad771c76e465c066d261cf237c36b9a80ede31a70d7b6af2f91d8c99a108f18c13fafa6b6d5714d8fb2270f85f63706f355c1481a1fd84ecd1562 SHA512 3fd163a8b2861213b00eb84773aeaff95bb5abf40dd20228dc519ea78ef50cd6536c9d6c7d3ef607586765001e90925265e7cfbf763d13cb17c2becaf3a993e9
diff --git a/kde-apps/kio-extras/files/kio-extras-19.08.3-libssh-0.9.2.patch b/kde-apps/kio-extras/files/kio-extras-19.08.3-libssh-0.9.2.patch
deleted file mode 100644
index b133140ac269..000000000000
--- a/kde-apps/kio-extras/files/kio-extras-19.08.3-libssh-0.9.2.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-From 24506c2af8d1904a99538543804306c6c2b81ca2 Mon Sep 17 00:00:00 2001
-From: Harald Sitter <sitter@kde.org>
-Date: Wed, 6 Nov 2019 13:57:20 +0100
-Subject: make the libssh finder ensure the new ssh target is set
-
-Summary:
-starting with 0.9.2 the libssh cmake config defines a new ssh imported
-target, use this as the new gold standard and ensure older versions
-are compatible
-
-broken ubuntu: no cmake config -> manual finder -> target injected
-0.9.0 and earlier: cmake config -> target injected
-0.9.2: cmake config -> target already defined; noop
-
-(0.9.1 is broken as it neither matches the old nor the new expectation)
-
-Test Plan:
-no cmake config -> target injected
-older cmake config -> target injected
-newer cmake config (with merge request) -> noop
-
-Subscribers: kde-frameworks-devel, kfm-devel
-
-Tags: #dolphin, #frameworks
-
-Differential Revision: https://phabricator.kde.org/D25170
----
- cmake/Findlibssh.cmake | 18 ++++++++++++++++++
- sftp/CMakeLists.txt | 2 +-
- 2 files changed, 19 insertions(+), 1 deletion(-)
-
-diff --git a/cmake/Findlibssh.cmake b/cmake/Findlibssh.cmake
-index bf6d797..f37846f 100644
---- a/cmake/Findlibssh.cmake
-+++ b/cmake/Findlibssh.cmake
-@@ -32,6 +32,19 @@
- # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- # SUCH DAMAGE.
-
-+# Define an imported target to have compatibility with newer libssh and so
-+# we have a single target to use regardless of the code path taken in the
-+# finder and the actual libssh version defining the target.
-+macro(libssh_ensure_imported_target)
-+ if(NOT TARGET ssh)
-+ add_library(ssh SHARED IMPORTED)
-+ set_target_properties(ssh PROPERTIES
-+ IMPORTED_LOCATION "${LIBSSH_LIBRARIES}"
-+ INTERFACE_INCLUDE_DIRECTORIES "${LIBSSH_INCLUDE_DIR}"
-+ )
-+ endif()
-+endmacro()
-+
- # We prefer the config, but on Ubuntu 18.04 LTS (and to some extent later
- # versions it seems) they've not packaged the config properly. So, go for the
- # config by default and fall back to manual lookup iff the config was not found.
-@@ -39,6 +52,9 @@
- # https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1800135
- find_package(libssh ${libssh_FIND_VERSION} NO_MODULE QUIET)
- if(libssh_FOUND)
-+ # Certain versions with config may not have the target, so make sure it's
-+ # defined.
-+ libssh_ensure_imported_target()
- return()
- endif()
-
-@@ -109,5 +125,7 @@ find_package_handle_standard_args(libssh
- VERSION_VAR
- LIBSSH_VERSION)
-
-+libssh_ensure_imported_target()
-+
- # show the LIBSSH_INCLUDE_DIRS and LIBSSH_LIBRARIES variables only in the advanced view
- mark_as_advanced(LIBSSH_INCLUDE_DIR LIBSSH_LIBRARIES)
-diff --git a/sftp/CMakeLists.txt b/sftp/CMakeLists.txt
-index cd09cd3..5d1eccb 100644
---- a/sftp/CMakeLists.txt
-+++ b/sftp/CMakeLists.txt
-@@ -22,7 +22,7 @@ target_link_libraries(kio_sftp
- KF5::WidgetsAddons # KMessageBox
- KF5::I18n
- Qt5::Network
-- ${LIBSSH_LIBRARIES})
-+ ssh)
- set_target_properties(kio_sftp PROPERTIES OUTPUT_NAME "sftp")
-
- install(TARGETS kio_sftp DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio)
---
-cgit v1.1
diff --git a/kde-apps/kio-extras/files/kio-extras-19.12.3-kio_nfs.patch b/kde-apps/kio-extras/files/kio-extras-19.12.3-kio_nfs.patch
new file mode 100644
index 000000000000..4bdf9af413a7
--- /dev/null
+++ b/kde-apps/kio-extras/files/kio-extras-19.12.3-kio_nfs.patch
@@ -0,0 +1,171 @@
+From a0a7ccb17fbb702ebc9122015f40fa9b112cedc6 Mon Sep 17 00:00:00 2001
+From: Christophe Giboudeaux <christophe@krop.fr>
+Date: Tue, 27 Nov 2018 23:37:13 +0100
+Subject: [PATCH 1/2] Add FindTIRPC.cmake
+
+Taken from https://phabricator.kde.org/D12761
+---
+ cmake/FindTIRPC.cmake | 60 +++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 60 insertions(+)
+ create mode 100644 cmake/FindTIRPC.cmake
+
+diff --git a/cmake/FindTIRPC.cmake b/cmake/FindTIRPC.cmake
+new file mode 100644
+index 00000000..20e78f9f
+--- /dev/null
++++ b/cmake/FindTIRPC.cmake
+@@ -0,0 +1,60 @@
++# - Try to find TI-RPC
++#
++# The following variables will be available once found :
++#
++# TIRPC_INCLUDE_DIRS - The TI-RPC headers location
++# TIRPC_LIBRARIES - Link these to use TI-RPC
++# TIRPC_VERSION - The TIRPC version
++#
++#=============================================================================
++# Copyright (c) 2017 Christophe Giboudeaux <christophe@krop.fr>
++#
++#
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions
++# are met:
++#
++# 1. Redistributions of source code must retain the copyright
++# notice, this list of conditions and the following disclaimer.
++# 2. Redistributions in binary form must reproduce the copyright
++# notice, this list of conditions and the following disclaimer in the
++# documentation and/or other materials provided with the distribution.
++# 3. The name of the author may not be used to endorse or promote products
++# derived from this software without specific prior written permission.
++#
++# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
++# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
++# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
++# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
++# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
++# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
++# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
++# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
++# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
++# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++#=============================================================================
++
++find_package(PkgConfig QUIET)
++pkg_check_modules(PC_TIRPC libtirpc)
++
++find_path(TIRPC_INCLUDE_DIRS
++ NAMES netconfig.h
++ PATH_SUFFIXES tirpc
++ HINTS ${PC_TIRPC_INCLUDE_DIRS}
++)
++
++find_library(TIRPC_LIBRARIES
++ NAMES tirpc
++ HINTS ${PC_TIRPC_LIBRARY_DIRS}
++)
++
++set(TIRPC_VERSION ${PC_TIRPC_VERSION})
++
++include(FindPackageHandleStandardArgs)
++
++find_package_handle_standard_args(TIRPC
++ REQUIRED_VARS TIRPC_LIBRARIES TIRPC_INCLUDE_DIRS
++ VERSION_VAR TIRPC_VERSION
++)
++
++mark_as_advanced(TIRPC_INCLUDE_DIRS TIRPC_LIBRARIES)
+--
+2.25.1
+
+
+From 7cd0142ada663ac1bfcf4926f80f7ac53ccfb37c Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 27 Nov 2018 23:43:18 +0100
+Subject: [PATCH 2/2] Build kio_nfs against standalone libtirpc
+
+Summary:
+Since glibc-2.26, cmake skipped over nfs when standalone tirpc
+was installed in tirpc subdir (as done by Debian, Fedora, Arch, Gentoo...)
+
+Use FindTIRPC and make kio_nfs optional that way
+FindTIRPC taken from https://phabricator.kde.org/D12761
+
+Test Plan: Built with libtirpc successfully.
+
+Reviewers: #dolphin, dfaure, rdieter, sitter
+
+Subscribers: kde-frameworks-devel, cgiboudeaux, arojas, kfm-devel, meven
+
+Tags: #dolphin, #frameworks
+
+Differential Revision: https://phabricator.kde.org/D17205
+---
+ CMakeLists.txt | 9 ++++++---
+ nfs/CMakeLists.txt | 15 +++++++++------
+ 2 files changed, 15 insertions(+), 9 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 347caaad..37d56b3f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -134,6 +134,11 @@ if(UNIX)
+ set_package_properties(Gperf PROPERTIES TYPE OPTIONAL
+ PURPOSE "Needed to build the man kioslave"
+ )
++
++ find_package(TIRPC)
++ set_package_properties(TIRPC PROPERTIES TYPE OPTIONAL
++ PURPOSE "Needed to build the NFS kioslave"
++ )
+ else()
+ # FIXME: on windows we ignore support until trash gets integrated
+ endif()
+@@ -178,9 +183,7 @@ if(NOT WIN32)
+ if(Gperf_FOUND)
+ add_subdirectory( man )
+ endif()
+- check_include_files(rpc/rpc.h HAVE_RPC_RPC_H)
+- add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave")
+- if(HAVE_RPC_RPC_H)
++ if(TIRPC_FOUND)
+ add_subdirectory( nfs )
+ endif()
+ endif()
+diff --git a/nfs/CMakeLists.txt b/nfs/CMakeLists.txt
+index 6436e0d1..7189b25a 100644
+--- a/nfs/CMakeLists.txt
++++ b/nfs/CMakeLists.txt
+@@ -1,10 +1,12 @@
+ ## Check for XDR functions
+-include(CheckFunctionExists)
++include(CheckCXXSymbolExists)
+
+-CHECK_FUNCTION_EXISTS(xdr_u_int64_t HAVE_XDR_U_INT64_T)
+-CHECK_FUNCTION_EXISTS(xdr_uint64_t HAVE_XDR_UINT64_T)
+-CHECK_FUNCTION_EXISTS(xdr_u_hyper HAVE_XDR_U_HYPER)
+-CHECK_FUNCTION_EXISTS(xdr_u_longlong_t HAVE_XDR_U_LONGLONG_T)
++set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${TIRPC_LIBRARIES})
++set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${TIRPC_INCLUDE_DIRS})
++check_cxx_symbol_exists(xdr_u_int64_t "rpc/xdr.h" HAVE_XDR_U_INT64_T)
++check_cxx_symbol_exists(xdr_uint64_t "rpc/xdr.h" HAVE_XDR_UINT64_T)
++check_cxx_symbol_exists(xdr_u_hyper "rpc/xdr.h" HAVE_XDR_U_HYPER)
++check_cxx_symbol_exists(xdr_u_longlong_t "rpc/xdr.h" HAVE_XDR_U_LONGLONG_T)
+
+ if (NOT HAVE_XDR_U_INT64_T AND NOT HAVE_XDR_UINT64_T AND NOT HAVE_XDR_U_HYPER AND NOT HAVE_XDR_U_LONGLONG_T)
+ message(FATAL_ERROR "Could not find 64-bit XDR datatype functions!")
+@@ -24,9 +26,10 @@ if (HAVE_XDR_U_LONGLONG_T)
+ endif (HAVE_XDR_U_LONGLONG_T)
+
+ add_definitions(-DTRANSLATION_DOMAIN=\"kio5_nfs\")
++include_directories(${TIRPC_INCLUDE_DIRS})
+
+ add_library(kio_nfs MODULE kio_nfs.cpp nfsv2.cpp nfsv3.cpp rpc_nfs3_prot_xdr.c rpc_nfs2_prot_xdr.c)
+-target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network)
++target_link_libraries(kio_nfs KF5::KIOCore KF5::I18n Qt5::Network ${TIRPC_LIBRARIES})
+ set_target_properties(kio_nfs PROPERTIES OUTPUT_NAME "nfs")
+
+ install(TARGETS kio_nfs DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio)
+--
+2.25.1
+
diff --git a/kde-apps/kio-extras/kio-extras-19.08.3.ebuild b/kde-apps/kio-extras/kio-extras-19.08.3.ebuild
deleted file mode 100644
index 94dd97550a52..000000000000
--- a/kde-apps/kio-extras/kio-extras-19.08.3.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="forceoptional"
-ECM_TEST="optional"
-KFMIN=5.60.0
-QTMIN=5.12.3
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
-HOMEPAGE="https://cgit.kde.org/kio-extras.git"
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="5"
-KEYWORDS="amd64 ~arm arm64 x86"
-IUSE="activities +man mtp openexr phonon samba +sftp taglib"
-
-BDEPEND="
- man? ( dev-util/gperf )
-"
-DEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/karchive-${KFMIN}:5[bzip2,lzma]
- >=kde-frameworks/kbookmarks-${KFMIN}:5
- >=kde-frameworks/kcodecs-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kdbusaddons-${KFMIN}:5
- >=kde-frameworks/kdnssd-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/kpty-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/solid-${KFMIN}:5
- >=kde-frameworks/syntax-highlighting-${KFMIN}:5
- activities? (
- >=dev-qt/qtsql-${QTMIN}:5
- >=kde-frameworks/kactivities-${KFMIN}:5
- )
- man? ( >=kde-frameworks/khtml-${KFMIN}:5 )
- mtp? ( >=media-libs/libmtp-1.1.16:= )
- openexr? ( media-libs/openexr:= )
- phonon? ( media-libs/phonon[qt5(+)] )
- samba? ( net-fs/samba[client] )
- sftp? ( net-libs/libssh:=[sftp] )
- taglib? ( >=media-libs/taglib-1.11.1 )
-"
-RDEPEND="${DEPEND}
- >=kde-frameworks/kded-${KFMIN}:5
-"
-
-# requires running kde environment
-RESTRICT+=" test"
-
-PATCHES=( "${FILESDIR}/${P}-libssh-0.9.2.patch" )
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package activities KF5Activities)
- $(cmake_use_find_package man Gperf)
- $(cmake_use_find_package mtp Mtp)
- $(cmake_use_find_package openexr OpenEXR)
- $(cmake_use_find_package phonon Phonon4Qt5)
- $(cmake_use_find_package samba Samba)
- $(cmake_use_find_package sftp libssh)
- $(cmake_use_find_package taglib Taglib)
- )
-
- ecm_src_configure
-}
diff --git a/kde-apps/kio-extras/kio-extras-19.12.2.ebuild b/kde-apps/kio-extras/kio-extras-19.12.3.ebuild
index dac7d525141d..58e6a31cad8f 100644
--- a/kde-apps/kio-extras/kio-extras-19.12.2.ebuild
+++ b/kde-apps/kio-extras/kio-extras-19.12.3.ebuild
@@ -15,8 +15,8 @@ HOMEPAGE="https://cgit.kde.org/kio-extras.git"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="activities +man mtp openexr phonon samba +sftp taglib"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+IUSE="activities +man mtp nfs openexr phonon samba +sftp taglib"
BDEPEND="
man? ( dev-util/gperf )
@@ -52,6 +52,7 @@ DEPEND="
>=dev-qt/qtsql-${QTMIN}:5
)
mtp? ( >=media-libs/libmtp-1.1.16:= )
+ nfs? ( net-libs/libtirpc:= )
openexr? ( media-libs/openexr:= )
phonon? ( media-libs/phonon[qt5(+)] )
samba? ( net-fs/samba[client] )
@@ -65,12 +66,15 @@ RDEPEND="${DEPEND}
# requires running kde environment
RESTRICT+=" test"
+PATCHES=( "${FILESDIR}/${P}-kio_nfs.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package activities KF5Activities)
$(cmake_use_find_package activities KF5ActivitiesStats)
$(cmake_use_find_package man Gperf)
$(cmake_use_find_package mtp Mtp)
+ $(cmake_use_find_package nfs TIRPC)
$(cmake_use_find_package openexr OpenEXR)
$(cmake_use_find_package phonon Phonon4Qt5)
$(cmake_use_find_package samba Samba)
diff --git a/kde-apps/kio-extras/metadata.xml b/kde-apps/kio-extras/metadata.xml
index c061429499a3..5a7f243d3802 100644
--- a/kde-apps/kio-extras/metadata.xml
+++ b/kde-apps/kio-extras/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="activities">Enable activities kioslave and fileitem plugin</flag>
<flag name="man">Enable manpages kioslave</flag>
+ <flag name="nfs">Enable NFS support using <pkg>net-libs/libtirpc</pkg></flag>
<flag name="phonon">Enable file audio preview plugin using <pkg>media-libs/phonon</pkg></flag>
<flag name="sftp">Enable SFTP protocol support using <pkg>net-libs/libssh</pkg></flag>
<flag name="taglib">Enable audio thumbnails via <pkg>media-libs/taglib</pkg></flag>