linphone 3.1.0

Al Johnson openmoko at
Wed Mar 25 00:34:41 CET 2009

Here's a preliminary bitbake recipe for the latest linphone release. Binaries 
for fso-milestone5 are in:

* I haven't got it to do sound yet - it seems unhappy with the alsa device 
capabilities. I don't know if this is a configuration issue or a fundamental 
* The GUI will segfault if you try to open the Preferences. It's an upstream 
problem that happens if you don't enable video support, and was fixed in svn 
earlier today. 
* the GUI isn't finger-friendly.

linphone provides the GUI, and linphonec the CLI. 
-------------- next part --------------
DESCRIPTION = "SIP-based IP phone (console edition)"
SECTION = "x11/utils"

DEPENDS = "intltool libosip2 speex libogg alsa-lib readline"
DEPENDS_${PN} = "liblinphone"
DEPENDS_${PN}c = "liblinphone readline"
DEPENDS_liblinphone = "libmediastreamer libortp libosip2 libexosip2"
DEPENDS_libmediastreamer = "speex libogg alsa-lib libortp"

RDEPENDS_${PN} = "liblinphone"
RDEPENDS_${PN}c = "liblinphone readline"
RDEPENDS_liblinphone = "libmediastreamer libortp libosip2 libexosip2"
RDEPENDS_libmediastreamer = "speex libogg libasound libortp"

PROVIDES += "linphone linphonec liblinphone"

PR = "r1"

SRC_URI = "${PV}.tar.gz"

S = "${WORKDIR}/linphone-${PV}"

inherit autotools pkgconfig


EXTRA_OECONF = "--disable-gtk-doc \
                --without-ffmpeg --disable-video --without-sdl \
                --enable-alsa \
                --with-osip=${STAGING_DIR_HOST}${layout_exec_prefix} \
                --with-readline=${STAGING_DIR_HOST}${layout_exec_prefix} \
                --with-speex=${STAGING_DIR_HOST}${layout_exec_prefix} \
                --disable-truespeech --disable-manual \
                --enable-strict=no \


do_stage () {
        install -d ${STAGING_DATADIR}/aclocal
        oe_libinstall -a -so liblinphone ${STAGING_LIBDIR}
        install -d ${STAGING_INCDIR}/linphone
        install -m 0644 ${S}/coreapi/linphonecore.h ${STAGING_INCDIR}/linphone
        install -m 0644 ${S}/coreapi/lpconfig.h ${STAGING_INCDIR}/linphone
        oe_libinstall -a -so libmediastreamer ${STAGING_LIBDIR}
        install -d ${STAGING_INCDIR}/mediastreamer2
        install -m 0644 ${S}/mediastreamer2/include/mediastreamer2/*.h ${STAGING_INCDIR}/mediastreamer2
        install -d ${STAGING_INCDIR}/ortp
        oe_libinstall -a -so libortp ${STAGING_LIBDIR}/
        install -m 0644 ${S}/oRTP/include/ortp/*.h ${STAGING_INCDIR}/ortp/

PACKAGES += "linphonec linphone-rings liblinphone libmediastreamer libortp"

FILES_${PN} = "${bindir}/linphone ${bindir}/linphone-3 ${datadir}/pixmaps ${datadir}/applications ${datadir}/gnome/apps ${datadir}/linphone"
FILES_${PN}c = "${bindir}/linphonec ${bindir}/linphonecsh ${bindir}/sipomatic ${datadir}/sounds/linphone/ringback.wav"
FILES_${PN}-rings = "${datadir}/sounds/linphone/rings"
FILES_liblinphone = "${libdir}/*"
#FILES_libquickstream = "${libdir}/*"
FILES_libmediastreamer = "${libdir}/*"
FILES_libortp = "${libdir}/*"
FILES_${PN}-dev += "${libdir}/*.a ${libdir}/*.la ${libdir}/pkgconfig ${includedir}"

More information about the community mailing list