From af22c5c465c7c72f9bef9c9172d10ee23e0802f1 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 18 Jan 2009 19:58:09 +0100 Subject: opal: add 3.4.4 --- packages/ekiga/opal/configure.diff | 32 ++++++++++++++++++++++++++++++++ packages/ekiga/opal_3.4.4.bb | 26 ++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 packages/ekiga/opal/configure.diff create mode 100644 packages/ekiga/opal_3.4.4.bb (limited to 'packages/ekiga') diff --git a/packages/ekiga/opal/configure.diff b/packages/ekiga/opal/configure.diff new file mode 100644 index 0000000000..46610db05d --- /dev/null +++ b/packages/ekiga/opal/configure.diff @@ -0,0 +1,32 @@ +--- /tmp/opal.m4 2009-01-18 19:24:21.000000000 +0100 ++++ opal-3.4.4/opal.m4 2009-01-18 19:25:19.000000000 +0100 +@@ -813,27 +813,9 @@ + if test "x$opal_gsm" = "xyes"; then + AC_MSG_CHECKING(if system GSM library has WAV49) + old_LIBS=$LIBS +- opal_gsm=no ++ opal_gsm=yes + + LIBS="$LIBS -lgsm" +- AC_RUN_IFELSE( +- [AC_LANG_PROGRAM([[ +- #include +- ]],[[ +- int option = 0; +- gsm handle = gsm_create(); +- return (gsm_option(handle, GSM_OPT_WAV49, &option) == -1) ? 1 : 0; +- ]])], opal_gsm=yes) +- LIBS=$old_LIBS +- AC_MSG_RESULT($opal_gsm) +- +- if test "x${opal_gsm}" = "xyes" ; then +- GSM_CLFAGS="" +- GSM_LIBS="-lgsm" +- fi +- OPAL_MSG_CHECK([System GSM], [$opal_gsm]) +- fi +- AS_IF([test AS_VAR_GET([opal_gsm]) = yes], [$1], [$2])[] + ]) + + + diff --git a/packages/ekiga/opal_3.4.4.bb b/packages/ekiga/opal_3.4.4.bb new file mode 100644 index 0000000000..2b7cd14af2 --- /dev/null +++ b/packages/ekiga/opal_3.4.4.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Open Phone Abstraction Library, implementation of the ITU H.323 teleconferencing protocol, and successor of the openh323 library." +LICENSE = "MPL" + +inherit gnome + +DEPENDS += " ffmpeg ptlib virtual/libsdl openldap" + +SRC_URI = "http://www.ekiga.org/admin/downloads/latest/sources/ekiga_3.0.2/opal-${PV}.tar.bz2 \ + file://configure.diff;patch=1 \ + " + +EXTRA_OECONF = "--enable-localgsm --disable-spandsp " + +do_configure() { + libtoolize --force + gnu-configize + oe_runconf +} + +FILES_${PN} += "${libdir}/opal-${PV}/*/*.so ${libdir}/opal-${PV}/*/*/*.so" +FILES_${PN}-dbg += "${libdir}/opal-${PV}/*/.debug ${libdir}/opal-${PV}/*/*/.debug" + +do_stage() { + autotools_stage_all +} + -- cgit v1.2.3