sys-firmware/sof-firmware: add 2025.05.1

Closes: https://bugs.gentoo.org/959742
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2025-08-29 14:12:44 +02:00
parent b3f97e1bbc
commit 68db801a7c
2 changed files with 46 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST sof-firmware-2025.01.1.tar.gz 10451910 BLAKE2B 94f0573d080c1cdf73426cc6383c0ae60dfa32dc2142627315a77d67ab29cf53320d6390fbc4f2c02bb7ca392010d6da37d8807fe79b31880f48c15968bcb7a2 SHA512 17aed645e22e2406b54a9a57800eade3c08f885a070b7eb363ef433b0d7e39cf2adf66c4e9d2ddf5325ce85de8f7680a82a0e7cec63513b65bba664b7b67b035
DIST sof-firmware-2025.01.tar.gz 10440070 BLAKE2B e63f319f91b530f10b7ed9873f55e2da74fe21af7269d1ed05a31320b9bbdffb8c467ecfbeb2d00570778e32c6f53b79a5840e51651ec9adbeff56ec68605d83 SHA512 22f7b715121259df36658bf936e4abb9ae640296c5e296f58d7d6c45fa95ba31d198dabd80525bb71619c806319cfa6311fe11a5d41dd1ba82526de42cb59ba0
DIST sof-firmware-2025.05.1.tar.gz 11838386 BLAKE2B 7941ee472303481b83f794118c6271af123ccd0d211677f47dd74c21675a3e960a4c8dbf3f4ef4333171c65ebdf4d388e852b4ea484c0d208a28fb17849d7a20 SHA512 ad255502c607e80dcd9d42f4b734e10534e7b2bc36b0cc077b825a75b91040a9094df1fb3b3bab3a87b99940009b99835357f22bc6289c52fb66f472459fe8e1

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2025 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
}