# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit eutils gnome2 DESCRIPTION="H.323 and SIP VoIP softphone" HOMEPAGE="http://www.ekiga.org/" SLOT="0" LICENSE="GPL-2" KEYWORDS="~ppc ~x86 ~amd64" IUSE="avahi dbus debug doc eds gconf gnome +h323 ldap libnotify mmx nls +shm +sip static v4l xv" RDEPEND=">=dev-libs/glib-2.8.0:2 dev-libs/libsigc++:2 dev-libs/libxml2:2 =net-libs/ptlib-2.6*[debug=] =net-libs/opal-3.6*[debug=,h323?,sip?,wav] >=x11-libs/gtk+-2.12.0:2 sys-devel/gettext avahi? ( >=net-dns/avahi-0.6[dbus] ) dbus? ( >=sys-apps/dbus-0.36 >=dev-libs/dbus-glib-0.36 ) eds? ( >=gnome-extra/evolution-data-server-1.2 ) gconf? ( >=gnome-base/gconf-2.6.0:2 ) gnome? ( >=gnome-base/libgnome-2.14.0 >=gnome-base/libgnomeui-2.14.0 ) ldap? ( net-nds/openldap ) libnotify? ( x11-libs/libnotify ) shm? ( x11-libs/libXext ) xv? ( x11-libs/libXv )" DEPEND="${RDEPEND} >=sys-devel/make-3.81 >=dev-util/pkgconfig-0.20 >=dev-util/intltool-0.35 doc? ( app-text/scrollkeeper app-text/gnome-doc-utils ) v4l? ( sys-kernel/linux-headers )" DOCS="AUTHORS ChangeLog FAQ NEWS README TODO" # NOTES: # # make 3.80 is breaking installation phase, need make 3.81 at least # gettext is required for glib and intltool so not directly but painless to add # ekiga doesn't work with opal-3.5* and ptlib-2.5* src_configure() { econf --disable-ldap --enable-static --enable-dependency-tracking \ --enable-static-libs --disable-schemas-install } pkg_postinst() { gnome2_pkg_postinst if ! use gnome; then ewarn "USE=-gnome is experimental, some weirdness with the UI and" ewarn "config keys should appear." fi }