commit:     735ed294781f1dd95ca56d5aef50cda044a20a9c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  2 21:46:36 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 21:51:34 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=735ed294

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 <AT> gentoo.org>

 kde-apps/kio-extras/kio-extras-9999.ebuild | 7 ++++++-
 kde-apps/kio-extras/metadata.xml           | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/kde-apps/kio-extras/kio-extras-9999.ebuild 
b/kde-apps/kio-extras/kio-extras-9999.ebuild
index 7f62137dfb..f66a909676 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 48490c08ac..14a96cf411 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>

Reply via email to