# $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.3.5" PBUILD="r1" PCATEGORIE="net-im" STATE="stable" DESCRIPTION="Voip web phone utility." HOMEPAGE="http://www.linphone.org/?lang=us&rubrique=1" DEPEND=">= dev-libs/glib2-2.6 >= x11-libs/gtk2+-2.6 >= media-libs/alsa-lib-1.0.8 >= 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=( mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-1.0.1-ipv6-include.diff ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix ipv6 includes mpatch -Np1 ${PNAME}-1.0.1-ipv6-include.diff || die } 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 }