summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-01-28 09:49:39 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-01-28 09:49:39 +0000
commita20470d734e85c0083515b65c374bfe1f9068c01 (patch)
tree25e33daf058b49c8f3f0f00acab791f94b103b66 /kde-base/kdenetwork
parentneed to use "" rather than so the multilib gets updated #207851 (diff)
downloadgentoo-2-a20470d734e85c0083515b65c374bfe1f9068c01.tar.gz
gentoo-2-a20470d734e85c0083515b65c374bfe1f9068c01.tar.bz2
gentoo-2-a20470d734e85c0083515b65c374bfe1f9068c01.zip
Added a bindist USE flag, to disable net-misc/mDNSResponder, as per policy. Handle CMake arguments for the zeroconf USE flag correctly.
(Portage version: 2.1.4)
Diffstat (limited to 'kde-base/kdenetwork')
-rw-r--r--kde-base/kdenetwork/ChangeLog7
-rw-r--r--kde-base/kdenetwork/kdenetwork-4.0.0-r1.ebuild17
2 files changed, 19 insertions, 5 deletions
diff --git a/kde-base/kdenetwork/ChangeLog b/kde-base/kdenetwork/ChangeLog
index 7139287f36b0..30cbb087681d 100644
--- a/kde-base/kdenetwork/ChangeLog
+++ b/kde-base/kdenetwork/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kdenetwork
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/ChangeLog,v 1.280 2008/01/23 01:14:35 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/ChangeLog,v 1.281 2008/01/28 09:49:39 ingmar Exp $
+
+ 28 Jan 2008; Ingmar Vanhassel <ingmar@gentoo.org>
+ kdenetwork-4.0.0-r1.ebuild:
+ Added a bindist USE flag, to disable net-misc/mDNSResponder, as per policy.
+ Handle CMake arguments for the zeroconf USE flag correctly.
*kdenetwork-4.0.0-r1 (23 Jan 2008)
diff --git a/kde-base/kdenetwork/kdenetwork-4.0.0-r1.ebuild b/kde-base/kdenetwork/kdenetwork-4.0.0-r1.ebuild
index 824ded1d7147..c912229b7e68 100644
--- a/kde-base/kdenetwork/kdenetwork-4.0.0-r1.ebuild
+++ b/kde-base/kdenetwork/kdenetwork-4.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-4.0.0-r1.ebuild,v 1.1 2008/01/23 01:14:35 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdenetwork/kdenetwork-4.0.0-r1.ebuild,v 1.2 2008/01/28 09:49:39 ingmar Exp $
EAPI="1"
@@ -10,7 +10,7 @@ DESCRIPTION="KDE network applications: Kopete, KPPP, KGet,..."
HOMEPAGE="http://www.kde.org/"
KEYWORDS="~amd64 ~x86"
-IUSE="+addbookmarks +alias +autoreplace +contactnotes debug gadu groupwise
+IUSE="+addbookmarks +alias +autoreplace bindist +contactnotes debug gadu groupwise
+highlight +history htmlhandbook +jabber jpeg latex +msn +nowlistening oscar
+plasma ppp +privacy qq slp sms ssl +statistics testbed +texteffect +translator
+urlpicpreview vnc +webpresence winpopup yahoo zeroconf"
@@ -42,7 +42,7 @@ COMMONDEPEND="
statistics? ( dev-db/sqlite:3 )
vnc? ( >=net-libs/libvncserver-0.9 )
webpresence? ( dev-libs/libxml2 dev-libs/libxslt )
- zeroconf? ( || ( net-dns/avahi net-misc/mDNSResponder ) )
+ zeroconf? ( || ( net-dns/avahi bindist? ( net-misc/mDNSResponder ) ) )
"
# telepathy? ( net-libs/decibel )
@@ -68,6 +68,16 @@ src_compile() {
sed -e '/X-KDE-PluginInfo-Category\[.*/d' \
-i "${S}"/kopete/protocols/*/kopete_*.desktop || die "Sed failed."
+ if use zeroconf; then
+ if has_version net-dns/avahi; then
+ mycmakeargs="${mycmakeargs} -DWITH_Avahi=ON -DWITH_DNSSD=OFF"
+ elif has_version net-misc/mDNSResponder; then
+ mycmakeargs="${mycmakeargs} -DWITH_Avahi=OFF -DWITH_DNSSD=ON"
+ else
+ die "USE=\"zeroconf\" enabled but neither net-dns/avahi nor net-misc/mDNSResponder were found."
+ fi
+ fi
+
# kdenetwork looks for 'xmms' which isn't in the official portage tree.
# I've disabled this check to prevent linking to user-installed things.
mycmakeargs="${mycmakeargs}
@@ -108,7 +118,6 @@ src_compile() {
$(cmake-utils_use_with webpresence)
$(cmake-utils_use_with winpopup)
$(cmake-utils_use_with yahoo)
- $(cmake-utils_use_with zeroconf DNSSD)
"
# $(cmake-utils_use_with messenger)
# $(cmake-utils_use_with telepathy)