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 0591E15800D for ; Sat, 8 Jul 2023 10:56:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A068E0874; Sat, 8 Jul 2023 10:56:58 +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 0B105E0874 for ; Sat, 8 Jul 2023 10:56:58 +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 1B96A340DF0 for ; Sat, 8 Jul 2023 10:56:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77DA7A76 for ; Sat, 8 Jul 2023 10:56:55 +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: <1688813805.eb79e99125ba30a0ef092447dc9396bf03ba0a9f.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-2.2.6.ebuild X-VCS-Directories: sys-firmware/sof-firmware/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: eb79e99125ba30a0ef092447dc9396bf03ba0a9f X-VCS-Branch: master Date: Sat, 8 Jul 2023 10:56:55 +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: 3f70a72d-d7d0-48c9-9a8e-7eb1c0d477ed X-Archives-Hash: 3037b4571bb71c3a37f20a4b8033d047 commit: eb79e99125ba30a0ef092447dc9396bf03ba0a9f Author: Pacho Ramos gentoo org> AuthorDate: Sat Jul 8 10:55:59 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Jul 8 10:56:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb79e991 sys-firmware/sof-firmware: add 2.2.6 Signed-off-by: Pacho Ramos gentoo.org> sys-firmware/sof-firmware/Manifest | 1 + .../sof-firmware/sof-firmware-2.2.6.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index 4b888a72f135..8d6cc33b5a00 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,3 +1,4 @@ DIST sof-firmware-2.2.3.tar.gz 4358105 BLAKE2B 2b3bfd53b9c0207720068c0ac7639acaf653bb276c20f353396e1a01255839c34514c52640526dfa8f5cbc9229f75ba08363c40cf756b78f0b0c6b12a6e033c9 SHA512 c4e345d0932d1c607072feea41acf2f3a5b3694b0c468515a28889b6d0ba46775f91ef9edf91a321a3be056705dc8b4df9c836096c2e73063afcbc166ca10abc DIST sof-firmware-2.2.4.tar.gz 4367865 BLAKE2B cf2896095597ff9a33090307333289d87ea9024f70cd3fd3d1c86232a47ffd95972264754ea6a67c5f57bce33267bb93ab332cd2cd44c96a58c970a176d5fabb SHA512 f631bedbc5cceb0e3a668264c11f4e41f09f140ef909ac2557c4965a0b56deb00fa48ab06987fd2fd06eb97a35bc90342c5d7234d43390257bbd0942a70ce29a DIST sof-firmware-2.2.5.tar.gz 4381857 BLAKE2B 681ffbc16d983b795556b00881d59d2a0ba258f89482d6e136ddb61345718802d1b3f7fcc494091337f42f9377a8831d890e2c5de140f083e223f29cc5936742 SHA512 c8a5f846c6ca39b39c1160aaf8c607f301b4e153dadb337b0d3a99c5993a933948a2c2bd80950e6459da4d707c9a5100c11b868d11695bbb7ca56bf86f7fa9db +DIST sof-firmware-2.2.6.tar.gz 4394096 BLAKE2B 8fa0fb97cfdaa13b30f34f46789bbb1700f4a3be994f11a55226bf617c9ade7ccde931eeb2f263448e355e82f281bbb70c66624a71645062cdfb68bd81a9d3a1 SHA512 33a836fdc9006aead24e14c15703040164b0878d48c6dd32f0a6ae558c99a43c768eb793e308550fd32dfb0e0f93783cff6c42f2618557ebac2a057425115e9e diff --git a/sys-firmware/sof-firmware/sof-firmware-2.2.6.ebuild b/sys-firmware/sof-firmware/sof-firmware-2.2.6.ebuild new file mode 100644 index 000000000000..4bb0bf958007 --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2.2.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 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-v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/sof-bin-v${PV} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# Needed for sof-ctl +RDEPEND="media-libs/alsa-lib" + +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" v${PV} || die +} + +pkg_preinst() { + local sofpath="${EROOT}/lib/firmware/intel/sof" + if [[ ! -L "${sofpath}" && -d "${sofpath}" ]] ; then + rm -r "${sofpath}" || die + fi +}