diff --git a/build/openembedded/images/console-linphone-image.bb b/build/openembedded/images/console-linphone-image.bb new file mode 100644 index 000000000..4b34e60bc --- /dev/null +++ b/build/openembedded/images/console-linphone-image.bb @@ -0,0 +1,18 @@ +require recipes-images/angstrom/console-image.bb + +IMAGE_INSTALL += " \ + kbd \ + kbd-keymaps \ + keymaps \ + linphonec \ + linphone-plugins \ + linphone-rings \ +" + +rootfs_postprocess() { + gunzip -c ${IMAGE_ROOTFS}/usr/share/keymaps/i386/dvorak/dvorak.map.gz > ${IMAGE_ROOTFS}/etc/keymap-2.6.map +} + +ROOTFS_POSTPROCESS_COMMAND += "rootfs_postprocess; " + +export IMAGE_BASENAME = "console-linphone-image" diff --git a/build/openembedded/linphone-common_local.inc b/build/openembedded/linphone-common_local.inc index a77b212e3..aaa5b9a15 100644 --- a/build/openembedded/linphone-common_local.inc +++ b/build/openembedded/linphone-common_local.inc @@ -10,6 +10,6 @@ do_configure_prepend () { } #Required to avoid compile errors on May 2011. -EXTRA_OECONF +=" --disable-strict --disable-glx" +EXTRA_OECONF +=" --disable-strict" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" diff --git a/build/openembedded/linphone_+git-nogtk-gsm-video-x11.bb b/build/openembedded/linphone_+git-nogtk-gsm-video-x11.bb new file mode 100644 index 000000000..41f0cf1c5 --- /dev/null +++ b/build/openembedded/linphone_+git-nogtk-gsm-video-x11.bb @@ -0,0 +1,16 @@ +## THIS unusable work in progress ## + +DESCRIPTION = "Audio/video SIP-based IP phone (console edition)" +HOMEPAGE = "http://www.linphone.org/?lang=us" +LICENSE = "GPLv2" +PR="r14" + +DEFAULT_PREFERENCE = "3" +OVERRIDES_append = ":console" +OVERRIDES_append = ":gsm" +OVERRIDES_append = ":video" +OVERRIDES_append = ":x11" + +#PARALLEL_MAKE="V=1" + +require linphone-common_git.inc diff --git a/build/openembedded/linphone_+git-nogtk-gsm-video.bb b/build/openembedded/linphone_+git-nogtk-gsm-video.bb new file mode 100644 index 000000000..ae1120632 --- /dev/null +++ b/build/openembedded/linphone_+git-nogtk-gsm-video.bb @@ -0,0 +1,15 @@ +## THIS unusable work in progress ## + +DESCRIPTION = "Audio/video SIP-based IP phone (console edition)" +HOMEPAGE = "http://www.linphone.org/?lang=us" +LICENSE = "GPLv2" +PR="r14" + +DEFAULT_PREFERENCE = "3" +OVERRIDES_append = ":console" +OVERRIDES_append = ":gsm" +OVERRIDES_append = ":video" + +#PARALLEL_MAKE="V=1" + +require linphone-common_git.inc diff --git a/build/openembedded/linphone_+git-nogtk-gsm.bb b/build/openembedded/linphone_+git-nogtk-gsm.bb new file mode 100644 index 000000000..a9496c1ef --- /dev/null +++ b/build/openembedded/linphone_+git-nogtk-gsm.bb @@ -0,0 +1,14 @@ + + +DESCRIPTION = "Audio/video SIP-based IP phone (console edition)" +HOMEPAGE = "http://www.linphone.org/?lang=us" +LICENSE = "GPLv2" +PR="r15" + +DEFAULT_PREFERENCE = "3" +OVERRIDES_append = ":console" +OVERRIDES_append = ":gsm" + +#PARALLEL_MAKE="V=1" + +require linphone-common_git.inc diff --git a/build/openembedded/linphone_+git-nogtk.bb b/build/openembedded/linphone_+git-nogtk.bb new file mode 100644 index 000000000..a9228042a --- /dev/null +++ b/build/openembedded/linphone_+git-nogtk.bb @@ -0,0 +1,13 @@ +## THIS unusable work in progress ## + +DESCRIPTION = "Audio/video SIP-based IP phone (console edition)" +HOMEPAGE = "http://www.linphone.org/?lang=us" +LICENSE = "GPLv2" +PR="r14" + +DEFAULT_PREFERENCE = "3" +OVERRIDES_append = ":console" + +#PARALLEL_MAKE="V=1" + +require linphone-common_git.inc diff --git a/build/openembedded/msamr_local+wb.bb b/build/openembedded/msamr_local+wb.bb index cb89a1bde..e63ef3367 100644 --- a/build/openembedded/msamr_local+wb.bb +++ b/build/openembedded/msamr_local+wb.bb @@ -4,6 +4,7 @@ S = "${WORKDIR}/msamr-0.0.2" do_configure_prepend () { ./autogen.sh + libtoolize --copy --force } OVERRIDES_append = ":wideband" diff --git a/build/openembedded/msamr_local.bb b/build/openembedded/msamr_local.bb index f6349af74..43c434ffb 100644 --- a/build/openembedded/msamr_local.bb +++ b/build/openembedded/msamr_local.bb @@ -4,6 +4,7 @@ S = "${WORKDIR}/msamr-0.0.2" do_configure_prepend () { ./autogen.sh + libtoolize --copy --force } DEFAULT_PREFERENCE="-1" diff --git a/build/openembedded/msilbc_local.bb b/build/openembedded/msilbc_local.bb index 72b08b239..95fcd6466 100644 --- a/build/openembedded/msilbc_local.bb +++ b/build/openembedded/msilbc_local.bb @@ -4,6 +4,7 @@ S = "${WORKDIR}/msilbc-2.0.3" do_configure_prepend () { ./autogen.sh + libtoolize --copy --force } DEFAULT_PREFERENCE="-1" diff --git a/build/openembedded/speex_git.bb b/build/openembedded/speex_git.bb new file mode 100644 index 000000000..af76d8840 --- /dev/null +++ b/build/openembedded/speex_git.bb @@ -0,0 +1,47 @@ +DESCRIPTION = "Speex is an Open Source/Free Software patent-free audio compression format designed for speech." +SECTION = "libs/multimedia" +LICENSE = "BSD" +HOMEPAGE = "http://www.speex.org" +DEPENDS = "libogg" +PV = "1.1+git" +PR = "r4" +SPEEX_TMP_DIR="/tmp/SPEEX_TMP" +SRC_URI = "file://${SPEEX_TMP_DIR}/speex.tar.gz" +S = "${WORKDIR}/speex" +LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8" + +PARALLEL_MAKE = "" + +inherit autotools pkgconfig + +LEAD_SONAME = "libspeex.so" + +#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points +EXTRA_OECONF += "--enable-fixed-point" +EXTRA_OECONF_append_armv5te = " --enable-arm5e-asm" +EXTRA_OECONF_append_armv7a = " --enable-armv7neon-asm" + +do_fetch_prepend () { + import os,bb + bb.note("Hack preparing clone in %s" %"${SPEEX_TMP_DIR}") + os.system("rm -rf ${SPEEX_TMP_DIR}") + os.system("mkdir -p ${SPEEX_TMP_DIR}") + + os.system("cd ${SPEEX_TMP_DIR}; git clone --depth 1 git://git.linphone.org/speex") + + os.system("cd ${SPEEX_TMP_DIR}/speex; ./autogen.sh") + + os.system("cd ${SPEEX_TMP_DIR}; tar czf speex.tar.gz --exclude .git speex") +} + +do_configure_append() { + sed -i s/"^OGG_CFLAGS.*$"/"OGG_CFLAGS = "/g Makefile */Makefile */*/Makefile + sed -i s/"^OGG_LIBS.*$"/"OGG_LIBS = -logg"/g Makefile */Makefile */*/Makefile + find . -name "Makefile" -exec sed -i s,-I/usr/include,, {} \; +} + +PACKAGES =+ "${PN}-utils ${PN}-dsp" +FILES_${PN}-utils = "${bindir}/speex*" +FILES_${PN}-dsp = "${libdir}/libspeexdsp.so.*" +FILES_${PN} = "${libdir}/libspeex.so.*" +