summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-07-27 18:35:59 +0000
committerSven Wegener <swegener@gentoo.org>2006-07-27 18:35:59 +0000
commitdd01bcbb72dbd2f0f908eca4c53980b958663a94 (patch)
tree33f93ef4e1b3a72c07879ec2bedbf7903cc0fdd8 /net-dns
parentMarking stable for gcc 4.1.1 and bug #140707. (diff)
downloadgentoo-2-dd01bcbb72dbd2f0f908eca4c53980b958663a94.tar.gz
gentoo-2-dd01bcbb72dbd2f0f908eca4c53980b958663a94.tar.bz2
gentoo-2-dd01bcbb72dbd2f0f908eca4c53980b958663a94.zip
Version bump.
(Portage version: 2.1-r1)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/avahi/ChangeLog7
-rw-r--r--net-dns/avahi/avahi-0.6.12.ebuild143
-rw-r--r--net-dns/avahi/files/digest-avahi-0.6.123
3 files changed, 152 insertions, 1 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog
index 73661c16429d..f7358a921feb 100644
--- a/net-dns/avahi/ChangeLog
+++ b/net-dns/avahi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/avahi
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.52 2006/07/16 10:38:19 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.53 2006/07/27 18:35:59 swegener Exp $
+
+*avahi-0.6.12 (27 Jul 2006)
+
+ 27 Jul 2006; Sven Wegener <swegener@gentoo.org> +avahi-0.6.12.ebuild:
+ Version bump.
16 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org> avahi-0.6.10.ebuild:
hppa stable, bug #139612
diff --git a/net-dns/avahi/avahi-0.6.12.ebuild b/net-dns/avahi/avahi-0.6.12.ebuild
new file mode 100644
index 000000000000..5a02bba780a1
--- /dev/null
+++ b/net-dns/avahi/avahi-0.6.12.ebuild
@@ -0,0 +1,143 @@
+# Copyright 2000-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.6.12.ebuild,v 1.1 2006/07/27 18:35:59 swegener Exp $
+
+inherit eutils mono python
+
+DESCRIPTION="System which facilitates service discovery on a local network"
+HOMEPAGE="http://avahi.org/"
+SRC_URI="http://avahi.org/download/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="bookmarks howl-compat mdnsresponder-compat gdbm dbus doc mono gtk python qt3 qt4"
+
+RDEPEND=">=dev-libs/libdaemon-0.5
+ dev-libs/expat
+ >=dev-libs/glib-2
+ gdbm? ( sys-libs/gdbm )
+ qt3? ( =x11-libs/qt-3* )
+ qt4? ( =x11-libs/qt-4* )
+ gtk? (
+ >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2
+ )
+ dbus? (
+ >=sys-apps/dbus-0.30
+ )
+ mono? (
+ >=dev-lang/mono-1.1.10
+ )
+ howl-compat? (
+ !net-misc/howl
+ )
+ mdnsresponder-compat? (
+ !net-misc/mDNSResponder
+ )
+ python? (
+ >=virtual/python-2.4
+ gtk? ( >=dev-python/pygtk-2 )
+ )
+ bookmarks? (
+ dev-python/twisted
+ dev-python/twisted-web
+ )"
+DEPEND="${RDEPEND}
+ doc? (
+ app-doc/doxygen
+ mono? ( >=dev-util/monodoc-1.1.8 )
+ )"
+
+pkg_setup() {
+ if use python && ! built_with_use dev-lang/python gdbm
+ then
+ die "For python support you need dev-lang/python compiled with gdbm support!"
+ fi
+
+ if use python && use dbus && ! built_with_use sys-apps/dbus python
+ then
+ die "For python and dbus support you need sys-apps/dbus compiled with python support!"
+ fi
+
+ if ( use mdnsresponder-compat || use howl-compat || use mono ) && ! use dbus
+ then
+ die "For *-compat or mono support you also need to enable the dbus USE flag!"
+ fi
+
+ if use bookmarks && ! ( use python && use dbus && use gtk )
+ then
+ die "For bookmarks support you also need to enable the python, dbus and gtk USE flags!"
+ fi
+}
+
+pkg_preinst() {
+ enewgroup avahi
+ enewuser avahi -1 -1 -1 avahi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-0.6.1-no-ipv6.patch
+}
+
+src_compile() {
+ local myconf=""
+
+ if use python
+ then
+ use dbus && myconf="${myconf} --enable-python-dbus"
+ use gtk && myconf="${myconf} --enable-pygtk"
+ fi
+
+ if use mono && use doc
+ then
+ myconf="${myconf} --enable-monodoc"
+ fi
+
+ # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module
+ unset DISPLAY
+
+ PKG_CONFIG_PATH="${QTDIR}/lib/pkgconfig" \
+ econf \
+ --localstatedir=/var \
+ --with-distro=gentoo \
+ --disable-python-dbus \
+ --disable-pygtk \
+ --disable-xmltoman \
+ --disable-monodoc \
+ --enable-glib \
+ $(use_enable mdnsresponder-compat compat-libdns_sd) \
+ $(use_enable howl-compat compat-howl) \
+ $(use_enable doc doxygen-doc) \
+ $(use_enable mono) \
+ $(use_enable dbus) \
+ $(use_enable python) \
+ $(use_enable gtk) \
+ $(use_enable qt3) \
+ $(use_enable qt4) \
+ $(use_enable gdbm) \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ use bookmarks || rm -f "${D}"/usr/bin/avahi-bookmarks
+
+ use howl-compat && ln -s avahi-compat-howl.pc "${D}"/usr/$(get_libdir)/pkgconfig/howl.pc
+ use mdnsresponder-compat && ln -s avahi-compat-libdns_sd/dns_sd.h "${D}"/usr/include/dns_sd.h
+
+ dodoc docs/{AUTHORS,README,TODO}
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${ROOT}"/usr/lib/python*/site-packages/avahi
+}
+
+pkg_postinst() {
+ python_mod_optimize "${ROOT}"/usr/lib/python*/site-packages/avahi
+}
diff --git a/net-dns/avahi/files/digest-avahi-0.6.12 b/net-dns/avahi/files/digest-avahi-0.6.12
new file mode 100644
index 000000000000..2da2dc23a1a7
--- /dev/null
+++ b/net-dns/avahi/files/digest-avahi-0.6.12
@@ -0,0 +1,3 @@
+MD5 dc9ab59c59fe3a5bb42a570898f56744 avahi-0.6.12.tar.gz 886104
+RMD160 4de072df6d6330909e0587dc2ba696c4f232f8e2 avahi-0.6.12.tar.gz 886104
+SHA256 3083d2aa0313e66f3b13eea39aee15578505fa98c2c8515dccfe46f8dd11bb2f avahi-0.6.12.tar.gz 886104