From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1AC771580E0 for ; Fri, 31 Jan 2025 18:35:50 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 037D1343029 for ; Fri, 31 Jan 2025 18:35:50 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A6D2B110471; Fri, 31 Jan 2025 18:35:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A19C5110471 for ; Fri, 31 Jan 2025 18:35:44 +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 54469342F8E for ; Fri, 31 Jan 2025 18:35:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF15D2293 for ; Fri, 31 Jan 2025 18:35:42 +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: <1738346406.0891d91ac32570ac3a25de418b4870b5b2a8f007.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-2025.01.ebuild X-VCS-Directories: sys-firmware/sof-firmware/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 0891d91ac32570ac3a25de418b4870b5b2a8f007 X-VCS-Branch: master Date: Fri, 31 Jan 2025 18:35:42 +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: 715cef21-8e17-4f3b-aa07-799f4ebc337d X-Archives-Hash: 87d6c2a288225539dc25d719da54ee2c commit: 0891d91ac32570ac3a25de418b4870b5b2a8f007 Author: Pacho Ramos gentoo org> AuthorDate: Fri Jan 31 18:00:06 2025 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Jan 31 18:00:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0891d91a sys-firmware/sof-firmware: add 2025.01 Signed-off-by: Pacho Ramos gentoo.org> sys-firmware/sof-firmware/Manifest | 1 + .../sof-firmware/sof-firmware-2025.01.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index 6653659b9cad..e84eb13fe52f 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -2,3 +2,4 @@ DIST sof-firmware-2024.06.tar.gz 9848270 BLAKE2B 31189e81400981b76db585019324e7d 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 +DIST sof-firmware-2025.01.tar.gz 10440070 BLAKE2B e63f319f91b530f10b7ed9873f55e2da74fe21af7269d1ed05a31320b9bbdffb8c467ecfbeb2d00570778e32c6f53b79a5840e51651ec9adbeff56ec68605d83 SHA512 22f7b715121259df36658bf936e4abb9ae640296c5e296f58d7d6c45fa95ba31d198dabd80525bb71619c806319cfa6311fe11a5d41dd1ba82526de42cb59ba0 diff --git a/sys-firmware/sof-firmware/sof-firmware-2025.01.ebuild b/sys-firmware/sof-firmware/sof-firmware-2025.01.ebuild new file mode 100644 index 000000000000..c4abe411705d --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2025.01.ebuild @@ -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 +}