aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-10 09:09:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-10 12:46:50 +0000
commit4e8f7ad610f304426599f02a7c7c16dbfc386cb4 (patch)
treedead8e837348ce3a4cbe537032f777ac60521a27 /main/freeswitch
parent8450d958a87f4aa7d15d8ed99ca1231f0f67a4e2 (diff)
downloadaports-4e8f7ad610f304426599f02a7c7c16dbfc386cb4.tar.bz2
aports-4e8f7ad610f304426599f02a7c7c16dbfc386cb4.tar.xz
main/freeswitch: enable mod_sangoma_codec
fixes #721
Diffstat (limited to 'main/freeswitch')
-rw-r--r--main/freeswitch/APKBUILD13
-rw-r--r--main/freeswitch/modules.conf2
2 files changed, 11 insertions, 4 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 7fba691170..5016faea47 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -4,7 +4,7 @@ pkgname=freeswitch
pkgver=1.0.7_p20110602
_ver=${pkgver%_p*}
_snapshot=${pkgver#*_p}
-pkgrel=4
+pkgrel=5
pkgdesc="A communications platform written in C from the ground up"
url="http://www.freeswitch.org"
arch="all"
@@ -15,7 +15,8 @@ makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev
libiconv-dev subversion flac-dev libogg-dev libvorbis-dev
jpeg-dev"
install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade"
-subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf $pkgname-freetdm"
+subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf
+ $pkgname-freetdm $pkgname-sangoma"
source="saveas-http://latest.freeswitch.org/freeswitch-$_ver.tar.gz/freeswitch-$pkgver.tar.gz
freeswitch-mod_shout-textrels.patch
0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch
@@ -120,6 +121,12 @@ freetdm() {
mv "$pkgdir"/usr/lib/libfreetdm.so* "$subpkgdir"/usr/lib/
}
+sangoma() {
+ pkgdesc="Freeswitch Sangoma Media Transcode Codec Module"
+ install=
+ _mv_mod mod_sangoma_codec
+}
+
conf() {
pkgdesc="Freeswitch sample configureation"
arch="noarch"
@@ -138,6 +145,6 @@ md5sums="813edb2192d1cc0fe224d9ef0492de4f freeswitch-1.0.7_p20110602.tar.gz
5aed9ec61d7ac1f3758a89db159328c4 0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch
769eaa127d4dbae687dc4aa961a8cc70 0002-mod_lua-alpine-module-search-path.patch
74c3cdd3ce8474e8d084f475fa4f92c1 0003-mod_conference_no_hangup.patch
-691fa3aca967203848bbb2a617545265 modules.conf
+94516a9473e2283ab201f38cb2756741 modules.conf
c608cca8ad773acebf201f581438c7e7 freeswitch.confd
aa358c9ca0d8b93fabb6a36a5ed4c469 freeswitch.initd"
diff --git a/main/freeswitch/modules.conf b/main/freeswitch/modules.conf
index b87e6786cf..d0d0fce282 100644
--- a/main/freeswitch/modules.conf
+++ b/main/freeswitch/modules.conf
@@ -52,7 +52,7 @@ codecs/mod_speex
codecs/mod_siren
#codecs/mod_celt
#codecs/mod_opus
-#codecs/mod_sangoma_codec
+codecs/mod_sangoma_codec
#codecs/mod_dahdi_codec
#dialplans/mod_dialplan_directory
dialplans/mod_dialplan_xml