From 102dc42fae2907037d3ca9a6d63ed28e46c5b88e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 8 Apr 2024 06:31:00 +0100 Subject: gentoo auto-resync : 08:04:2024 - 06:31:00 --- sys-firmware/Manifest.gz | Bin 4561 -> 4563 bytes sys-firmware/sof-firmware/Manifest | 4 +- sys-firmware/sof-firmware/metadata.xml | 3 ++ .../sof-firmware/sof-firmware-2024.03.ebuild | 45 +++++++++++++++++++++ 4 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 sys-firmware/sof-firmware/sof-firmware-2024.03.ebuild (limited to 'sys-firmware') diff --git a/sys-firmware/Manifest.gz b/sys-firmware/Manifest.gz index 7760667e21ba..cc89e4ca09ac 100644 Binary files a/sys-firmware/Manifest.gz and b/sys-firmware/Manifest.gz differ diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index 213f13d355cf..310e8dc14e6b 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,5 +1,7 @@ DIST sof-firmware-2023.12.1.tar.gz 5446189 BLAKE2B a901637ba25df51152f04c7db5330b70a18c92363b102c061568a4c3a8a7e2fc506ac9783abe715f680a27be8a040d63b7dd5b62682979ccf1e4eaeb30789d83 SHA512 e0175f3af5336f23548efcf8fa302bafbb6122fd173273203f687c05ee17fab4e7bd457b27cc7a62fd25ea77708ffdbf9e1fe3880d3df1cf2196d7073c6f7677 DIST sof-firmware-2023.12.tar.gz 5427762 BLAKE2B 48169378609119555f9b655599cef55e5722be71fdfc8fb71b699188fcb3f62a68e217fc3fec8859cd3e1c252f046208d5123c961dd824bd9b6559bd1fb72325 SHA512 ed43e7597c93140b15499ba17bae1866dcf1e2959d910e81b3831e4db2224a1dcff790ef21afcd610d7cc9309251a08351bae1c959ded18e5e28a6b24ae99506 +DIST sof-firmware-2024.03.tar.gz 8161590 BLAKE2B 23d73ff3ab30b5134086bb21e606805a7d9667adf1a5598a3d31068ba0254dc4c34464ee3913eb3530a8124e3614eff9ba28fa731e9816b28980ea05834c1037 SHA512 1e9891d3891f5a4413a77a68ea6d3a2e6ead8c1a67eaa7e9aaf30871753617ffce19bd3b85ebcbb617e606646f6aa0e1dafee5279c294ec72ef4b2885e009f72 EBUILD sof-firmware-2023.12.1.ebuild 890 BLAKE2B 03d599e001fdf7096263733ea951eb47961a57253de7c0846587d28ddfbfee3e52a0289cc62b73f9e39f83bf7feb433a4f1b2f53cb5f9bf138a8f28fe5dddf30 SHA512 12498d46dc4b5e1a8086ff0880b961339b81c94b59aedb23b428c8d438a92e2e1749cc971301cb4843048393b9411cc865c7463e1b69b853e285855d75016920 EBUILD sof-firmware-2023.12.ebuild 889 BLAKE2B 56d91db39fe4cd30314c52a307e504162a0c50b14b24bffc9796fff0f0742308c82e2ed7efc6d02457b17e47fd0cd7f15222d6d304783143ee5c4c803d3fe2ec SHA512 fb82f1b76f2e1ac137d535adfb5c737c03465dcf39dc3b9817a2e3a653cd9a2028cdcfa3f261c5150ddd92cfd67b65009bc22a8188d9b93e9966224ebbdf10d4 -MISC metadata.xml 381 BLAKE2B 77e89f8f6051a2d807083ae56fda034d76ab0ee06b012ec423368833bc017ba054bce7409d5ee88c4be9b3e753c5993ea906d3716cd922911dbe39594341c8f1 SHA512 65df15d0e495f2beecf30d3d9aa39f09556957890bacb394d093b199a9c0609addc8bf730fa9fa85b488c8532d470e6b85b54f3720856f1cc117189081459755 +EBUILD sof-firmware-2024.03.ebuild 1125 BLAKE2B 532575d14965d0b685baec966e4ec001a4741bddd8513caade012c439f09b354ce166bbb9281b05b306310fb43b2fce3a5cbec35bc0e080dd786049c2f26dbe4 SHA512 40656572634ab323ab0cbf454550d297fc47d84d880e236709e15e9a488fc6bc3f677d0dda6285acdacf0352bc0d51f8b80b303d0f35992e115aa606ef2b965e +MISC metadata.xml 575 BLAKE2B 5805cca1f6bd8bb40cc6cc9cd63883777b81e008380535fcf9e89b8fbda28f604fceb492d53f4cabdfb3121645962963d3063b1288d4c14d015c8851adf5f6c6 SHA512 509550c56431087b5b521672f824d95d9256a4622a08f4281a00c489164e45412f2b5aafc13c38b0f60a7d33a7f61d39e13924fba69f26c934c0ee94b1fbf013 diff --git a/sys-firmware/sof-firmware/metadata.xml b/sys-firmware/sof-firmware/metadata.xml index 6f44d28b9bc7..5933a501e2ec 100644 --- a/sys-firmware/sof-firmware/metadata.xml +++ b/sys-firmware/sof-firmware/metadata.xml @@ -7,6 +7,9 @@ alsa-bugs@gentoo.org + + Tools to interact with sof firmwares (upstream expects them to be present, but allow to skip them for systems not able to install needed dependencies) + thesofproject/sof diff --git a/sys-firmware/sof-firmware/sof-firmware-2024.03.ebuild b/sys-firmware/sof-firmware/sof-firmware-2024.03.ebuild new file mode 100644 index 000000000000..105eaae58f37 --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2024.03.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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 +} -- cgit v1.2.3