aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-frameworks/kdnssd/Manifest1
-rw-r--r--kde-frameworks/kdnssd/kdnssd-5.111.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/kde-frameworks/kdnssd/Manifest b/kde-frameworks/kdnssd/Manifest
new file mode 100644
index 0000000000..0bbe38cb28
--- /dev/null
+++ b/kde-frameworks/kdnssd/Manifest
@@ -0,0 +1 @@
+DIST kdnssd-5.111.0.tar.xz 2280980 BLAKE2B 663da038d8aae16b0e30cd790b4e07e7e46ae0c4bfcc104c3a09fab8bcc3af4ecfe3ec840b7a278ee8592a04accff1dd696b706360482c2bba545a0a8cfdd0fd SHA512 ff9c7c7ccc9b250bf6dd1fa76c62ef180e1b178e99e347e7bb00cf087aa23ac9c834f9792ba38cff609a3dc970d445488ded57245f20b7ce4350c67e1de11202
diff --git a/kde-frameworks/kdnssd/kdnssd-5.111.0.ebuild b/kde-frameworks/kdnssd/kdnssd-5.111.0.ebuild
new file mode 100644
index 0000000000..928bc1ac8b
--- /dev/null
+++ b/kde-frameworks/kdnssd/kdnssd-5.111.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QTMIN=5.15.9
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for network service discovery using Zeroconf"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="zeroconf"
+
+DEPEND="
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ zeroconf? (
+ >=dev-qt/qtdbus-${QTMIN}:5
+ net-dns/avahi[mdnsresponder-compat]
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package zeroconf Avahi)
+ )
+ use zeroconf || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON )
+
+ ecm_src_configure
+}