diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-11-25 17:08:39 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-11-25 17:08:39 +0000 |
commit | 4fa1a484c7c457bad0b25b221f4d3214c06a70e2 (patch) | |
tree | 63c1520cec1c0ba5836d0df0e3b5792d017dc9e5 /media-sound/mt-daapd | |
parent | Removed ~amd64 again as the fix for guile-gnome-platform doesn't appear to be... (diff) | |
download | gentoo-2-4fa1a484c7c457bad0b25b221f4d3214c06a70e2.tar.gz gentoo-2-4fa1a484c7c457bad0b25b221f4d3214c06a70e2.tar.bz2 gentoo-2-4fa1a484c7c457bad0b25b221f4d3214c06a70e2.zip |
Add built_with_use check for avahi dbus support.
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'media-sound/mt-daapd')
-rw-r--r-- | media-sound/mt-daapd/ChangeLog | 5 | ||||
-rw-r--r-- | media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/media-sound/mt-daapd/ChangeLog b/media-sound/mt-daapd/ChangeLog index f4ac5050efe5..c914d74b9ecc 100644 --- a/media-sound/mt-daapd/ChangeLog +++ b/media-sound/mt-daapd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/mt-daapd # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.55 2007/11/25 16:17:25 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.56 2007/11/25 17:08:39 drac Exp $ + + 25 Nov 2007; Samuli Suominen <drac@gentoo.org> mt-daapd-0.2.4.1.ebuild: + Add built_with_use check for avahi dbus support. 25 Nov 2007; Brent Baude <ranger@gentoo.org> mt-daapd-0.2.4.1.ebuild: Marking mt-daapd-0.2.4.1 ppc for bug 200110 diff --git a/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild index 7323e509f3ae..e4edeef55aee 100644 --- a/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild +++ b/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild,v 1.5 2007/11/25 16:17:25 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild,v 1.6 2007/11/25 17:08:39 drac Exp $ inherit autotools eutils @@ -21,6 +21,15 @@ RDEPEND="media-libs/libid3tag DEPEND="${RDEPEND} dev-util/pkgconfig" +pkg_setup() { + local fail="Re-emerge net-dns/avahi with USE dbus." + + if use avahi && ! built_with_use net-dns/avahi dbus; then + eerror "${fail}" + die "${fail}" + fi +} + src_unpack() { unpack ${A} cd "${S}" |