* [Buildroot] [PATCH v12 01/31] package/freeswitch: new package
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-13 21:02 ` Thomas Petazzoni
2016-04-13 21:53 ` Arnout Vandecappelle
2016-04-10 9:41 ` [Buildroot] [PATCH v12 02/31] package/freeswitch: enable optional modules Bernd Kuhls
` (29 subsequent siblings)
30 siblings, 2 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
This commit adds freeswitch without any configured modules and with a
minimal set of non-optional dependencies. All other dependencies and
modules will be added by further patches in this series.
PLease note that freeswitch source repo bundles some libraries which are
also available as buildroot packages. The freeswitch build system does
not allow to use system libraries in these cases:
apr, apr-util, libsrtp, libvpx, libyuv, sofia-sip, tiff
The reason are patches to these packages by the freeswitch project which
are not yet upstream. There is an open JIRA report for this situation:
https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-353/FS-353.html
More historic infos can be found here:
http://article.gmane.org/gmane.comp.telephony.freeswitch.devel/2715
https://freeswitch.org/the-missing-link/
In the 1.6.7 version bump libvpx & libyuv were also moved in-tree:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/febe0f8dacea2d2a31902b3dc469be757f8c3c4d
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/44da905b4f6b3b35e94b4948fb70dec7b5071ded
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/Config.in | 1 +
package/freeswitch/0001-zrtp.patch | 33 +++++++++++++++++
package/freeswitch/Config.in | 24 +++++++++++++
package/freeswitch/freeswitch.hash | 2 ++
package/freeswitch/freeswitch.mk | 74 ++++++++++++++++++++++++++++++++++++++
5 files changed, 134 insertions(+)
create mode 100644 package/freeswitch/0001-zrtp.patch
create mode 100644 package/freeswitch/Config.in
create mode 100644 package/freeswitch/freeswitch.hash
create mode 100644 package/freeswitch/freeswitch.mk
diff --git a/package/Config.in b/package/Config.in
index 64822bf..99f7226 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1376,6 +1376,7 @@ endif
source "package/fcgiwrap/Config.in"
source "package/fmc/Config.in"
source "package/fping/Config.in"
+ source "package/freeswitch/Config.in"
source "package/gesftpserver/Config.in"
source "package/gutenprint/Config.in"
source "package/hans/Config.in"
diff --git a/package/freeswitch/0001-zrtp.patch b/package/freeswitch/0001-zrtp.patch
new file mode 100644
index 0000000..c1cdeed
--- /dev/null
+++ b/package/freeswitch/0001-zrtp.patch
@@ -0,0 +1,33 @@
+Fix PowerPC detection (needs __linux__) and add aarch64 support.
+
+Patch sent upstream: https://freeswitch.org/jira/browse/FS-8746
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr freeswitch-1.6.6.org/libs/libzrtp/include/zrtp_config.h freeswitch-1.6.6/libs/libzrtp/include/zrtp_config.h
+--- freeswitch-1.6.6.org/libs/libzrtp/include/zrtp_config.h 2016-01-12 17:32:36.000000000 +0100
++++ freeswitch-1.6.6/libs/libzrtp/include/zrtp_config.h 2016-01-16 14:09:17.830860603 +0100
+@@ -21,7 +21,7 @@
+ # define ZRTP_PLATFORM ZP_ANDROID
+ # elif defined(__FreeBSD__)
+ # define ZRTP_PLATFORM ZP_BSD
+-# elif defined(linux) || defined(__linux)
++# elif defined(linux) || defined(__linux__)
+ # include <linux/version.h>
+ # define ZRTP_PLATFORM ZP_LINUX
+ # elif defined(__MACOSX__) || defined (__APPLE__) || defined (__MACH__)
+@@ -88,7 +88,13 @@
+ */
+ #define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
+
+-#elif defined(ARM) || defined(_ARM_) || defined(ARMV4) || defined(__arm__)
++#elif defined(__AARCH64EB__)
++/*
++ * aarch64, big endian
++ */
++#define ZRTP_BYTE_ORDER ZBO_BIG_ENDIAN
++
++#elif defined(ARM) || defined(_ARM_) || defined(ARMV4) || defined(__arm__) || defined(__AARCH64EL__)
+ /*
+ * ARM, default to little endian
+ */
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
new file mode 100644
index 0000000..e8281cb
--- /dev/null
+++ b/package/freeswitch/Config.in
@@ -0,0 +1,24 @@
+config BR2_PACKAGE_FREESWITCH
+ bool "freeswitch"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS # apr, included in freeswitch source
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_MMU # apr, included in freeswitch source
+ select BR2_PACKAGE_LIBCURL
+ select BR2_PACKAGE_JPEG
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_SPEEX
+ select BR2_PACKAGE_SQLITE
+ select BR2_PACKAGE_ZLIB
+ help
+ FreeSWITCH is a scalable open source cross-platform telephony
+ platform designed to route and interconnect popular communication
+ protocols using audio, video, text or any other form of media.
+
+ https://www.freeswitch.org
+
+comment "freeswitch needs a toolchain w/ C++, dynamic library, threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
+ || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/freeswitch/freeswitch.hash b/package/freeswitch/freeswitch.hash
new file mode 100644
index 0000000..31915cd
--- /dev/null
+++ b/package/freeswitch/freeswitch.hash
@@ -0,0 +1,2 @@
+# From http://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.7.tar.xz.sha256
+sha256 9c7ca2d39985fdc39659054179465540e926880f032f855c0df74d6eec41a794 freeswitch-1.6.7.tar.xz
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
new file mode 100644
index 0000000..69a7ee2
--- /dev/null
+++ b/package/freeswitch/freeswitch.mk
@@ -0,0 +1,74 @@
+################################################################################
+#
+# freeswitch
+#
+################################################################################
+
+FREESWITCH_VERSION = 1.6.7
+FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
+FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
+FREESWITCH_LICENSE = MPLv1.1
+FREESWITCH_LICENSE_FILES = COPYING
+
+# required dependencies
+FREESWITCH_DEPENDENCIES = \
+ host-autoconf host-automake host-libtool host-pkgconf jpeg \
+ libcurl openssl pcre speex sqlite zlib
+
+# freeswitch comes with pre-enabled modules, since we want to control
+# the modules ourselves reset the upstream configuration
+define FREESWITCH_RESET_MODULES
+ > $(@D)/modules.conf
+endef
+FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_RESET_MODULES
+
+# we neither need host-perl nor host-php
+FREESWITCH_CONF_ENV += \
+ ac_cv_prog_PERL=false \
+ ac_cv_have_perl=no \
+ ac_cv_prog_PHP=false \
+ ac_cv_have_php=no \
+ ac_cv_prog_PHP_CONFIG=false \
+ ac_cv_have_php_config=no
+
+# copied from freeswitch/configure.ac, line 258+
+FREESWITCH_CONF_ENV += \
+ ac_cv_file__dev_ptmx=yes \
+ ac_cv_va_copy=yes \
+ ac_cv_file__dev_urandom=yes \
+ ac_cv_func_realloc_0_nonnull=yes \
+ ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_setpgrp_void=yes \
+ ac_cv_file__dev_zero=yes \
+ apr_cv_tcp_nodelay_with_cork=yes \
+ ac_cv_file_dbd_apr_dbd_mysql_c=no \
+ ac_cv_sizeof_ssize_t=4 \
+ apr_cv_mutex_recursive=yes \
+ ac_cv_func_pthread_rwlock_init=yes \
+ apr_cv_type_rwlock_t=yes \
+ apr_cv_process_shared_works=yes \
+ apr_cv_mutex_robust_shared=yes
+
+# build breaks with -Werror enabled
+FREESWITCH_CONF_ENV += \
+ ac_cv_gcc_supports_w_no_unused_result=no
+
+FREESWITCH_CONF_OPTS = \
+ --disable-core-libedit-support \
+ --disable-core-odbc-support \
+ --disable-libvpx \
+ --disable-libyuv \
+ --without-erlang \
+ --enable-fhs \
+ --without-python \
+ --disable-system-xmlrpc-c
+
+# zrtp supports a limited set of archs, sparc support is also broken due
+# to a broken ld call by gcc, see libs/libzrtp/include/zrtp_config.h
+ifeq ($(BR2_i386)$(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpcle)$(BR2_x86_64),y)
+FREESWITCH_CONF_OPTS += --enable-zrtp
+else
+FREESWITCH_CONF_OPTS += --disable-zrtp
+endif
+
+$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 01/31] package/freeswitch: new package
2016-04-10 9:41 ` [Buildroot] [PATCH v12 01/31] " Bernd Kuhls
@ 2016-04-13 21:02 ` Thomas Petazzoni
2016-04-14 19:04 ` Bernd Kuhls
2016-04-13 21:53 ` Arnout Vandecappelle
1 sibling, 1 reply; 37+ messages in thread
From: Thomas Petazzoni @ 2016-04-13 21:02 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 10 Apr 2016 11:41:09 +0200, Bernd Kuhls wrote:
> This commit adds freeswitch without any configured modules and with a
> minimal set of non-optional dependencies. All other dependencies and
> modules will be added by further patches in this series.
>
> PLease note that freeswitch source repo bundles some libraries which are
> also available as buildroot packages. The freeswitch build system does
> not allow to use system libraries in these cases:
>
> apr, apr-util, libsrtp, libvpx, libyuv, sofia-sip, tiff
>
> The reason are patches to these packages by the freeswitch project which
> are not yet upstream. There is an open JIRA report for this situation:
> https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-353/FS-353.html
>
> More historic infos can be found here:
> http://article.gmane.org/gmane.comp.telephony.freeswitch.devel/2715
> https://freeswitch.org/the-missing-link/
>
> In the 1.6.7 version bump libvpx & libyuv were also moved in-tree:
> https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/febe0f8dacea2d2a31902b3dc469be757f8c3c4d
> https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/44da905b4f6b3b35e94b4948fb70dec7b5071ded
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
I'm sorry, but this still doesn't build, with the exact same error I
had in my previous test of the freeswitch package:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2016.02-3-g762b7c9.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_FREESWITCH=y
# BR2_TARGET_ROOTFS_TAR is not set
gives:
CCLD fs_cli
libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemWipe':
/home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/libs/libzrtp/third_party/bnlib/lbnmem.c:69: undefined reference to `zrtp_memset'
libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemAlloc':
/home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/libs/libzrtp/third_party/bnlib/lbnmem.c:78: undefined reference to `zrtp_sys_alloc'
libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemFree':
/home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/libs/libzrtp/third_party/bnlib/lbnmem.c:87: undefined reference to `zrtp_sys_free'
collect2: error: ld returned 1 exit status
Makefile:1259: recipe for target 'fs_cli' failed
make[4]: *** [fs_cli] Error 1
make[4]: *** Waiting for unfinished jobs....
*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libzrtp/libzrtp.a is not portable!
*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libzrtp/third_party/bnlib/libbn.a is not portable!
Makefile:2803: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:1066: recipe for target 'all' failed
make[2]: *** [all] Error 2
package/pkg-generic.mk:195: recipe for target '/home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/.stamp_built' failed
make[1]: *** [/home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/.stamp_built] Error 2
Makefile:36: recipe for target '_all' failed
make: *** [_all] Error 2
Note that I have only PATCH 01/31 applied. If an ARM/uClibc
configuration doesn't build, a package is definitely not ready to go. I
would be OK to merge a package that doesn't build with musl, or on some
weird architectures, but certainly not something that doesn't build on
ARM/uClibc.
Could you look into this?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 01/31] package/freeswitch: new package
2016-04-13 21:02 ` Thomas Petazzoni
@ 2016-04-14 19:04 ` Bernd Kuhls
0 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-14 19:04 UTC (permalink / raw)
To: buildroot
Hi Thomas,
[posted and mailed]
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote
in news:20160413230219.73e299ea at free-electrons.com:
> I'm sorry, but this still doesn't build, with the exact same error I
> had in my previous test of the freeswitch package:
no need for excuses, I also want to make the autobuilders happy ;)
> CCLD fs_cli
> libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemWipe':
> /home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/libs/libzrtp/third_party/bnlib/lbnmem.c:69:
undefined reference to `zrtp_memset'
> libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemAlloc':
> /home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/libs/libzrtp/third_party/bnlib/lbnmem.c:78:
undefined reference to `zrtp_sys_alloc'
> libs/libzrtp/third_party/bnlib/libbn.a(lbnmem.o): In function `lbnMemFree':
> /home/thomas/projets/buildroot/output/build/freeswitch-1.6.7/libs/libzrtp/third_party/bnlib/lbnmem.c:87:
undefined reference to `zrtp_sys_free'
I had a fix for this problem in freeswitch 1.6.6:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/141985
With freeswitch 1.6.7 this fix will not work anymore because after the
necessary autoreconf libtool will add STAGING_DIR as rpath when my
patch is applied which breaks compilation with
BR2_COMPILER_PARANOID_UNSAFE_PATH=y
Therefore v13 of my patch series will move the libuuid patch into the
initial package patch and make libuuid and wchar toolchain support
mandatory.
Regards, Bernd
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 01/31] package/freeswitch: new package
2016-04-10 9:41 ` [Buildroot] [PATCH v12 01/31] " Bernd Kuhls
2016-04-13 21:02 ` Thomas Petazzoni
@ 2016-04-13 21:53 ` Arnout Vandecappelle
1 sibling, 0 replies; 37+ messages in thread
From: Arnout Vandecappelle @ 2016-04-13 21:53 UTC (permalink / raw)
To: buildroot
On 04/10/16 11:41, Bernd Kuhls wrote:
> This commit adds freeswitch without any configured modules and with a
> minimal set of non-optional dependencies. All other dependencies and
> modules will be added by further patches in this series.
>
> PLease note that freeswitch source repo bundles some libraries which are
> also available as buildroot packages. The freeswitch build system does
> not allow to use system libraries in these cases:
>
> apr, apr-util, libsrtp, libvpx, libyuv, sofia-sip, tiff
>
> The reason are patches to these packages by the freeswitch project which
> are not yet upstream. There is an open JIRA report for this situation:
> https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-353/FS-353.html
>
> More historic infos can be found here:
> http://article.gmane.org/gmane.comp.telephony.freeswitch.devel/2715
> https://freeswitch.org/the-missing-link/
>
> In the 1.6.7 version bump libvpx & libyuv were also moved in-tree:
> https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/febe0f8dacea2d2a31902b3dc469be757f8c3c4d
> https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/44da905b4f6b3b35e94b4948fb70dec7b5071ded
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[snip]
> +# required dependencies
> +FREESWITCH_DEPENDENCIES = \
> + host-autoconf host-automake host-libtool host-pkgconf jpeg \
host-autoconf and host-automake? That's surprising when you don't
autoreconf... An explanatory comment would be nice.
> + libcurl openssl pcre speex sqlite zlib
I prefer one dependency per line, so it's easier to update the dependencies
while keeping them sorted.
> +
> +# freeswitch comes with pre-enabled modules, since we want to control
> +# the modules ourselves reset the upstream configuration
> +define FREESWITCH_RESET_MODULES
> + > $(@D)/modules.conf
> +endef
> +FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_RESET_MODULES
> +
> +# we neither need host-perl nor host-php
> +FREESWITCH_CONF_ENV += \
> + ac_cv_prog_PERL=false \
> + ac_cv_have_perl=no \
> + ac_cv_prog_PHP=false \
> + ac_cv_have_php=no \
> + ac_cv_prog_PHP_CONFIG=false \
> + ac_cv_have_php_config=no
> +
> +# copied from freeswitch/configure.ac, line 258+
> +FREESWITCH_CONF_ENV += \
> + ac_cv_file__dev_ptmx=yes \
> + ac_cv_va_copy=yes \
> + ac_cv_file__dev_urandom=yes \
> + ac_cv_func_realloc_0_nonnull=yes \
> + ac_cv_func_malloc_0_nonnull=yes \
> + ac_cv_func_setpgrp_void=yes \
> + ac_cv_file__dev_zero=yes \
> + apr_cv_tcp_nodelay_with_cork=yes \
> + ac_cv_file_dbd_apr_dbd_mysql_c=no \
> + ac_cv_sizeof_ssize_t=4 \
> + apr_cv_mutex_recursive=yes \
> + ac_cv_func_pthread_rwlock_init=yes \
> + apr_cv_type_rwlock_t=yes \
> + apr_cv_process_shared_works=yes \
> + apr_cv_mutex_robust_shared=yes
> +
> +# build breaks with -Werror enabled
> +FREESWITCH_CONF_ENV += \
> + ac_cv_gcc_supports_w_no_unused_result=no
> +
> +FREESWITCH_CONF_OPTS = \
> + --disable-core-libedit-support \
> + --disable-core-odbc-support \
> + --disable-libvpx \
> + --disable-libyuv \
> + --without-erlang \
> + --enable-fhs \
> + --without-python \
> + --disable-system-xmlrpc-c
> +
> +# zrtp supports a limited set of archs, sparc support is also broken due
> +# to a broken ld call by gcc, see libs/libzrtp/include/zrtp_config.h
> +ifeq ($(BR2_i386)$(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpcle)$(BR2_x86_64),y)
> +FREESWITCH_CONF_OPTS += --enable-zrtp
> +else
> +FREESWITCH_CONF_OPTS += --disable-zrtp
> +endif
Given the problems with compiling zrtp, perhaps start out without it and add
patch 32 to enable it? :-)
Regards,
Arnout
> +
> +$(eval $(autotools-package))
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 02/31] package/freeswitch: enable optional modules
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 01/31] " Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-13 21:56 ` Arnout Vandecappelle
2016-04-10 9:41 ` [Buildroot] [PATCH v12 03/31] package/freeswitch: add optional dependency to libuuid Bernd Kuhls
` (28 subsequent siblings)
30 siblings, 1 reply; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
All these modules have no external dependencies.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 76 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 69a7ee2..f1903c1 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -71,4 +71,80 @@ else
FREESWITCH_CONF_OPTS += --disable-zrtp
endif
+# Enable more optional modules
+FREESWITCH_ENABLED_MODULES += \
+ applications/mod_avmd \
+ applications/mod_blacklist \
+ applications/mod_callcenter \
+ applications/mod_commands \
+ applications/mod_conference \
+ applications/mod_curl \
+ applications/mod_db \
+ applications/mod_directory \
+ applications/mod_dptools \
+ applications/mod_easyroute \
+ applications/mod_esf \
+ applications/mod_esl \
+ applications/mod_expr \
+ applications/mod_fifo \
+ applications/mod_fsk \
+ applications/mod_hash \
+ applications/mod_httapi \
+ applications/mod_lcr \
+ applications/mod_sms \
+ applications/mod_snom \
+ applications/mod_spandsp \
+ applications/mod_spy \
+ applications/mod_valet_parking \
+ applications/mod_voicemail \
+ codecs/mod_g723_1 \
+ codecs/mod_g729 \
+ dialplans/mod_dialplan_asterisk \
+ dialplans/mod_dialplan_xml \
+ endpoints/mod_loopback \
+ endpoints/mod_rtc \
+ endpoints/mod_rtmp \
+ endpoints/mod_sofia \
+ endpoints/mod_verto \
+ event_handlers/mod_cdr_csv \
+ event_handlers/mod_cdr_sqlite \
+ event_handlers/mod_event_socket \
+ formats/mod_local_stream \
+ formats/mod_native_file \
+ formats/mod_tone_stream \
+ loggers/mod_console \
+ loggers/mod_logfile \
+ loggers/mod_syslog \
+ say/mod_say_de \
+ say/mod_say_en \
+ say/mod_say_es \
+ say/mod_say_es_ar \
+ say/mod_say_fa \
+ say/mod_say_fr \
+ say/mod_say_he \
+ say/mod_say_hr \
+ say/mod_say_hu \
+ say/mod_say_it \
+ say/mod_say_ja \
+ say/mod_say_nl \
+ say/mod_say_pl \
+ say/mod_say_pt \
+ say/mod_say_ru \
+ say/mod_say_sv \
+ say/mod_say_th \
+ say/mod_say_zh \
+ xml_int/mod_xml_cdr \
+ xml_int/mod_xml_scgi
+
+define FREESWITCH_ENABLE_MODULE # (option, file)
+ echo '$(1)' >> $(2)
+endef
+
+define FREESWITCH_ENABLE_MODULES
+ $(foreach mod,$(FREESWITCH_ENABLED_MODULES),\
+ $(call FREESWITCH_ENABLE_MODULE,$(mod),$(@D)/modules.conf)$(sep))
+endef
+
+FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 02/31] package/freeswitch: enable optional modules
2016-04-10 9:41 ` [Buildroot] [PATCH v12 02/31] package/freeswitch: enable optional modules Bernd Kuhls
@ 2016-04-13 21:56 ` Arnout Vandecappelle
0 siblings, 0 replies; 37+ messages in thread
From: Arnout Vandecappelle @ 2016-04-13 21:56 UTC (permalink / raw)
To: buildroot
On 04/10/16 11:41, Bernd Kuhls wrote:
> All these modules have no external dependencies.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/freeswitch/freeswitch.mk | 76 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 76 insertions(+)
>
> diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
> index 69a7ee2..f1903c1 100644
> --- a/package/freeswitch/freeswitch.mk
> +++ b/package/freeswitch/freeswitch.mk
[snip]
> +define FREESWITCH_ENABLE_MODULE # (option, file)
> + echo '$(1)' >> $(2)
> +endef
> +
> +define FREESWITCH_ENABLE_MODULES
> + $(foreach mod,$(FREESWITCH_ENABLED_MODULES),\
> + $(call FREESWITCH_ENABLE_MODULE,$(mod),$(@D)/modules.conf)$(sep))
I don't particularly like this way of doing it. AFAICS you only have enabled
modules, so you could just do:
$(Q)echo $(FREESWITCH_ENABLED_MODULES) \
| tr ' ' '\n' \
> $(@D)/modules.conf
(and then you can remove the reset modules hook).
Regards,
Arnout
> +endef
> +
> +FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
> +
> $(eval $(autotools-package))
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 03/31] package/freeswitch: add optional dependency to libuuid
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 01/31] " Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 02/31] package/freeswitch: enable optional modules Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 04/31] package/freeswitch: add optional dependency to libedit Bernd Kuhls
` (27 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/Config.in | 4 ++++
package/freeswitch/freeswitch.mk | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
index e8281cb..c521647 100644
--- a/package/freeswitch/Config.in
+++ b/package/freeswitch/Config.in
@@ -10,6 +10,10 @@ config BR2_PACKAGE_FREESWITCH
select BR2_PACKAGE_PCRE
select BR2_PACKAGE_SPEEX
select BR2_PACKAGE_SQLITE
+ # "libuuid development package highly recommended!"
+ # https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/build/config/uuid.m4#9
+ select BR2_PACKAGE_UTIL_LINUX if BR2_USE_WCHAR
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID if BR2_USE_WCHAR
select BR2_PACKAGE_ZLIB
help
FreeSWITCH is a scalable open source cross-platform telephony
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index f1903c1..786ef39 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -147,4 +147,8 @@ endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
+FREESWITCH_DEPENDENCIES += util-linux
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 04/31] package/freeswitch: add optional dependency to libedit
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (2 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 03/31] package/freeswitch: add optional dependency to libuuid Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 05/31] package/freeswitch: enable mod_enum Bernd Kuhls
` (26 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 786ef39..e92d6c5 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -54,7 +54,6 @@ FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
- --disable-core-libedit-support \
--disable-core-odbc-support \
--disable-libvpx \
--disable-libyuv \
@@ -147,6 +146,13 @@ endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_LIBEDIT),y)
+FREESWITCH_DEPENDENCIES += libedit
+FREESWITCH_CONF_OPTS += --enable-core-libedit-support
+else
+FREESWITCH_CONF_OPTS += --disable-core-libedit-support
+endif
+
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
FREESWITCH_DEPENDENCIES += util-linux
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 05/31] package/freeswitch: enable mod_enum
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (3 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 04/31] package/freeswitch: add optional dependency to libedit Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 06/31] package/freeswitch: add optional dependency to libpng Bernd Kuhls
` (25 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index e92d6c5..457e69a 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -153,6 +153,11 @@ else
FREESWITCH_CONF_OPTS += --disable-core-libedit-support
endif
+ifeq ($(BR2_PACKAGE_LIBLDNS),y)
+FREESWITCH_DEPENDENCIES += libldns
+FREESWITCH_ENABLED_MODULES += applications/mod_enum
+endif
+
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
FREESWITCH_DEPENDENCIES += util-linux
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 06/31] package/freeswitch: add optional dependency to libpng
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (4 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 05/31] package/freeswitch: enable mod_enum Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 07/31] package/freeswitch: add optional dependency to unixodbc Bernd Kuhls
` (24 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 457e69a..582a9f2 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -158,6 +158,11 @@ FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
endif
+ifeq ($(BR2_PACKAGE_LIBPNG),y)
+FREESWITCH_DEPENDENCIES += libpng
+FREESWITCH_ENABLED_MODULES += formats/mod_png
+endif
+
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
FREESWITCH_DEPENDENCIES += util-linux
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 07/31] package/freeswitch: add optional dependency to unixodbc
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (5 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 06/31] package/freeswitch: add optional dependency to libpng Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 08/31] package/freeswitch: add optional dependency to freetype Bernd Kuhls
` (23 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 582a9f2..8a27b70 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -54,7 +54,6 @@ FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
- --disable-core-odbc-support \
--disable-libvpx \
--disable-libyuv \
--without-erlang \
@@ -163,6 +162,15 @@ FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
endif
+ifeq ($(BR2_PACKAGE_UNIXODBC),y)
+FREESWITCH_DEPENDENCIES += unixodbc
+FREESWITCH_CONF_OPTS += \
+ --enable-core-odbc-support \
+ --with-odbc=$(STAGING_DIR)/usr
+else
+FREESWITCH_CONF_OPTS += --disable-core-odbc-support
+endif
+
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
FREESWITCH_DEPENDENCIES += util-linux
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 08/31] package/freeswitch: add optional dependency to freetype
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (6 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 07/31] package/freeswitch: add optional dependency to unixodbc Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 09/31] package/freeswitch: enable mod_yaml Bernd Kuhls
` (22 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 8a27b70..7af31a2 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -145,6 +145,10 @@ endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_FREETYPE),y)
+FREESWITCH_DEPENDENCIES += freetype
+endif
+
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
FREESWITCH_DEPENDENCIES += libedit
FREESWITCH_CONF_OPTS += --enable-core-libedit-support
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 09/31] package/freeswitch: enable mod_yaml
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (7 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 08/31] package/freeswitch: add optional dependency to freetype Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 10/31] package/freeswitch: enable mod_lua Bernd Kuhls
` (21 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 7af31a2..fea0398 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -166,6 +166,11 @@ FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
endif
+ifeq ($(BR2_PACKAGE_LIBYAML),y)
+FREESWITCH_DEPENDENCIES += libyaml
+FREESWITCH_ENABLED_MODULES += languages/mod_yaml
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 10/31] package/freeswitch: enable mod_lua
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (8 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 09/31] package/freeswitch: enable mod_yaml Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 11/31] package/freeswitch: enable mod_bv Bernd Kuhls
` (20 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index fea0398..f478eb9 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -171,6 +171,11 @@ FREESWITCH_DEPENDENCIES += libyaml
FREESWITCH_ENABLED_MODULES += languages/mod_yaml
endif
+ifeq ($(BR2_PACKAGE_LUA),y)
+FREESWITCH_DEPENDENCIES += lua
+FREESWITCH_ENABLED_MODULES += languages/mod_lua
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 11/31] package/freeswitch: enable mod_bv
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (9 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 10/31] package/freeswitch: enable mod_lua Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 12/31] package/freeswitch: enable mod_codec2 Bernd Kuhls
` (19 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index f478eb9..7623fad 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -149,6 +149,11 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
+ifeq ($(BR2_PACKAGE_LIBBROADVOICE),y)
+FREESWITCH_DEPENDENCIES += libbroadvoice
+FREESWITCH_ENABLED_MODULES += codecs/mod_bv
+endif
+
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
FREESWITCH_DEPENDENCIES += libedit
FREESWITCH_CONF_OPTS += --enable-core-libedit-support
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 12/31] package/freeswitch: enable mod_codec2
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (10 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 11/31] package/freeswitch: enable mod_bv Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 13/31] package/freeswitch: add optional dependency to libg7221 Bernd Kuhls
` (18 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 7623fad..64d7ffe 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -154,6 +154,11 @@ FREESWITCH_DEPENDENCIES += libbroadvoice
FREESWITCH_ENABLED_MODULES += codecs/mod_bv
endif
+ifeq ($(BR2_PACKAGE_LIBCODEC2),y)
+FREESWITCH_DEPENDENCIES += libcodec2
+FREESWITCH_ENABLED_MODULES += codecs/mod_codec2
+endif
+
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
FREESWITCH_DEPENDENCIES += libedit
FREESWITCH_CONF_OPTS += --enable-core-libedit-support
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 13/31] package/freeswitch: add optional dependency to libg7221
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (11 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 12/31] package/freeswitch: enable mod_codec2 Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 14/31] package/freeswitch: enable mod_ilbc Bernd Kuhls
` (17 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 64d7ffe..7afa601 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -166,6 +166,10 @@ else
FREESWITCH_CONF_OPTS += --disable-core-libedit-support
endif
+ifeq ($(BR2_PACKAGE_LIBG7221),y)
+FREESWITCH_DEPENDENCIES += libg7221
+endif
+
ifeq ($(BR2_PACKAGE_LIBLDNS),y)
FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 14/31] package/freeswitch: enable mod_ilbc
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (12 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 13/31] package/freeswitch: add optional dependency to libg7221 Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 15/31] package/freeswitch: enable mod_isac Bernd Kuhls
` (16 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 7afa601..95db94e 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -170,6 +170,11 @@ ifeq ($(BR2_PACKAGE_LIBG7221),y)
FREESWITCH_DEPENDENCIES += libg7221
endif
+ifeq ($(BR2_PACKAGE_LIBILBC),y)
+FREESWITCH_DEPENDENCIES += libilbc
+FREESWITCH_ENABLED_MODULES += codecs/mod_ilbc
+endif
+
ifeq ($(BR2_PACKAGE_LIBLDNS),y)
FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 15/31] package/freeswitch: enable mod_isac
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (13 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 14/31] package/freeswitch: enable mod_ilbc Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 16/31] package/freeswitch: enable mod_opus Bernd Kuhls
` (15 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 95db94e..189bee7 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -145,6 +145,12 @@ endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+# mod_isac supports a limited set of archs
+# src/mod/codecs/mod_isac/typedefs.h
+ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_64),y)
+FREESWITCH_ENABLED_MODULES += codecs/mod_isac
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 16/31] package/freeswitch: enable mod_opus
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (14 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 15/31] package/freeswitch: enable mod_isac Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 17/31] package/freeswitch: enable mod_portaudio Bernd Kuhls
` (14 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 189bee7..cf12b75 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -201,6 +201,11 @@ FREESWITCH_DEPENDENCIES += lua
FREESWITCH_ENABLED_MODULES += languages/mod_lua
endif
+ifeq ($(BR2_PACKAGE_OPUS),y)
+FREESWITCH_DEPENDENCIES += opus
+FREESWITCH_ENABLED_MODULES += codecs/mod_opus
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 17/31] package/freeswitch: enable mod_portaudio
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (15 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 16/31] package/freeswitch: enable mod_opus Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 18/31] package/freeswitch: enable mod_silk Bernd Kuhls
` (13 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index cf12b75..db6fced 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -206,6 +206,11 @@ FREESWITCH_DEPENDENCIES += opus
FREESWITCH_ENABLED_MODULES += codecs/mod_opus
endif
+ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+FREESWITCH_DEPENDENCIES += portaudio
+FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 18/31] package/freeswitch: enable mod_silk
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (16 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 17/31] package/freeswitch: enable mod_portaudio Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 19/31] package/freeswitch: enable mod_sndfile Bernd Kuhls
` (12 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index db6fced..b29812a 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -211,6 +211,11 @@ FREESWITCH_DEPENDENCIES += portaudio
FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio
endif
+ifeq ($(BR2_PACKAGE_LIBSILK),y)
+FREESWITCH_DEPENDENCIES += libsilk
+FREESWITCH_ENABLED_MODULES += codecs/mod_silk
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 19/31] package/freeswitch: enable mod_sndfile
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (17 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 18/31] package/freeswitch: enable mod_silk Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 20/31] package/freeswitch: enable mod_alsa Bernd Kuhls
` (11 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index b29812a..baa8e2d 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -216,6 +216,11 @@ FREESWITCH_DEPENDENCIES += libsilk
FREESWITCH_ENABLED_MODULES += codecs/mod_silk
endif
+ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
+FREESWITCH_DEPENDENCIES += libsndfile
+FREESWITCH_ENABLED_MODULES += formats/mod_sndfile
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 20/31] package/freeswitch: enable mod_alsa
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (18 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 19/31] package/freeswitch: enable mod_sndfile Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 21/31] package/freeswitch: enable mod_soundtouch Bernd Kuhls
` (10 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index baa8e2d..69e728a 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -151,6 +151,11 @@ ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_6
FREESWITCH_ENABLED_MODULES += codecs/mod_isac
endif
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+FREESWITCH_DEPENDENCIES += alsa-lib
+FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 21/31] package/freeswitch: enable mod_soundtouch
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (19 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 20/31] package/freeswitch: enable mod_alsa Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 22/31] package/freeswitch: enable mod_xml_rpc Bernd Kuhls
` (9 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 69e728a..ce66c1e 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -226,6 +226,11 @@ FREESWITCH_DEPENDENCIES += libsndfile
FREESWITCH_ENABLED_MODULES += formats/mod_sndfile
endif
+ifeq ($(BR2_PACKAGE_LIBSOUNDTOUCH),y)
+FREESWITCH_DEPENDENCIES += libsoundtouch
+FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 22/31] package/freeswitch: enable mod_xml_rpc
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (20 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 21/31] package/freeswitch: enable mod_soundtouch Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 23/31] package/freeswitch: add optional dependency to xz Bernd Kuhls
` (8 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index ce66c1e..64866e4 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -151,6 +151,10 @@ ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_6
FREESWITCH_ENABLED_MODULES += codecs/mod_isac
endif
+ifeq ($(BR2_USE_WCHAR),y)
+FREESWITCH_ENABLED_MODULES += xml_int/mod_xml_rpc
+endif
+
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
FREESWITCH_DEPENDENCIES += alsa-lib
FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 23/31] package/freeswitch: add optional dependency to xz
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (21 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 22/31] package/freeswitch: enable mod_xml_rpc Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 24/31] package/freeswitch: enable mod_memcache Bernd Kuhls
` (7 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 64866e4..c89998f 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -248,4 +248,8 @@ ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
FREESWITCH_DEPENDENCIES += util-linux
endif
+ifeq ($(BR2_PACKAGE_XZ),y)
+FREESWITCH_DEPENDENCIES += xz
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 24/31] package/freeswitch: enable mod_memcache
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (22 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 23/31] package/freeswitch: add optional dependency to xz Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 25/31] package/freeswitch: enable mod_imagick Bernd Kuhls
` (6 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index c89998f..8723827 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -195,6 +195,11 @@ FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
endif
+ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y)
+FREESWITCH_DEPENDENCIES += libmemcached
+FREESWITCH_ENABLED_MODULES += applications/mod_memcache
+endif
+
ifeq ($(BR2_PACKAGE_LIBPNG),y)
FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 25/31] package/freeswitch: enable mod_imagick
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (23 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 24/31] package/freeswitch: enable mod_memcache Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 26/31] package/freeswitch: enable mod_cv Bernd Kuhls
` (5 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 8723827..f0d299a 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -164,6 +164,11 @@ ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
+ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y)
+FREESWITCH_DEPENDENCIES += imagemagick
+FREESWITCH_ENABLED_MODULES += formats/mod_imagick
+endif
+
ifeq ($(BR2_PACKAGE_LIBBROADVOICE),y)
FREESWITCH_DEPENDENCIES += libbroadvoice
FREESWITCH_ENABLED_MODULES += codecs/mod_bv
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 26/31] package/freeswitch: enable mod_cv
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (24 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 25/31] package/freeswitch: enable mod_imagick Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 27/31] package/freeswitch: enable mod_shout Bernd Kuhls
` (4 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index f0d299a..4b73f74 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -245,6 +245,11 @@ FREESWITCH_DEPENDENCIES += libsoundtouch
FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
endif
+ifeq ($(BR2_PACKAGE_OPENCV),y)
+FREESWITCH_DEPENDENCIES += opencv
+FREESWITCH_ENABLED_MODULES += applications/mod_cv
+endif
+
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 27/31] package/freeswitch: enable mod_shout
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (25 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 26/31] package/freeswitch: enable mod_cv Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 28/31] package/freeswitch: add optional dependency to openldap Bernd Kuhls
` (3 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 4b73f74..b80c49d 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -230,6 +230,11 @@ FREESWITCH_DEPENDENCIES += portaudio
FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio
endif
+ifeq ($(BR2_PACKAGE_LAME)$(BR2_PACKAGE_LIBSHOUT)$(BR2_PACKAGE_MPG123),yyy)
+FREESWITCH_DEPENDENCIES += lame libshout mpg123
+FREESWITCH_ENABLED_MODULES += formats/mod_shout
+endif
+
ifeq ($(BR2_PACKAGE_LIBSILK),y)
FREESWITCH_DEPENDENCIES += libsilk
FREESWITCH_ENABLED_MODULES += codecs/mod_silk
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 28/31] package/freeswitch: add optional dependency to openldap
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (26 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 27/31] package/freeswitch: enable mod_shout Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 29/31] package/flite: bump version to 2.0.0 Bernd Kuhls
` (2 subsequent siblings)
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index b80c49d..54d7d14 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -220,6 +220,11 @@ FREESWITCH_DEPENDENCIES += lua
FREESWITCH_ENABLED_MODULES += languages/mod_lua
endif
+ifeq ($(BR2_PACKAGE_OPENLDAP),y)
+FREESWITCH_DEPENDENCIES += openldap
+FREESWITCH_ENABLED_MODULES += directories/mod_ldap xml_int/mod_xml_ldap
+endif
+
ifeq ($(BR2_PACKAGE_OPUS),y)
FREESWITCH_DEPENDENCIES += opus
FREESWITCH_ENABLED_MODULES += codecs/mod_opus
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 29/31] package/flite: bump version to 2.0.0
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (27 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 28/31] package/freeswitch: add optional dependency to openldap Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-13 22:16 ` Arnout Vandecappelle
2016-04-10 9:41 ` [Buildroot] [PATCH v12 30/31] package/freeswitch: enable mod_flite Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 31/31] package/freeswitch: enable video support Bernd Kuhls
30 siblings, 1 reply; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Freeswitch contains mod_flite which needs flite >= 2.0.0 detected by
pkgconf, its support was added by the freeswitch project so we switch
to the freeswitch support deps repo:
https://freeswitch.org/stash/projects/SD
Removed 0001-now-honor-DESTDIR-env.-var.patch, not needed anymore.
Rebased and renumbered the remaining patches.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
...lsa-static.patch => 0001-fix-alsa-static.patch} | 4 +--
.../flite/0001-now-honor-DESTDIR-env.-var.patch | 30 ----------------------
...eck.patch => 0002-fix-alsa-version-check.patch} | 4 +--
package/flite/flite.hash | 2 --
package/flite/flite.mk | 24 +++--------------
5 files changed, 8 insertions(+), 56 deletions(-)
rename package/flite/{0002-fix-alsa-static.patch => 0001-fix-alsa-static.patch} (77%)
delete mode 100644 package/flite/0001-now-honor-DESTDIR-env.-var.patch
rename package/flite/{0003-fix-alsa-version-check.patch => 0002-fix-alsa-version-check.patch} (90%)
delete mode 100644 package/flite/flite.hash
diff --git a/package/flite/0002-fix-alsa-static.patch b/package/flite/0001-fix-alsa-static.patch
similarity index 77%
rename from package/flite/0002-fix-alsa-static.patch
rename to package/flite/0001-fix-alsa-static.patch
index 12adb9e..de088ad 100644
--- a/package/flite/0002-fix-alsa-static.patch
+++ b/package/flite/0001-fix-alsa-static.patch
@@ -3,8 +3,8 @@ Use pkg-config to determine alsa link flags. This fixes static linking.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
---- flite-1.4-release.orig/flite-1.4-release/configure.in 2009-08-14 23:46:38.000000000 +0300
-+++ flite-1.4-release/flite-1.4-release/configure.in 2014-04-30 18:52:33.253297236 +0300
+--- flite-1.4-release/configure.in 2009-08-14 23:46:38.000000000 +0300
++++ flite-1.4-release/configure.in 2014-04-30 18:52:33.253297236 +0300
@@ -275,7 +275,10 @@
#endif],
[AUDIODRIVER="alsa"
diff --git a/package/flite/0001-now-honor-DESTDIR-env.-var.patch b/package/flite/0001-now-honor-DESTDIR-env.-var.patch
deleted file mode 100644
index 2d5fb68..0000000
--- a/package/flite/0001-now-honor-DESTDIR-env.-var.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 658f3243238efe951f6242fa384e990d77078afc Mon Sep 17 00:00:00 2001
-From: Samuel Martin <s.martin49@gmail.com>
-Date: Fri, 27 Dec 2013 17:42:39 +0100
-Subject: [PATCH] now honor DESTDIR env. var.
-
-Flite used a handwritten a Makefile which doesn't honor DESTDIR environment
-variable, though it uses autoconf.
-
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
----
- config/config.in | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/config/config.in b/config/config.in
-index 914d2bf..43f1a56 100644
---- a/flite-1.4-release/config/config.in
-+++ b/flite-1.4-release/config/config.in
-@@ -49,6 +49,6 @@ include $(TOP)/config/$(langvox).lv
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- EXEEXT = @EXEEXT@
--INSTALLBINDIR = @bindir@
--INSTALLLIBDIR = @libdir@
--INSTALLINCDIR = @includedir@/flite
-+INSTALLBINDIR = $(DESTDIR)@bindir@
-+INSTALLLIBDIR = $(DESTDIR)@libdir@
-+INSTALLINCDIR = $(DESTDIR)@includedir@/flite
---
-1.8.5.2
-
diff --git a/package/flite/0003-fix-alsa-version-check.patch b/package/flite/0002-fix-alsa-version-check.patch
similarity index 90%
rename from package/flite/0003-fix-alsa-version-check.patch
rename to package/flite/0002-fix-alsa-version-check.patch
index 8832ac3..6a38cc3 100644
--- a/package/flite/0003-fix-alsa-version-check.patch
+++ b/package/flite/0002-fix-alsa-version-check.patch
@@ -13,8 +13,8 @@ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Index: flite-1.4/flite-1.4-release/configure.in
===================================================================
---- flite-1.4.orig/flite-1.4-release/configure.in
-+++ flite-1.4/flite-1.4-release/configure.in
+--- flite-1.4-release/configure.in
++++ flite-1.4-release/configure.in
@@ -270,7 +270,7 @@
# the one I know -- you can still specific --with-audio=alsa
AC_TRY_COMPILE([#include <alsa/version.h>],
diff --git a/package/flite/flite.hash b/package/flite/flite.hash
deleted file mode 100644
index e4dd0c6..0000000
--- a/package/flite/flite.hash
+++ /dev/null
@@ -1,2 +0,0 @@
-# locally computed hash
-sha256 45c662160aeca6560589f78daf42ab62c6111dd4d244afc28118c4e6f553cd0c flite-1.4-release.tar.bz2
diff --git a/package/flite/flite.mk b/package/flite/flite.mk
index 611e334..557927d 100644
--- a/package/flite/flite.mk
+++ b/package/flite/flite.mk
@@ -4,26 +4,10 @@
#
################################################################################
-FLITE_VERSION = 1.4
-FLITE_SOURCE = flite-$(FLITE_VERSION)-release.tar.bz2
-FLITE_SITE = http://www.speech.cs.cmu.edu/flite/packed/flite-$(FLITE_VERSION)
-# $ tar tf flite-1.4-release.tar.bz2
-# ...
-# flite-1.4-release//install-sh
-# flite-1.4-release//mkinstalldirs
-# flite-1.4-release//Exports.def
-# flite-1.4-release//flite.sln
-# flite-1.4-release//fliteDll.vcproj
-# flite-1.4-release/config/Makefile
-# flite-1.4-release/config/common_make_rules
-# flite-1.4-release/config/project.mak
-# flite-1.4-release/config/config.in
-# flite-1.4-release/config/system.mak.in
-#
-# So, we set FLITE_STRIP_COMPONENTS=0 to avoid writing to "/", and then
-# build in flite-1.4-release/
-FLITE_STRIP_COMPONENTS = 0
-FLITE_SUBDIR = flite-$(FLITE_VERSION)-release
+FLITE_VERSION = 6260e4ca258715a35859397cdcf075bb4e7f386f
+# we use the FreeSwitch fork because it contains pkgconf support
+FLITE_SITE = https://freeswitch.org/stash/scm/sd/libflite.git
+FLITE_SITE_METHOD = git
FLITE_LICENSE = BSD-4c
FLITE_LICENSE_FILES = $(FLITE_SUBDIR)/COPYING
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 29/31] package/flite: bump version to 2.0.0
2016-04-10 9:41 ` [Buildroot] [PATCH v12 29/31] package/flite: bump version to 2.0.0 Bernd Kuhls
@ 2016-04-13 22:16 ` Arnout Vandecappelle
0 siblings, 0 replies; 37+ messages in thread
From: Arnout Vandecappelle @ 2016-04-13 22:16 UTC (permalink / raw)
To: buildroot
On 04/10/16 11:41, Bernd Kuhls wrote:
> Freeswitch contains mod_flite which needs flite >= 2.0.0 detected by
> pkgconf, its support was added by the freeswitch project so we switch
> to the freeswitch support deps repo:
> https://freeswitch.org/stash/projects/SD
So, we would be switching to a fork? I don't like that very much... I tend to
prefer sticking with the upstream flite-2.0.0 release, and add patches if
needed. However, a quick look shows that the differences are pretty large, so
it's probably not an option. But then, switching to a fork is even less
attractive... But then again, the real upstream is not very active, while the
freeswitch fork is really active.
Either way, it's ugly :-(
If it's really just about the pkg-config support, can't we just add a .pc file
ourselves? After bumping to the upstream flite-2.0.0 of course.
>
> Removed 0001-now-honor-DESTDIR-env.-var.patch, not needed anymore.
> Rebased and renumbered the remaining patches.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> ...lsa-static.patch => 0001-fix-alsa-static.patch} | 4 +--
> .../flite/0001-now-honor-DESTDIR-env.-var.patch | 30 ----------------------
> ...eck.patch => 0002-fix-alsa-version-check.patch} | 4 +--
> package/flite/flite.hash | 2 --
> package/flite/flite.mk | 24 +++--------------
> 5 files changed, 8 insertions(+), 56 deletions(-)
> rename package/flite/{0002-fix-alsa-static.patch => 0001-fix-alsa-static.patch} (77%)
> delete mode 100644 package/flite/0001-now-honor-DESTDIR-env.-var.patch
> rename package/flite/{0003-fix-alsa-version-check.patch => 0002-fix-alsa-version-check.patch} (90%)
> delete mode 100644 package/flite/flite.hash
>
> diff --git a/package/flite/0002-fix-alsa-static.patch b/package/flite/0001-fix-alsa-static.patch
> similarity index 77%
> rename from package/flite/0002-fix-alsa-static.patch
> rename to package/flite/0001-fix-alsa-static.patch
> index 12adb9e..de088ad 100644
> --- a/package/flite/0002-fix-alsa-static.patch
> +++ b/package/flite/0001-fix-alsa-static.patch
> @@ -3,8 +3,8 @@ Use pkg-config to determine alsa link flags. This fixes static linking.
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
>
> diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
> ---- flite-1.4-release.orig/flite-1.4-release/configure.in 2009-08-14 23:46:38.000000000 +0300
> -+++ flite-1.4-release/flite-1.4-release/configure.in 2014-04-30 18:52:33.253297236 +0300
> +--- flite-1.4-release/configure.in 2009-08-14 23:46:38.000000000 +0300
> ++++ flite-1.4-release/configure.in 2014-04-30 18:52:33.253297236 +0300
It's a bit weird to still have flite-1.4 when the version is actually 2.0...
Perhaps convert to git patches?
> @@ -275,7 +275,10 @@
> #endif],
> [AUDIODRIVER="alsa"
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 30/31] package/freeswitch: enable mod_flite
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (28 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 29/31] package/flite: bump version to 2.0.0 Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
2016-04-10 9:41 ` [Buildroot] [PATCH v12 31/31] package/freeswitch: enable video support Bernd Kuhls
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/freeswitch.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 54d7d14..8695b30 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -160,6 +160,11 @@ FREESWITCH_DEPENDENCIES += alsa-lib
FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
endif
+ifeq ($(BR2_PACKAGE_FLITE),y)
+FREESWITCH_DEPENDENCIES += flite
+FREESWITCH_ENABLED_MODULES += asr_tts/mod_flite
+endif
+
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [Buildroot] [PATCH v12 31/31] package/freeswitch: enable video support
2016-04-10 9:41 [Buildroot] [PATCH v12 00/31] package/freeswitch: new package Bernd Kuhls
` (29 preceding siblings ...)
2016-04-10 9:41 ` [Buildroot] [PATCH v12 30/31] package/freeswitch: enable mod_flite Bernd Kuhls
@ 2016-04-10 9:41 ` Bernd Kuhls
30 siblings, 0 replies; 37+ messages in thread
From: Bernd Kuhls @ 2016-04-10 9:41 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/freeswitch/Config.in | 16 +++++++++++++++-
package/freeswitch/freeswitch.mk | 38 ++++++++++++++++++++++++++++++++++++--
2 files changed, 51 insertions(+), 3 deletions(-)
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
index c521647..d552ccb 100644
--- a/package/freeswitch/Config.in
+++ b/package/freeswitch/Config.in
@@ -1,4 +1,4 @@
-config BR2_PACKAGE_FREESWITCH
+menuconfig BR2_PACKAGE_FREESWITCH
bool "freeswitch"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # apr, included in freeswitch source
@@ -22,6 +22,20 @@ config BR2_PACKAGE_FREESWITCH
https://www.freeswitch.org
+if BR2_PACKAGE_FREESWITCH
+
+config BR2_PACKAGE_FREESWITCH_MODULE_VIDEO
+ bool "Video support"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libyuv (in-tree)
+ select BR2_PACKAGE_FFMPEG
+ select BR2_PACKAGE_FFMPEG_AVRESAMPLE
+ select BR2_PACKAGE_FFMPEG_SWSCALE
+
+comment "Video support needs a toolchain w/ gcc >= 4.8"
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+
+endif
+
comment "freeswitch needs a toolchain w/ C++, dynamic library, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 8695b30..70345b9 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -54,8 +54,6 @@ FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
- --disable-libvpx \
- --disable-libyuv \
--without-erlang \
--enable-fhs \
--without-python \
@@ -282,4 +280,40 @@ ifeq ($(BR2_PACKAGE_XZ),y)
FREESWITCH_DEPENDENCIES += xz
endif
+ifeq ($(BR2_PACKAGE_FREESWITCH_MODULE_VIDEO),y)
+FREESWITCH_CONF_OPTS += --enable-libvpx --enable-libyuv
+FREESWITCH_DEPENDENCIES += host-yasm ffmpeg
+FREESWITCH_ENABLED_MODULES += applications/mod_av
+FREESWITCH_ENABLED_MODULES += applications/mod_fsv
+
+# freeswitch uses its own copy of libvpx since 1.6.7
+# the implementation of libvpx into the freeswitch build system is not
+# cross-compile friendly so we compile libvpx ourselves by copying
+# most of packages/libvpx/libvpx.mk here, added by some --disable-
+# options from freeswitch-1.6.7/Makefile.am, line 536
+define FREESWITCH_CROSS_COMPILE_LIBVPX
+ (cd $(@D)/libs/libvpx && \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_CONFIGURE_ARGS) \
+ LD="$(TARGET_CC)" \
+ CROSS=$(GNU_TARGET_NAME) \
+ ./configure \
+ --target=generic-gnu \
+ --enable-pic \
+ --prefix=/usr \
+ --disable-docs \
+ --disable-examples \
+ --disable-install-bins \
+ --disable-install-srcs \
+ --disable-unit-tests \
+ --extra-cflags="-fvisibility=hidden" \
+ )
+ $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D)/libs/libvpx
+endef
+FREESWITCH_POST_CONFIGURE_HOOKS += FREESWITCH_CROSS_COMPILE_LIBVPX
+
+else
+FREESWITCH_CONF_OPTS += --disable-libvpx --disable-libyuv
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 37+ messages in thread