Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alsey Coleman Miller <alseycmiller@gmail.com>
To: buildroot@buildroot.org
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>,
	James Hilliard <james.hilliard1@gmail.com>,
	Alsey Coleman Miller <alseycmiller@gmail.com>
Subject: [Buildroot] [PATCH 1/2] package/liblc3: new package
Date: Tue,  4 Aug 2026 06:38:53 -0400	[thread overview]
Message-ID: <20260804103854.429758-2-alseycmiller@gmail.com> (raw)
In-Reply-To: <20260804103854.429758-1-alseycmiller@gmail.com>

liblc3 is the Google implementation of LC3, the mandatory codec of the
Bluetooth LE Audio profiles. The PipeWire bluez5 plugin can use it to
encode and decode LE Audio streams.

https://github.com/google/liblc3

Signed-off-by: Alsey Coleman Miller <alseycmiller@gmail.com>
---
 DEVELOPERS                 |  3 +++
 package/Config.in          |  1 +
 package/liblc3/Config.in   |  8 ++++++++
 package/liblc3/liblc3.hash |  3 +++
 package/liblc3/liblc3.mk   | 16 ++++++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/liblc3/Config.in
 create mode 100644 package/liblc3/liblc3.hash
 create mode 100644 package/liblc3/liblc3.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index f2713c7239..f8a6e5bdd0 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -166,6 +166,9 @@ F:	configs/hifive_unleashed_defconfig
 F:	package/libspdm/
 F:	package/xen/
 
+N:	Alsey Coleman Miller <alseycmiller@gmail.com>
+F:	package/liblc3/
+
 N:	Alvaro G. M <alvaro.gamez@hazent.com>
 F:	package/dcron/
 F:	package/libxmlrpc/
diff --git a/package/Config.in b/package/Config.in
index fc1e57d30d..82d11b5bdc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1570,6 +1570,7 @@ menu "Audio/Sound"
 	source "package/libgsm/Config.in"
 	source "package/libid3tag/Config.in"
 	source "package/libilbc/Config.in"
+	source "package/liblc3/Config.in"
 	source "package/liblo/Config.in"
 	source "package/libmad/Config.in"
 	source "package/libmodplug/Config.in"
diff --git a/package/liblc3/Config.in b/package/liblc3/Config.in
new file mode 100644
index 0000000000..8dbd1d00b4
--- /dev/null
+++ b/package/liblc3/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBLC3
+	bool "liblc3"
+	help
+	  LC3 is an efficient low latency audio codec, specified by
+	  the Bluetooth SIG for the LE Audio profiles. This is the
+	  Google implementation of the encoder and decoder.
+
+	  https://github.com/google/liblc3
diff --git a/package/liblc3/liblc3.hash b/package/liblc3/liblc3.hash
new file mode 100644
index 0000000000..269316d501
--- /dev/null
+++ b/package/liblc3/liblc3.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  276752ff54ce6a77d54ec133397b9d7e71f90caf3d9afa32d8b0e891b8ecb8af  liblc3-1.1.3.tar.gz
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE
diff --git a/package/liblc3/liblc3.mk b/package/liblc3/liblc3.mk
new file mode 100644
index 0000000000..87ab68105a
--- /dev/null
+++ b/package/liblc3/liblc3.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# liblc3
+#
+################################################################################
+
+LIBLC3_VERSION = 1.1.3
+LIBLC3_SITE = $(call github,google,liblc3,v$(LIBLC3_VERSION))
+LIBLC3_LICENSE = Apache-2.0
+LIBLC3_LICENSE_FILES = LICENSE
+LIBLC3_INSTALL_STAGING = YES
+LIBLC3_CONF_OPTS = \
+	-Dpython=false \
+	-Dtools=false
+
+$(eval $(meson-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-08-04 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-04 10:38 [Buildroot] [PATCH 0/2] Add liblc3 and enable the LC3 codec in PipeWire Alsey Coleman Miller
2026-08-04 10:38 ` Alsey Coleman Miller [this message]
2026-08-04 16:50   ` [Buildroot] [PATCH 1/2] package/liblc3: new package Julien Olivain via buildroot
2026-08-04 10:38 ` [Buildroot] [PATCH 2/2] package/pipewire: add support for the LC3 bluetooth codec Alsey Coleman Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260804103854.429758-2-alseycmiller@gmail.com \
    --to=alseycmiller@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=james.hilliard1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox