summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/kio-zeroconf')
-rw-r--r--net-misc/kio-zeroconf/Manifest1
-rw-r--r--net-misc/kio-zeroconf/kio-zeroconf-23.08.5.ebuild38
-rw-r--r--net-misc/kio-zeroconf/metadata.xml3
3 files changed, 42 insertions, 0 deletions
diff --git a/net-misc/kio-zeroconf/Manifest b/net-misc/kio-zeroconf/Manifest
index d29362126b8a..5a9c996329ef 100644
--- a/net-misc/kio-zeroconf/Manifest
+++ b/net-misc/kio-zeroconf/Manifest
@@ -1,2 +1,3 @@
DIST kio-zeroconf-23.08.4.tar.xz 44372 BLAKE2B 65aa26ecd0bfe558b46c651a83097a8d54c3f522cd979eadc6c9bee7bb6eec42d93f68e7025d3efc2033231ec8ddad4f38da0b1d69eaee205b550a1c5b9af11a SHA512 f7abb47080ddf1ea645971030e8e52e2c917b38bb3483bd998d8bb1cb5cbfa405a098da911ae852c65d5bd5afc1889fdef6e3caf6b8c493f441f0ac77d0c57c0
+DIST kio-zeroconf-23.08.5.tar.xz 44360 BLAKE2B bf441b10221ba8c731756cb5455664fff5a1c8904a952e558084dadb6fe5bcc3a3da072ff58fd31f6c2c35a40ea27241c85403a3db16fd46b52e1a87586b1b5c SHA512 33ed5cb23280ba85ccd4fee149f5983e64164ff0c5f7730e2d49c80784b445c569aa7b925e2d44221854cf7588310f211920d8e4492d87f20be531dbbc9198e6
DIST kio-zeroconf-24.01.95.tar.xz 44400 BLAKE2B d5f932b0fa48bd81b3a0c211fa4cb6b7d1b6691d6a297cfcced7d2fbcd406a046b7f978148beeb3144bccccc2e7e2a61f3a0c57156df1280de1de29a0811082d SHA512 478cf2a5e12d4d154bab786b21fcce8c6f09209132aacee6b36df6643dbe708b7798fc11e7e1f3c7b9d5571f01e6d135cefa2317b6f7af3c888e3e1a69bc09d6
diff --git a/net-misc/kio-zeroconf/kio-zeroconf-23.08.5.ebuild b/net-misc/kio-zeroconf/kio-zeroconf-23.08.5.ebuild
new file mode 100644
index 000000000000..f9a3d3acbfc7
--- /dev/null
+++ b/net-misc/kio-zeroconf/kio-zeroconf-23.08.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
+
+DESCRIPTION="KIO worker to discover file systems by DNS-SD (DNS Service Discovery)"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="kf6compat"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kdnssd-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+"
+RDEPEND="${DEPEND}
+ kf6compat? ( net-misc/kio-zeroconf:6 )
+"
+
+src_install() {
+ ecm_src_install
+
+ if use kf6compat; then
+ rm "${D}"/usr/share/metainfo/org.kde.kio_zeroconf.metainfo.xml \
+ "${D}"/usr/share/dbus-1/interfaces/org.kde.kdnssd.xml \
+ "${D}"/usr/share/remoteview/zeroconf.desktop || die
+ rm -r "${D}"/usr/share/locale || die
+ fi
+}
diff --git a/net-misc/kio-zeroconf/metadata.xml b/net-misc/kio-zeroconf/metadata.xml
index d925f2439758..c45be7e6598a 100644
--- a/net-misc/kio-zeroconf/metadata.xml
+++ b/net-misc/kio-zeroconf/metadata.xml
@@ -8,4 +8,7 @@
<upstream>
<bugs-to>https://bugs.kde.org/</bugs-to>
</upstream>
+ <use>
+ <flag name="kf6compat">Disable components colliding with KF6, depend on KF6 components instead</flag>
+ </use>
</pkgmetadata>