pipewire: add support for liblc3

- add liblc3 recipe

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2023-08-05 07:57:55 +02:00
committed by Khem Raj
parent 262cf75230
commit 38f525002c
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
SUMMARY = "Low Complexity Communication Codec (LC3)"
HOMEPAGE = "https://github.com/google/liblc3"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI = "git://github.com/google/liblc3.git;protocol=https;branch=main"
S = "${WORKDIR}/git"
SRCREV = "1a5938ebaca4f13fe79ce074f5dee079783aa29f"
inherit pkgconfig meson
BBCLASSEXTEND = "native nativesdk"

View File

@@ -101,6 +101,7 @@ PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi"
PACKAGECONFIG[bluez] = "-Dbluez5=enabled,-Dbluez5=disabled,bluez5 sbc"
PACKAGECONFIG[bluez-aac] = "-Dbluez5-codec-aac=enabled,-Dbluez5-codec-aac=disabled,fdk-aac"
PACKAGECONFIG[bluez-opus] = "-Dbluez5-codec-opus=enabled,-Dbluez5-codec-opus=disabled,libopus"
PACKAGECONFIG[bluez-lc3] = "-Dbluez5-codec-lc3=enabled,-Dbluez5-codec-lc3=disabled,liblc3"
# From the pipewire git log:
# "Some Linux phones doesn't use oFono but ModemManager to control the modem."
# This packageconfig enables modemmanager specific code in the BlueZ backend.