summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-12-02 22:46:36 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-12-02 22:51:34 +0100
commit735ed294781f1dd95ca56d5aef50cda044a20a9c (patch)
treef1c40834e624af135c2376b6211722f30021c143
parent2d8d46bd743672a1d6abf9c07b2ae6915abb7490 (diff)
downloadkde-735ed294781f1dd95ca56d5aef50cda044a20a9c.tar.gz
kde-735ed294781f1dd95ca56d5aef50cda044a20a9c.tar.bz2
kde-735ed294781f1dd95ca56d5aef50cda044a20a9c.zip
kde-apps/kio-extras: Add IUSE libproxy
Upstream commit 616f8ccf5f6816ae4577ecf875aab6219452a2e6 Pending MR re optional KF6Notifications: https://invent.kde.org/network/kio-extras/-/merge_requests/391 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/kio-extras/kio-extras-9999.ebuild7
-rw-r--r--kde-apps/kio-extras/metadata.xml1
2 files changed, 7 insertions, 1 deletions
diff --git a/kde-apps/kio-extras/kio-extras-9999.ebuild b/kde-apps/kio-extras/kio-extras-9999.ebuild
index 7f62137dfba..f66a909676e 100644
--- a/kde-apps/kio-extras/kio-extras-9999.ebuild
+++ b/kde-apps/kio-extras/kio-extras-9999.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://invent.kde.org/network/kio-extras"
LICENSE="GPL-2" # TODO: CHECK
SLOT="6"
KEYWORDS=""
-IUSE="activities ios +man mtp nfs openexr phonon samba +sftp taglib X"
+IUSE="activities ios +man mtp nfs +libproxy openexr phonon samba +sftp taglib X"
# requires running Plasma environment
RESTRICT="test"
@@ -52,6 +52,10 @@ DEPEND="
app-pda/libimobiledevice:=
app-pda/libplist:=
)
+ libproxy? (
+ >=kde-frameworks/knotifications-${KFMIN}:6
+ net-libs/libproxy
+ )
mtp? ( >=media-libs/libmtp-1.1.16:= )
nfs? ( net-libs/libtirpc:= )
openexr? ( media-libs/openexr:= )
@@ -82,6 +86,7 @@ src_configure() {
-DBUILD_ACTIVITIES=$(usex activities)
$(cmake_use_find_package ios IMobileDevice)
$(cmake_use_find_package ios PList)
+ -DWITH_LIBPROXY=$(usex libproxy)
$(cmake_use_find_package man Gperf)
$(cmake_use_find_package mtp Libmtp)
$(cmake_use_find_package nfs TIRPC)
diff --git a/kde-apps/kio-extras/metadata.xml b/kde-apps/kio-extras/metadata.xml
index 48490c08acd..14a96cf4117 100644
--- a/kde-apps/kio-extras/metadata.xml
+++ b/kde-apps/kio-extras/metadata.xml
@@ -13,6 +13,7 @@
<use>
<flag name="activities">Enable activities KIO worker and fileitem plugin</flag>
<flag name="ios">Enable AFC (Apple File Conduit) KIO worker for iOS devices support</flag>
+ <flag name="libproxy">Enable support for WPAD problem detection via <pkg>net-libs/libproxy</pkg></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>