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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 80141158041 for ; Sun, 7 Apr 2024 16:44:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0714E29E8; Sun, 7 Apr 2024 16:44:18 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 9903BE29E6 for ; Sun, 7 Apr 2024 16:44:18 +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 A462E343327 for ; Sun, 7 Apr 2024 16:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B76731662 for ; Sun, 7 Apr 2024 16:44:15 +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: <1712508233.c07572e7d4fea432b1364c98ca2c1f65450e0ac0.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.03.ebuild X-VCS-Directories: sys-firmware/sof-firmware/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: c07572e7d4fea432b1364c98ca2c1f65450e0ac0 X-VCS-Branch: master Date: Sun, 7 Apr 2024 16:44:15 +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: 6e6507ff-cc1f-4946-8805-f737eb4f4372 X-Archives-Hash: 73103d12ba3ac98b1b52756c58bd85f3 commit: c07572e7d4fea432b1364c98ca2c1f65450e0ac0 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 7 16:23:24 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 7 16:43:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07572e7 sys-firmware/sof-firmware: add 2024.03 Closes: https://bugs.gentoo.org/925179 Signed-off-by: Pacho Ramos gentoo.org> sys-firmware/sof-firmware/Manifest | 1 + .../sof-firmware/sof-firmware-2024.03.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index e5f413788abe..3069daf66e4f 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,2 +1,3 @@ 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 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..ac48a808c83e --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2024.03.ebuild @@ -0,0 +1,36 @@ +# 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" + +RDEPEND=" + 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 +} + +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 +}