diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-10-01 19:44:49 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-10-01 19:44:49 +0200 |
commit | 63b0557ce5c1f934892f13f2b3018b5bd7f62254 (patch) | |
tree | f67ddd910e43bed59407af486cdbccc7037eed98 /sys-firmware | |
parent | media-fonts/noto: drop 20230531 (diff) | |
download | gentoo-63b0557ce5c1f934892f13f2b3018b5bd7f62254.tar.gz gentoo-63b0557ce5c1f934892f13f2b3018b5bd7f62254.tar.bz2 gentoo-63b0557ce5c1f934892f13f2b3018b5bd7f62254.zip |
sys-firmware/sof-firmware: add 2023.09
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-2023.09.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-firmware/sof-firmware/Manifest b/sys-firmware/sof-firmware/Manifest index cd99a2358618..32f0482a5db3 100644 --- a/sys-firmware/sof-firmware/Manifest +++ b/sys-firmware/sof-firmware/Manifest @@ -1,3 +1,4 @@ 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 +DIST sof-firmware-2023.09.tar.gz 5451579 BLAKE2B 7535559c6833bd19c15c1f6e6bd88ee5c13ed79f93e0772cdc9df335cf4e89938969bd9babdf8c6cc1321af27e6704477f3a3db3c46295879216fd43358cf5b4 SHA512 7ef81549c76164629400622fa1b512b6061a37b9ba14383d69ac10b2e7dc35c4f35bd6444b15e725c749c23564ec84646960fedcd776b5c2ec11bda3933a633d diff --git a/sys-firmware/sof-firmware/sof-firmware-2023.09.ebuild b/sys-firmware/sof-firmware/sof-firmware-2023.09.ebuild new file mode 100644 index 000000000000..ec08a9cf1a8f --- /dev/null +++ b/sys-firmware/sof-firmware/sof-firmware-2023.09.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-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/sof-bin-${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" || die +} + +pkg_preinst() { + local sofpath="${EROOT}/lib/firmware/intel/sof" + if [[ ! -L "${sofpath}" && -d "${sofpath}" ]] ; then + rm -r "${sofpath}" || die + fi +} |