# $Header: /magellan-cvs/smage/linphone/linphone-1.3.5-r1.smage2,v 1.5 2007-11-10 16:23:43 niro Exp $ PNAME="linphone" PVER="1.7.1" PBUILD="r1" PCATEGORIE="net-im" STATE="unstable" DESCRIPTION="Voip web phone utility." HOMEPAGE="http://www.linphone.org/index.php/eng" DEPEND=">= dev-libs/glib2-2.12 >= x11-libs/gtk2+-2.10 >= media-libs/alsa-lib-1.0.14 >= media-libs/speex-1.1.6 >= net-lib/libosip2-2.2.2 >= gnome-base/gnome-panel-2 >= gnome-base/libgnome-2 >= gnome-base/libgnomeui-2" SDEPEND=">= dev-util/pkgconfig-0.15.0 >= dev-lang/nasm-0.98.38" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://download.savannah.gnu.org/releases/${PNAME}/stable/sources/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_compile() { cd ${SRCDIR} # --with-speex=/usr is needed; configure is broken mconfigure \ --with-speex=/usr \ --enable-nls \ --disable-gtk-doc \ --enable-alsa \ --enable-ipv6 \ --enable-glib \ --enable-gnome_ui=yes \ --enable-platform-gnome-2 \ || die mmake || die }