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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F6EC158042 for ; Fri, 8 Nov 2024 18:46:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 526B8E0788; Fri, 8 Nov 2024 18:46:50 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B532E0788 for ; Fri, 8 Nov 2024 18:46:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 822D7335C31 for ; Fri, 8 Nov 2024 18:46:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15768197F for ; Fri, 8 Nov 2024 18:46:48 +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: <1731091600.2f77b4a76e9a0dfbbeb7fd0f780e128fb6e6721e.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.1.ebuild X-VCS-Directories: sys-firmware/sof-firmware/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 2f77b4a76e9a0dfbbeb7fd0f780e128fb6e6721e X-VCS-Branch: master Date: Fri, 8 Nov 2024 18:46:48 +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: aae91741-e4fc-4a86-8285-3c969dda2b02 X-Archives-Hash: c519dd34a4182e06c72a571e06775339 commit: 2f77b4a76e9a0dfbbeb7fd0f780e128fb6e6721e Author: Pacho Ramos gentoo org> AuthorDate: Fri Nov 8 18:22:49 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Nov 8 18:46:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f77b4a7 sys-firmware/sof-firmware: add 2024.09.1 Signed-off-by: Pacho Ramos gentoo.org> sys-firmware/sof-firmware/Manifest | 1 + .../sof-firmware/sof-firmware-2024.09.1.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index 1f209b56980c..8d00933e9d13 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,3 +1,4 @@ DIST sof-firmware-2024.03.tar.gz 8161590 BLAKE2B 23d73ff3ab30b5134086bb21e606805a7d9667adf1a5598a3d31068ba0254dc4c34464ee3913eb3530a8124e3614eff9ba28fa731e9816b28980ea05834c1037 SHA512 1e9891d3891f5a4413a77a68ea6d3a2e6ead8c1a67eaa7e9aaf30871753617ffce19bd3b85ebcbb617e606646f6aa0e1dafee5279c294ec72ef4b2885e009f72 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.tar.gz 10196135 BLAKE2B 0136b4ef3500bc09c9411c216c5785c6dc11a1986597b495554b5fa526f843eb19084f15bf11367a3ac942934d1fdc358588cebaa2bcdd8cb74f407a268efdd6 SHA512 b8a199afba7289a39485662741fbf8ecb47e9c91e461478e3e2d523c12986bfddf8a1f61b4ba0a2c689008de8808a2df00f05aacb541a2fb16a6a5dbd7481ecf diff --git a/sys-firmware/sof-firmware/sof-firmware-2024.09.1.ebuild b/sys-firmware/sof-firmware/sof-firmware-2024.09.1.ebuild new file mode 100644 index 000000000000..105eaae58f37 --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2024.09.1.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 +}