diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-02-06 08:45:07 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-02-06 08:45:07 +0000 |
commit | 0a0d010cd1dd947f6d0e19b85f1d089ecb6eef16 (patch) | |
tree | 0312303c5036b611f075edbe3070f568103ceda3 /packages/gpephone/linphone_1.5.0.bb | |
parent | 493255c0ada70a916c0cd8604ac40a7011ba728f (diff) | |
parent | 68b828380e935344f72ffcbbb124f4f38a67569c (diff) |
merge of '874adfdd0660713eb95ed9ae86e0bd3fb95ec61a'
and '8ed317e67b9356de305928b5c3cfb03fa0cc9816'
Diffstat (limited to 'packages/gpephone/linphone_1.5.0.bb')
-rw-r--r-- | packages/gpephone/linphone_1.5.0.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/gpephone/linphone_1.5.0.bb b/packages/gpephone/linphone_1.5.0.bb new file mode 100644 index 0000000000..ac39bead66 --- /dev/null +++ b/packages/gpephone/linphone_1.5.0.bb @@ -0,0 +1,47 @@ + +DESCRIPTION = "SIP-based IP phone" +HOMEPAGE = "http://www.linphone.org/?lang=us" +LICENSE = "GPL-2" +DEPENDS = "libosip2 speex libogg alsa-lib readline" +PR = "r0" + +SRC_URI = "http://download.savannah.nongnu.org/releases/linphone/1.5.x/source/linphone-${PV}.tar.gz \ + file://linphone-1.5.0.patch;patch=1 \ + file://linphone-pkgconfig.patch;patch=1;pnum=0" + +FILES_${PN} += "${datadir}/linphonec" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--disable-gnome_ui --disable-gtk-doc --without-ffmpeg \ + --without-sdl --disable-video --enable-alsa \ + --with-osip=${STAGING_DIR}/${HOST_SYS} \ + --with-readline=${STAGING_DIR}/${HOST_SYS} \ + --disable-truespeech --disable-manual \ + --disable-glibtest --disable-glib" + +do_configure () { + export LIBTOOL="${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool" + oe_runconf SPEEX_LIBS="-lspeex" SPEEX_CFLAGS="" +} + +do_compile () { + oe_runmake "LIBTOOL=${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool" LIBTOOL="${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool" +} + +do_install () { + oe_runmake install "DESTDIR=${D}" "LIBTOOL=${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool" +} + +do_install_append() { + rm -f ${D}${datadir}/sounds/linphone/hello*.wav + rm -f ${D}${datadir}/sounds/linphone/rings/oldphone.wav +} + +do_stage() { + export LIBTOOL="${STAGING_BINDIR_NATIVE}/${TARGET_PREFIX}libtool" + autotools_stage_all + cp ${S}/mediastreamer2/src/libquickstream.la ${STAGING_LIBDIR} + cp ${S}/mediastreamer2/src/libmediastreamer.la ${STAGING_LIBDIR} + cp ${S}/coreapi/liblinphone.la ${STAGING_LIBDIR} +} |