summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-17 13:25:55 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-18 00:00:50 +0100
commitb099594495f40e1b98998a40e744e64a744fe4c5 (patch)
tree85e1374dcf26f3ba2029235a9f4cfb6cac4e46c8 /kde-apps/kio-extras-kf5
parentkde-apps/libkexiv2: add 24.01.80 (diff)
downloadgentoo-b099594495f40e1b98998a40e744e64a744fe4c5.tar.gz
gentoo-b099594495f40e1b98998a40e744e64a744fe4c5.tar.bz2
gentoo-b099594495f40e1b98998a40e744e64a744fe4c5.zip
kde-apps/kio-extras-kf5: new package, add 24.01.80
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kio-extras-kf5')
-rw-r--r--kde-apps/kio-extras-kf5/Manifest1
-rw-r--r--kde-apps/kio-extras-kf5/kio-extras-kf5-24.01.80.ebuild96
-rw-r--r--kde-apps/kio-extras-kf5/metadata.xml23
3 files changed, 120 insertions, 0 deletions
diff --git a/kde-apps/kio-extras-kf5/Manifest b/kde-apps/kio-extras-kf5/Manifest
new file mode 100644
index 000000000000..446709d18212
--- /dev/null
+++ b/kde-apps/kio-extras-kf5/Manifest
@@ -0,0 +1 @@
+DIST kio-extras-24.01.80.tar.xz 3584496 BLAKE2B 7aade7182c34e244e937d4b58989d6e31d408ba2a16e4765dedf0fcf8a106346d107753c3403d0dd63a0404ade0add04518a26cfb47eaf128178792c63a067c8 SHA512 4f9f5720d1986a5fe3aefa54b398dde12740005ebd8dc5381b79b54527c39cb1103f87667ea2a5e865c0da6f87e6ccaa3356688d6ee5a0ef7094b86dea471b5f
diff --git a/kde-apps/kio-extras-kf5/kio-extras-kf5-24.01.80.ebuild b/kde-apps/kio-extras-kf5/kio-extras-kf5-24.01.80.ebuild
new file mode 100644
index 000000000000..d80491c01c8b
--- /dev/null
+++ b/kde-apps/kio-extras-kf5/kio-extras-kf5-24.01.80.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KDE_ORG_NAME="kio-extras"
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
+
+DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
+HOMEPAGE="https://invent.kde.org/network/kio-extras"
+EGIT_BRANCH="kf5"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="ios kf6compat +man mtp nfs openexr phonon samba +sftp taglib X"
+
+# requires running Plasma environment
+RESTRICT="test"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ kde-apps/libkexiv2:5
+ >=kde-frameworks/karchive-${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/kio-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:5
+ >=kde-plasma/plasma-activities-${KFMIN}:5
+ >=kde-plasma/plasma-activities-stats-${KFMIN}:5
+ ios? (
+ app-pda/libimobiledevice:=
+ app-pda/libplist:=
+ )
+ mtp? ( >=media-libs/libmtp-1.1.16:= )
+ nfs? ( net-libs/libtirpc:= )
+ openexr? ( media-libs/openexr:= )
+ phonon? ( >=media-libs/phonon-4.11.0[qt5(+)] )
+ samba? ( net-fs/samba[client] )
+ sftp? ( net-libs/libssh:=[sftp] )
+ taglib? ( >=media-libs/taglib-1.11.1 )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXcursor
+ )
+"
+RDEPEND="${DEPEND}
+ !kde-apps/kio-extras:5
+ >=kde-frameworks/kded-${KFMIN}:5
+ kf6compat? ( kde-apps/kio-extras:6 )
+"
+BDEPEND="man? ( dev-util/gperf )"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package ios IMobileDevice)
+ $(cmake_use_find_package ios PList)
+ $(cmake_use_find_package man Gperf)
+ $(cmake_use_find_package mtp Libmtp)
+ $(cmake_use_find_package nfs TIRPC)
+ -DKF6_COMPAT_BUILD=$(usex kf6compat)
+ $(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)
+ -DWITHOUT_X11=$(usex !X)
+ )
+
+ use samba && mycmakeargs+=(
+ # do not attempt to find now Qt6-based system version
+ -DCMAKE_DISABLE_FIND_PACKAGE_KDSoapWSDiscoveryClient=ON
+ )
+
+ ecm_src_configure
+}
diff --git a/kde-apps/kio-extras-kf5/metadata.xml b/kde-apps/kio-extras-kf5/metadata.xml
new file mode 100644
index 000000000000..72853d9bad5f
--- /dev/null
+++ b/kde-apps/kio-extras-kf5/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://bugs.kde.org/</bugs-to>
+ <remote-id type="cpe">cpe:/a:kde:kio-extras</remote-id>
+ <remote-id type="kde-invent">network/kio-extras</remote-id>
+ </upstream>
+ <use>
+ <flag name="ios">Enable AFC (Apple File Conduit) KIO worker for iOS devices support</flag>
+ <flag name="kf6compat">Disable components colliding with KF6, depend on KF6 components instead</flag>
+ <flag name="man">Enable manpages KIO worker</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>
+ <flag name="X">Enable support for XCursor thumbnails via <pkg>x11-libs/libX11</pkg></flag>
+ </use>
+</pkgmetadata>