mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 18:12:39 +01:00
sys-firmware/sof-firmware: add sof-firmware 1.6.1
This commit is contained in:
27
sys-firmware/sof-firmware/sof-firmware-1.6.1.ebuild
Normal file
27
sys-firmware/sof-firmware/sof-firmware-1.6.1.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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/archive/stable-v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/sof-bin-stable-v${PV}
|
||||
|
||||
src_compile() {
|
||||
sed -i -e '2i set -e\n' go.sh || die
|
||||
# fix missing sof-jsl from v1.6.1
|
||||
sed -i -e '/sof-jsl.ri$/d' go.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p ${D}/lib/firmware || die
|
||||
SOF_VERSION=v${PV} ROOT=${D} ${S}/go.sh || die
|
||||
}
|
||||
Reference in New Issue
Block a user