diff --git a/media-libs/farsight/farsight-0.1.28.ebuild b/media-libs/farsight/farsight-0.1.28.ebuild index b46fb19..97a2005 100644 --- a/media-libs/farsight/farsight-0.1.28.ebuild +++ b/media-libs/farsight/farsight-0.1.28.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/farsight/farsight-0.1.28.ebuild,v 1.1 2008/08/24 15:23:09 tester Exp $ +inherit eutils + DESCRIPTION="FarSight is an audio/video conferencing framework specifically designed for Instant Messengers." HOMEPAGE="http://farsight.freedesktop.org/" SRC_URI="http://farsight.freedesktop.org/releases/${PN}/${P}.tar.gz" @@ -31,6 +33,12 @@ DEPEND="${COMMON_DEPEND} doc? ( >=dev-util/gtk-doc-1.5 ) test? ( >=dev-libs/check-0.9.4 )" +pkg_setup() { + if use jingle && ! built_with_use -o media-plugins/gst-plugins-farsight jingle ; then + die "${PN} needs media-plugins/gst-plugins-farsight built with jingle" + fi +} + src_compile() { # I'm disabling clinkc because it sucks, isnt in portage # and I couldnt care less for upnp diff --git a/net-voip/telepathy-gabble/telepathy-gabble-0.7.8.ebuild b/net-voip/telepathy-gabble/telepathy-gabble-0.7.8.ebuild index 7105f21..c0855c5 100644 --- a/net-voip/telepathy-gabble/telepathy-gabble-0.7.8.ebuild +++ b/net-voip/telepathy-gabble/telepathy-gabble-0.7.8.ebuild @@ -11,13 +11,14 @@ SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="debug test" +IUSE="debug jingle test" RDEPEND=">=dev-libs/glib-2.10 >=dev-libs/dbus-glib-0.73 >=net-libs/telepathy-glib-0.7.14 dev-lang/python - >=net-libs/loudmouth-1.3.2" + >=net-libs/loudmouth-1.3.2 + jingle? ( >=net-voip/telepathy-stream-engine-0.5.2 )" DEPEND="${RDEPEND} dev-libs/libxslt @@ -30,6 +31,10 @@ pkg_setup() { eerror "USE='gnutls' or USE='ssl'." die "No TLS support in net-libs/loudmouth" fi + # farsight is a dependency of telepathy-stream-engine + if use jingle && ! built_with_use -o media-libs/farsight jingle ; then + die "${PN} needs media-libs/farsight built with USE=jingle" + fi } src_compile() {