linphone: upgraded to 1.3.99 (console), courtesy of Thomas Reitmayr
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>
Fri, 4 Aug 2006 21:35:36 +0000 (21:35 +0000)
committerFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>
Fri, 4 Aug 2006 21:35:36 +0000 (21:35 +0000)
packages/linphone/linphone-1.3.99.8/.mtn2git_empty [new file with mode: 0644]
packages/linphone/linphone-1.3.99.8/conf.patch [new file with mode: 0644]
packages/linphone/linphone_1.3.99.8.bb [new file with mode: 0644]

diff --git a/packages/linphone/linphone-1.3.99.8/.mtn2git_empty b/packages/linphone/linphone-1.3.99.8/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/linphone/linphone-1.3.99.8/conf.patch b/packages/linphone/linphone-1.3.99.8/conf.patch
new file mode 100644 (file)
index 0000000..e8fbdf2
--- /dev/null
@@ -0,0 +1,33 @@
+--- a/configure.in
++++ b/configure.in
+@@ -30,7 +30,7 @@
+ AM_PROG_CC_STDC
+ AC_HEADER_STDC
+ dnl localization tools
+-ifdef([IT_PROG_INTLTOOL],[IT_PROG_INTLTOOL],[AC_PROG_INTLTOOL])
++dnl ifdef([IT_PROG_INTLTOOL],[IT_PROG_INTLTOOL],[AC_PROG_INTLTOOL])
+ dnl Initialize libtool
+ AC_PROG_LIBTOOL
+ AM_PROG_LIBTOOL
+@@ -62,7 +62,7 @@
+   gnome_ui=false
+ fi
+-CFLAGS="$CFLAGS -I\$(prefix)/include"
++dnl CFLAGS="$CFLAGS -I\$(prefix)/include"
+ if test "$gnome_ui" = "true" ; then
+--- a/mediastreamer2/configure.ac
++++ b/mediastreamer2/configure.ac
+@@ -47,8 +47,8 @@
+ [wall_werror=yes]
+ )
+-CFLAGS="-DORTP_INET6 $CFLAGS -I\$(prefix)/include"
+-LIBS="$LIBS -L\$(prefix)/lib"
++dnl CFLAGS="-DORTP_INET6 $CFLAGS -I\$(prefix)/include"
++dnl LIBS="$LIBS -L\$(prefix)/lib"
+ dnl enable ipv6 support
+ AC_ARG_ENABLE(ipv6,
diff --git a/packages/linphone/linphone_1.3.99.8.bb b/packages/linphone/linphone_1.3.99.8.bb
new file mode 100644 (file)
index 0000000..05998f8
--- /dev/null
@@ -0,0 +1,27 @@
+DESCRIPTION = "SIP-based IP phone (Console edition)"
+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/unstable/source/linphone-${PV}.tar.gz \
+           file://conf.patch;patch=1"
+
+S = "${WORKDIR}/linphone-${PV}"
+
+FILES_${PN} += "${datadir}/linphonec"
+
+inherit autotools
+
+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} \
+                --with-speex=${STAGING_DIR}/${HOST_SYS} \
+                --disable-truespeech --disable-manual \
+                --disable-glibtest --disable-glib"
+
+do_install_append() {
+       rm -f ${D}${datadir}/sounds/linphone/hello*.wav
+       rm -f ${D}${datadir}/sounds/linphone/rings/oldphone.wav
+}