MD5 48cfa105754358cd80a40c483e179ded ChangeLog 2497
-MD5 a7e4c57708a5420a5fd4430ee451616f avahi-0.5.2-r1.ebuild 1872
-MD5 6769920260e0cab143749c95970fd1dd avahi-0.5.2.ebuild 1817
+MD5 9fa2619500653f5b9e040657544d1e5e avahi-0.5.2-r1.ebuild 2076
+MD5 caaff3c113236f4152c8cbbd0774c70d avahi-0.5.2.ebuild 1958
MD5 b06b1183ea48e210c1943f0913f63714 files/digest-avahi-0.5.2 63
MD5 b06b1183ea48e210c1943f0913f63714 files/digest-avahi-0.5.2-r1 63
MD5 e522a390cede4510e8dbd0446e695912 metadata.xml 297
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.5.2-r1.ebuild,v 1.2 2005/11/07 16:05:25 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.5.2-r1.ebuild,v 1.3 2005/11/10 11:07:30 swegener Exp $
-inherit eutils qt3 mono
+inherit eutils qt3 mono python
DESCRIPTION="System which facilitates service discovery on a local network"
HOMEPAGE="http://www.freedesktop.org/Software/Avahi"
>=dev-libs/glib-2
)
mono? ( >=dev-lang/mono-1.1.3 )
- dbus? (
- >=sys-apps/dbus-0.30
- python? (
- >=virtual/python-2.4
- gtk? ( >=dev-python/pygtk-2 )
- )
+ dbus? ( >=sys-apps/dbus-0.30 )
+ python? (
+ >=virtual/python-2.4
+ gtk? ( >=dev-python/pygtk-2 )
)"
DEPEND="${RDEPEND}
doc? (
export PKG_CONFIG_PATH="${QTDIR}/lib/pkgconfig"
pkg_setup() {
- if ! built_with_use dev-lang/python gdbm
+ if use python && ! built_with_use dev-lang/python gdbm
then
die "Need dev-lang/python compiled with gdbm support!"
fi
src_compile() {
local myconf=""
- if use python && use dbus
+ if use python
then
- myconf="${myconf} --enable-python"
-
- if use gtk
- then
- myconf="${myconf} --enable-pygtk"
- fi
+ use dbus && myconf="${myconf} --enable-python-dbus"
+ use gtk && myconf="${myconf} --enable-pygtk"
fi
if use mono && use doc
econf \
--localstatedir=/var \
--with-distro=gentoo \
- --disable-python \
- --disable-pygtk \
--disable-qt4 \
+ --disable-python-dbus \
+ --disable-pygtk \
--disable-xmltoman \
--disable-mono-docs \
$(use_enable doc doxygen-doc) \
$(use_enable mono) \
$(use_enable dbus) \
+ $(use_enable python) \
$(use_enable gtk) \
$(use_enable qt qt3) \
$(use_enable gtk glib) \
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
+}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.5.2.ebuild,v 1.3 2005/11/07 16:05:25 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/avahi-0.5.2.ebuild,v 1.4 2005/11/10 11:07:30 swegener Exp $
-inherit eutils qt3 mono
+inherit eutils qt3 mono python
DESCRIPTION="System which facilitates service discovery on a local network"
HOMEPAGE="http://www.freedesktop.org/Software/Avahi"
>=dev-libs/glib-2
)
mono? ( >=dev-lang/mono-1.1.3 )
- dbus? (
- >=sys-apps/dbus-0.30
- python? (
- >=virtual/python-2.4
- gtk? ( >=dev-python/pygtk-2 )
- )
+ dbus? ( >=sys-apps/dbus-0.30 )
+ python? (
+ >=virtual/python-2.4
+ gtk? ( >=dev-python/pygtk-2 )
)"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
-# Future things:
-# doc? ( mono? ( >=dev-util/monodoc-1.18 ) )
-
export PKG_CONFIG_PATH="${QTDIR}/lib/pkgconfig"
pkg_setup() {
- if ! built_with_use dev-lang/python gdbm
+ if use python && ! built_with_use dev-lang/python gdbm
then
die "Need dev-lang/python compiled with gdbm support!"
fi
src_compile() {
local myconf=""
- if use python && use dbus
+ if use python
then
- myconf="${myconf} --enable-python"
-
- if use gtk
- then
- myconf="${myconf} --enable-pygtk"
- fi
+ use dbus && myconf="${myconf} --enable-python-dbus"
+ use gtk && myconf="${myconf} --enable-pygtk"
fi
econf \
--localstatedir=/var \
--with-distro=gentoo \
- --disable-python \
- --disable-pygtk \
--disable-qt4 \
+ --disable-python-dbus \
+ --disable-pygtk \
--disable-xmltoman \
--disable-mono-docs \
$(use_enable doc doxygen-doc) \
$(use_enable mono) \
$(use_enable dbus) \
+ $(use_enable python) \
$(use_enable gtk) \
$(use_enable qt qt3) \
$(use_enable gtk glib) \
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
+}