commit:     611c76a2f33547e87ee07ccabbdcd614647cc049
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 25 08:20:11 2026 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 25 08:50:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611c76a2

sys-firmware/sof-firmware: add 2025.12.1

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-firmware/sof-firmware/Manifest                 |  1 +
 .../sof-firmware/sof-firmware-2025.12.1.ebuild     | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/sys-firmware/sof-firmware/Manifest 
b/sys-firmware/sof-firmware/Manifest
index c77cb3d6aae1..cc7623c59faf 100644
--- a/sys-firmware/sof-firmware/Manifest
+++ b/sys-firmware/sof-firmware/Manifest
@@ -1,2 +1,3 @@
 DIST sof-firmware-2025.05.1.tar.gz 11838386 BLAKE2B 
7941ee472303481b83f794118c6271af123ccd0d211677f47dd74c21675a3e960a4c8dbf3f4ef4333171c65ebdf4d388e852b4ea484c0d208a28fb17849d7a20
 SHA512 
ad255502c607e80dcd9d42f4b734e10534e7b2bc36b0cc077b825a75b91040a9094df1fb3b3bab3a87b99940009b99835357f22bc6289c52fb66f472459fe8e1
+DIST sof-firmware-2025.12.1.tar.gz 13486538 BLAKE2B 
f791dccb488ae3a1db26e39d149d0a51b68c200943ef35d2f40a59c0e17a4bc7bcaea5f54195ccc6cd9574371aceb07a394a1869efe1bdfd418d938283f8e7b8
 SHA512 
78885d29720dbf2b54999e3ac4dc4124ac0f6fc466cd51bdfff3ae93dcd796a99e96fe3ea7d997f32e9b85936780c1ad04565002244024d92731a68c889c2087
 DIST sof-firmware-2025.12.tar.gz 13398826 BLAKE2B 
935f909e4b5ab9fed3424767b660e7ac3b96e121f23d2b52d0b0f24e82877e1acbd54fce530861f43bf01b1b0343874959a0e75c712440c15bc761b3d9d643f2
 SHA512 
f77c47a401e68e3edb29b281efbfe97505b9ae4c188ea09ccd2855aaced4976631160885df8ce50cf83550bdfdc2bc7489cfee3ed6d9cd63563bbf3d0be8f661

diff --git a/sys-firmware/sof-firmware/sof-firmware-2025.12.1.ebuild 
b/sys-firmware/sof-firmware/sof-firmware-2025.12.1.ebuild
new file mode 100644
index 000000000000..5bd47e5655f4
--- /dev/null
+++ b/sys-firmware/sof-firmware/sof-firmware-2025.12.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Sound Open Firmware (SOF) binary files"
+HOMEPAGE="https://www.sofproject.org https://github.com/thesofproject/sof 
https://github.com/thesofproject/sof-bin";
+SRC_URI="https://github.com/thesofproject/sof-bin/releases/download/v${PV}/sof-bin-${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}"/sof-bin-${PV}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="tools"
+
+RDEPEND="
+       tools? (
+               media-libs/alsa-lib
+               sys-libs/glibc
+       )
+"
+
+QA_PREBUILT="usr/bin/sof-ctl
+       usr/bin/sof-logger
+       usr/bin/sof-probes"
+
+src_install() {
+       dodir /lib/firmware/intel
+       dodir /usr/bin
+       FW_DEST="${D}/lib/firmware/intel" TOOLS_DEST="${D}/usr/bin" 
"${S}/install.sh" || die
+
+       # Drop tools if requested (i.e. useful for musl systems, where glibc
+       # is not available)
+       if ! use tools ; then
+               rm -rv "${D}"/usr/bin || die
+       fi
+}
+
+pkg_preinst() {
+       # Fix sof-ace-tplg directory symlink collisions
+       local sofpath="${EROOT}/lib/firmware/intel/sof-ace-tplg"
+       if [[ ! -L "${sofpath}" && -d "${sofpath}" ]] ; then
+               rm -r "${sofpath}" || die
+       fi
+}

Reply via email to