mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
38 lines
810 B
Bash
38 lines
810 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
QTMIN=6.10.1
|
|
inherit ecm frameworks.kde.org
|
|
|
|
DESCRIPTION="Framework for network service discovery using Zeroconf"
|
|
|
|
LICENSE="LGPL-2+"
|
|
KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86"
|
|
IUSE="minimal"
|
|
|
|
DEPEND="
|
|
>=dev-qt/qtbase-${QTMIN}:6[network]
|
|
!minimal? (
|
|
>=dev-qt/qtbase-${QTMIN}:6[dbus]
|
|
net-dns/avahi[mdnsresponder-compat]
|
|
)
|
|
"
|
|
RDEPEND="${DEPEND}
|
|
!minimal? ( elibc_glibc? ( sys-auth/nss-mdns ) )
|
|
"
|
|
BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
|
|
|
|
src_configure() {
|
|
if use minimal; then
|
|
local mycmakeargs=(
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Avahi=ON
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=ON # examples are not installed
|
|
)
|
|
fi
|
|
|
|
ecm_src_configure
|
|
}
|