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 01A06158020 for ; Fri, 4 Nov 2022 03:12:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46540E0794; Fri, 4 Nov 2022 03:12:00 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2994DE0794 for ; Fri, 4 Nov 2022 03:11:59 +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 C69813412D8 for ; Fri, 4 Nov 2022 03:11:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F27E3609 for ; Fri, 4 Nov 2022 03:11:56 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1667531491.90342f0c62ef958af76504e5e8945ca9e267f29a.mattst88@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.2.ebuild X-VCS-Directories: sys-firmware/sof-firmware/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 90342f0c62ef958af76504e5e8945ca9e267f29a X-VCS-Branch: master Date: Fri, 4 Nov 2022 03:11:56 +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: 75ce9516-c330-43db-8d09-8012b83174a0 X-Archives-Hash: f579df2f1e9fe58fa774a7a76c3ca7ef commit: 90342f0c62ef958af76504e5e8945ca9e267f29a Author: Douglas Agbeve agbeve com> AuthorDate: Thu Oct 27 10:40:41 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Nov 4 03:11:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90342f0c sys-firmware/sof-firmware: bump to v2.2.2 Signed-off-by: Douglas Agbeve agbeve.com> Closes: https://github.com/gentoo/gentoo/pull/27975 Signed-off-by: Matt Turner gentoo.org> sys-firmware/sof-firmware/Manifest | 1 + .../sof-firmware/sof-firmware-2.2.2.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index d9475a9d5110..4c9734fc2883 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,2 +1,3 @@ DIST sof-firmware-2.1.1.tar.gz 4056718 BLAKE2B 0246f6240504d3e8b609b402c41ffe6ed9b8350b6a31c6567851069354e5de5b4ca6d803e78fdde77cdaba7be87c8a8923b2d0fdd0544fd3b28d1e332cd59b63 SHA512 77e9562f67014d78b213fe428edef6a08dcc058a9a762da09a486c002c3aa0b907ea7c8ba6d4f88f5ddab5e564de06df9f2ed77206341a0fe2e1aaab1d9740ce +DIST sof-firmware-2.2.2.tar.gz 4116116 BLAKE2B e5722242e4b0130086ddb1b12d2adf29254bcae294f3ff49ac07dab3eab75e352a30346dd07c73ac51112b4c5234dc116de81251e01b146328cab673711f1f4c SHA512 6a3be7088f8a93a052563e040a588c600512d08d4b75ae5567db255e334997a6401d41863dcb416562eee07fef0bd2abe1d9d0403cd236ab007474f66271db50 DIST sof-firmware-2.2.tar.gz 4211499 BLAKE2B c0ab39cba3ef3dd19b67d714b5a4e5a6a6cb3e8fb2d290c3fceadeb3f7dd96db986411184e16bca56bdd1905a697f8d416cd4aa5bdff90fe32e96713ff87bb71 SHA512 3cd06f6b8f8d6c3379b987cffa019a0d84263b8e00de40c18516c3e90745d5e150bdf71a8005b1ba704e44bf84d7030195e9c0ebfcd6e35228f4c14e9290cd95 diff --git a/sys-firmware/sof-firmware/sof-firmware-2.2.2.ebuild b/sys-firmware/sof-firmware/sof-firmware-2.2.2.ebuild new file mode 100644 index 000000000000..b51c9026bd32 --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2.2.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 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 +}