diff options
author | Matt Turner <mattst88@gentoo.org> | 2024-01-25 14:04:41 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2024-01-28 12:35:19 -0500 |
commit | 2e3183e661fb7850b782fc3d1aea98070b5d44e9 (patch) | |
tree | 7ea74baaee37eba996d775ff198cda562ffa0ada /sys-firmware/sof-firmware/sof-firmware-2023.09.1.ebuild | |
parent | media-sound/alsa-utils: Drop old versions (diff) | |
download | gentoo-2e3183e661fb7850b782fc3d1aea98070b5d44e9.tar.gz gentoo-2e3183e661fb7850b782fc3d1aea98070b5d44e9.tar.bz2 gentoo-2e3183e661fb7850b782fc3d1aea98070b5d44e9.zip |
sys-firmware/sof-firmware: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-firmware/sof-firmware/sof-firmware-2023.09.1.ebuild')
-rw-r--r-- | sys-firmware/sof-firmware/sof-firmware-2023.09.1.ebuild | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/sys-firmware/sof-firmware/sof-firmware-2023.09.1.ebuild b/sys-firmware/sof-firmware/sof-firmware-2023.09.1.ebuild deleted file mode 100644 index f755adebdd3d..000000000000 --- a/sys-firmware/sof-firmware/sof-firmware-2023.09.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# 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 -} |