mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 20:53:03 +01:00
With the move to gcc 15, the code is now generating a compile error.
../sbc-2.1/sbc/sbc_primitives_armv6.c:284:9:
error: too many arguments to function 'sbc_analyze_eight_armv6';
expected 0, have 3
Simple fix is to drop the C standard down to gnu17 to avoid this new
error.
(From OE-Core rev: 2dc0664e966cd8d4c99798cc997c192785773e31)
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
951 B
BlitzBasic
26 lines
951 B
BlitzBasic
SUMMARY = "SBC Audio Codec"
|
|
DESCRIPTION = "Bluetooth low-complexity, subband codec (SBC) library."
|
|
HOMEPAGE = "https://www.bluez.org"
|
|
SECTION = "libs"
|
|
LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
|
|
LICENSE:${PN} = "LGPL-2.1-or-later"
|
|
LICENSE:${PN}-examples = "GPL-2.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
|
|
file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
|
|
file://src/sbcenc.c;beginline=1;endline=8;md5=cfac6012e2dea914de8b3b7693591622 \
|
|
file://sbc/sbc.h;beginline=1;endline=10;md5=bbf642bd99160e4f2a5bbd5d174a8320 \
|
|
"
|
|
|
|
DEPENDS = "libsndfile1"
|
|
|
|
SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/${BP}.tar.xz"
|
|
|
|
SRC_URI[sha256sum] = "426633cabd7c798236443516dfa8335b47e004b0ef37ff107e0c7ead3299fcc2"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
CFLAGS += "-std=gnu17"
|
|
|
|
PACKAGES =+ "${PN}-examples"
|
|
FILES:${PN}-examples += "${bindir}/*"
|