summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/ekiga/opal/configure.diff32
-rw-r--r--packages/ekiga/opal_3.4.4.bb26
2 files changed, 58 insertions, 0 deletions
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 <gsm.h>
+- ]],[[
+- 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
+}
+