From f05f7f02615d99f8980b7fb2bd81e7ac02876910 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Mon, 21 Oct 2019 13:29:59 -0700 Subject: [PATCH 1/2] speexdsp: add package --- packages/audio/speexdsp/package.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/audio/speexdsp/package.mk diff --git a/packages/audio/speexdsp/package.mk b/packages/audio/speexdsp/package.mk new file mode 100644 index 0000000000..288ba6bb73 --- /dev/null +++ b/packages/audio/speexdsp/package.mk @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) + +PKG_NAME="speexdsp" +PKG_VERSION="1.2.0" +PKG_SHA256="682042fc6f9bee6294ec453f470dadc26c6ff29b9c9e9ad2ffc1f4312fd64771" +PKG_LICENSE="BSD" +PKG_SITE="https://speex.org" +PKG_URL="http://downloads.us.xiph.org/releases/speex/speexdsp-$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain" +PKG_LONGDESC="Speex audio processing library" From 9e80f251b2d042be6c8d071204b51018360e1342 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Mon, 21 Oct 2019 13:30:21 -0700 Subject: [PATCH 2/2] pulseaudio: enable speex support this fixes the following warning: meson.build:871: WARNING: You do not have speex support enabled. It is strongly recommended that you enable speex support if your platform supports it as it is the primary method used for audio resampling and is thus a critical part of PulseAudio on that platform. --- packages/audio/pulseaudio/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/audio/pulseaudio/package.mk b/packages/audio/pulseaudio/package.mk index b372e1366f..81f185efa7 100644 --- a/packages/audio/pulseaudio/package.mk +++ b/packages/audio/pulseaudio/package.mk @@ -8,7 +8,7 @@ PKG_SHA256="961b23ca1acfd28f2bc87414c27bb40e12436efcf2158d29721b1e89f3f28057" PKG_LICENSE="GPL" PKG_SITE="http://pulseaudio.org/" PKG_URL="http://www.freedesktop.org/software/pulseaudio/releases/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS_TARGET="toolchain alsa-lib dbus libcap libsndfile libtool openssl soxr systemd glib:host" +PKG_DEPENDS_TARGET="toolchain alsa-lib dbus libcap libsndfile libtool openssl soxr speexdsp systemd glib:host" PKG_LONGDESC="PulseAudio is a sound system for POSIX OSes, meaning that it is a proxy for your sound applications." PKG_TOOLCHAIN="meson" @@ -58,7 +58,7 @@ PKG_MESON_OPTS_TARGET="-Dgcov=false \ -Dorc=disabled \ -Dsamplerate=disabled \ -Dsoxr=enabled \ - -Dspeex=disabled \ + -Dspeex=enabled \ -Dsystemd=enabled \ -Dudev=enabled \ -Dx11=disabled \