diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2020-04-30 14:37:21 -0600 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2020-04-30 14:37:21 -0600 |
commit | ff301cdf28ec2e29c762bfb0c13664366f5513d5 (patch) | |
tree | 54592919698ba5daa4546fa2bdc7e9d6505e1f75 /main | |
parent | 22898c1e1e89d9318d7b8436dfc1a6203f0ba651 (diff) | |
download | aports-ff301cdf28ec2e29c762bfb0c13664366f5513d5.tar.bz2 aports-ff301cdf28ec2e29c762bfb0c13664366f5513d5.tar.xz |
main/freeswitch: reenable, upgrade to 1.10.2, enable mod_say_de
Diffstat (limited to 'main')
-rw-r--r-- | main/freeswitch/APKBUILD | 34 | ||||
-rw-r--r-- | main/freeswitch/modules.conf | 2 |
2 files changed, 20 insertions, 16 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index c44e4ce8f6..e43166b8f4 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD @@ -2,13 +2,11 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Contributor: Cameron Banta <cbanta@gmail.com> pkgname=freeswitch -pkgver=1.8.7 -pkgrel=1 +pkgver=1.10.2 +pkgrel=0 pkgdesc="A communications platform written in C from the ground up" url="http://www.freeswitch.org" -# Fails to build with more recent autotools versions and upstream only supports debian: -# https://github.com/signalwire/freeswitch/issues/557 -arch="" +arch="all" license="MPL-1.1" makedepends=" bash @@ -16,6 +14,7 @@ makedepends=" coreutils curl-dev db-dev + diffutils flac-dev flite-dev gdbm-dev @@ -55,16 +54,16 @@ makedepends=" autoconf automake libtool " install="$pkgname.pre-install $pkgname.pre-upgrade" -FREESWITCH_USER=freeswitch -FREESWITCH_GROUP=freeswitch -pkgusers="$FREESWITCH_USER" -pkggroups="$FREESWITCH_GROUP" +_freeswitch_user=freeswitch +_freeswitch_group=freeswitch +pkgusers="$_freeswitch_user" +pkggroups="$_freeswitch_group" subpackages="$pkgname-static $pkgname-dev $pkgname-flite $pkgname-timezones::noarch $pkgname-sample-config:conf:noarch $pkgname-freetdm $pkgname-sangoma $pkgname-snmp $pkgname-pgsql $pkgname-perl $pkgname-perlesl $pkgname-openrc $pkgname-dbg" -source="https://files.freeswitch.org/freeswitch-releases/$pkgname-$pkgver.tar.xz +source="https://files.freeswitch.org/freeswitch-releases/$pkgname-$pkgver.-release.tar.xz 0001-sofia-sip-byte-order.patch 0002-FS-verto-bswap_64.patch configure-lua53.patch @@ -77,7 +76,7 @@ source="https://files.freeswitch.org/freeswitch-releases/$pkgname-$pkgver.tar.xz freeswitch.initd " -builddir="$srcdir/$pkgname-$pkgver" +builddir="$srcdir/$pkgname-$pkgver.-release" prepare() { default_prepare @@ -105,6 +104,8 @@ build() { --enable-system-lua \ --enable-system-xmlrpc-c + # build libvpx with -j1, fails to find headers otherwise + make libs/libvpx/libvpx.a # build freetdm with -lexecinfo make -C libs/freetdm LIBS="-lexecinfo" # first build libfreeswitch (in parallel) @@ -117,8 +118,12 @@ build() { cd "$builddir"/libs/esl make -j1 perlmod + # deal with pkg-config version being bogus + cd "$builddir" + sed -i s:-release::g build/freeswitch.pc } -package(){ + +package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install samples-conf samples-htdocs @@ -133,7 +138,6 @@ package(){ make -j1 DESTDIR="$pkgdir" perlmod-install } - _mv_mod() { local moddir=usr/lib/freeswitch/mod i= mkdir -p "$subpkgdir"/$moddir @@ -217,7 +221,7 @@ conf() { mkdir -p "$pkgdir"/etc/freeswitch/scripts } -sha512sums="d395368989763ef35fe4f700692febfc18e548a2a7ed13ffde87ed5330b4f5b39ef322b4aaed69c0c84192b42b2fe11c7f778826902851d139cec1f702a98b56 freeswitch-1.8.7.tar.xz +sha512sums="42ce4e3db5da13fea3a949a92cc8d7a004be052227786fd2c422f268f24ee55a09a88f3542111670e80d1b233588fb34400adbbc464c13c3026ba53b78700659 freeswitch-1.10.2.-release.tar.xz 8a7ca31cc80524b02edc83af891a32af64dd7834ac14b1389112f2ce7fe06fe602d24509a299898f25e807dd0b88544aecb990bf4bd37ee1c7023ae58dacd28a 0001-sofia-sip-byte-order.patch 5f93150e1acd632df98bc3bed5613fb1e45180ae4096dcfee5c060da213c8355339260eaf5758cd77c785f6d84cf0661650a872ec574b586ab19803d4f6955f8 0002-FS-verto-bswap_64.patch 222e3510790de29e29428c70325eb1d4e7852eb4315ee546f137293868bd71acf89e7c85c5ca9d0eb708090c9eef91878a8e12c1b9d5cc99a68fecbd42ad962f configure-lua53.patch @@ -225,6 +229,6 @@ c1960f3c7acf729468b819f7f15d66a251c3967b2784bce18c7755b333156e687c55fdc1aceda588 4ceb48f64d2bc26a02cc0846276506241bfd30c156422b0a1d608fd172c099feb5c121a763652e9a45046dcdd0ba0eb71eab240e0c6ce2ad63ff781719e135a4 getlib.patch 98a53f289c3647cafd05b6f847da0504a838a6e06545c133c10fb058c2d941e6bccf2820f44649fc25f94a4a5b7c1280eaee91098e8110f96ed3342c1cb4346c libvpx-fix-arm-float-abi.patch 16e9208fca7f0a1985dd01ec38ddabb6a79da83ad6ab004bb66de528ac45f02fadaddc50a9f228e1aa38fae213fa5af0ca858b7af629b67a7d654339f813a68c disable-Werror.patch -6deecb303e765d44bdd970d5a7079c9dd9ce17d12056b68cd978a182a86b477b4a3c19d2f5a18f36199ca2e0594a3b84de521ab821e2f8c89f7449a3d7f21279 modules.conf +8026bdf040100bdfe58ce03e33b4d0b670599b75e669dd5e22ae30285609995a9519fe041e0e7153c32082eb6492eac0af5cdef8d8bd21f8ba3b5cbf83f42fbb modules.conf a585f6411185a26206137a1ad97a06fd6c73e80c5439e9be45eabfa70e7a83120169ba882971fcd328436c8e0242cbd664170b80754ea2846021689baf1f1595 freeswitch.confd 643d0a2e43f5d3bf3b99fcb6f6422302cb4b74a95eccf844eafb100b15aa9856b4ff41f112d6637255c2e9e2bec9fedc9a9215dfff214dfb83b52eae16b71dca freeswitch.initd" diff --git a/main/freeswitch/modules.conf b/main/freeswitch/modules.conf index 9a27687e33..9ede90e813 100644 --- a/main/freeswitch/modules.conf +++ b/main/freeswitch/modules.conf @@ -113,7 +113,7 @@ languages/mod_perl loggers/mod_console loggers/mod_logfile loggers/mod_syslog -#say/mod_say_de +say/mod_say_de say/mod_say_en say/mod_say_es say/mod_say_fr |