diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-12-25 10:59:45 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-12-25 10:59:45 +0100 |
commit | a4975cdbf5f112443e04b5a694c8fa43c3b89711 (patch) | |
tree | dc02b27865405b8ac5c92f9bdcd570b47cd631c7 /sys-firmware | |
parent | profiles/package.mask: mask dev-ruby/hiredis for removal (diff) | |
download | gentoo-a4975cdbf5f112443e04b5a694c8fa43c3b89711.tar.gz gentoo-a4975cdbf5f112443e04b5a694c8fa43c3b89711.tar.bz2 gentoo-a4975cdbf5f112443e04b5a694c8fa43c3b89711.zip |
sys-firmware/sof-firmware: add 2.2.3
Closes: https://bugs.gentoo.org/887141
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/sof-firmware/Manifest | 1 | ||||
-rw-r--r-- | sys-firmware/sof-firmware/sof-firmware-2.2.3.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index 4c9734fc2883..eaff12168804 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,3 +1,4 @@ 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.3.tar.gz 4358105 BLAKE2B 2b3bfd53b9c0207720068c0ac7639acaf653bb276c20f353396e1a01255839c34514c52640526dfa8f5cbc9229f75ba08363c40cf756b78f0b0c6b12a6e033c9 SHA512 c4e345d0932d1c607072feea41acf2f3a5b3694b0c468515a28889b6d0ba46775f91ef9edf91a321a3be056705dc8b4df9c836096c2e73063afcbc166ca10abc DIST sof-firmware-2.2.tar.gz 4211499 BLAKE2B c0ab39cba3ef3dd19b67d714b5a4e5a6a6cb3e8fb2d290c3fceadeb3f7dd96db986411184e16bca56bdd1905a697f8d416cd4aa5bdff90fe32e96713ff87bb71 SHA512 3cd06f6b8f8d6c3379b987cffa019a0d84263b8e00de40c18516c3e90745d5e150bdf71a8005b1ba704e44bf84d7030195e9c0ebfcd6e35228f4c14e9290cd95 diff --git a/sys-firmware/sof-firmware/sof-firmware-2.2.3.ebuild b/sys-firmware/sof-firmware/sof-firmware-2.2.3.ebuild new file mode 100644 index 000000000000..b51c9026bd32 --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2.2.3.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 +} |