From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D47DC158232 for ; Sun, 8 Dec 2024 13:52:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11724E0BC5; Sun, 8 Dec 2024 13:52:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E248EE0BCD for ; Sun, 8 Dec 2024 13:52:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC17E34072E for ; Sun, 8 Dec 2024 13:52:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3DF21F28 for ; Sun, 8 Dec 2024 13:52:34 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1733665875.c10770d5a02f094060d462a4af75a05d41866943.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/sof-firmware/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-firmware/sof-firmware/Manifest sys-firmware/sof-firmware/sof-firmware-2024.09.2.ebuild X-VCS-Directories: sys-firmware/sof-firmware/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: c10770d5a02f094060d462a4af75a05d41866943 X-VCS-Branch: master Date: Sun, 8 Dec 2024 13:52:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f0e060e4-78b4-45be-af20-28c608fcfa3e X-Archives-Hash: 2b300001441f76466d4f011e7fc1141e commit: c10770d5a02f094060d462a4af75a05d41866943 Author: Pacho Ramos gentoo org> AuthorDate: Sun Dec 8 13:51:15 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Dec 8 13:51:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10770d5 sys-firmware/sof-firmware: add 2024.09.2 Signed-off-by: Pacho Ramos gentoo.org> sys-firmware/sof-firmware/Manifest | 1 + .../sof-firmware/sof-firmware-2024.09.2.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index 1cc11e30a9a1..6653659b9cad 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,3 +1,4 @@ DIST sof-firmware-2024.06.tar.gz 9848270 BLAKE2B 31189e81400981b76db585019324e7dec9f81ff488c6bbc575534d4968ea974764ecf0b585918cc1871e99ef8cff45f77c8c7509bb954360693f3a283b391d6a SHA512 50dbd849b086158af88dd629566b80de4e841dd8a74b6ea8b1d99b3321be94a0d2d6f742b557f0445b9618a6dbeee3fec6a4e9822b320d511ede1ec1812c0d4d DIST sof-firmware-2024.09.1.tar.gz 10208804 BLAKE2B e2d40f424703b086678df93c8476d7c4e434fe7712f350009fdf3994a125bdccc90d1279853356df79ffad178b5e398e4894f7182ebd96edd0527101e0f74627 SHA512 e542ae732305485a4f12332f9bdec8d2e80ba41247e44e00960670b45970d45049f46fbdc42c9250ecc40bb1b9edaf1e81cd2c3da760f3bd174176ad3c8e22d2 +DIST sof-firmware-2024.09.2.tar.gz 10207994 BLAKE2B ce26d07a77ebb1d37a9c22ac884cf0331a4a6c3e0a1591b895e777a3fafd3e5ef489cb5770c6a577d25697b0f8c58d64db24cb01a72c1d495b2e502147434a70 SHA512 fadb9078705e0813897650e19166ad0d81710f8ba08ecb74de413a0bd7b27d73f9dcedd4583687f9deefd22ccb78b56ede8fbc5ab6fbd56e181c6b63be816a18 DIST sof-firmware-2024.09.tar.gz 10196135 BLAKE2B 0136b4ef3500bc09c9411c216c5785c6dc11a1986597b495554b5fa526f843eb19084f15bf11367a3ac942934d1fdc358588cebaa2bcdd8cb74f407a268efdd6 SHA512 b8a199afba7289a39485662741fbf8ecb47e9c91e461478e3e2d523c12986bfddf8a1f61b4ba0a2c689008de8808a2df00f05aacb541a2fb16a6a5dbd7481ecf diff --git a/sys-firmware/sof-firmware/sof-firmware-2024.09.2.ebuild b/sys-firmware/sof-firmware/sof-firmware-2024.09.2.ebuild new file mode 100644 index 000000000000..105eaae58f37 --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2024.09.2.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 +}