gjdwebserver-overlay/sys-firmware/pinephone-firmware/pinephone-firmware-20210809.ebuild

28 lines
941 B
Bash
Raw Normal View History

2021-08-09 14:01:14 +02:00
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Firmwares files for PinePhone"
HOMEPAGE="https://xff.cz/git/linux-firmware"
2021-08-09 14:11:12 +02:00
SRC_URI="https://xff.cz/git/linux-firmware/tree/ov5640_af.bin?id=4ec2645b007ba4c3f2962e38b50c06f274abbf7c -> ov5640_af.bin
https://xff.cz/git/linux-firmware/tree/anx7688-fw.bin?id=4ec2645b007ba4c3f2962e38b50c06f274abbf7c -> anx7688-fw.bin
2021-08-09 14:27:19 +02:00
https://xff.cz/git/linux-firmware/tree/rtl_bt/rtl8723cs_xx_fw.bin?id=4ec2645b007ba4c3f2962e38b50c06f274abbf7c -> rtl8723cs_xx-fw.bin
2021-08-09 14:01:14 +02:00
"
LICENSE="linux-fw-redistributable no-source-code"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
S="${WORKDIR}"
src_install() {
mkdir -p "${D}"/lib/firmware/ || die
2021-09-25 15:43:07 +02:00
mkdir -p "${D}"/lib/firmware/rtl_bt || die
2021-08-09 15:15:10 +02:00
insinto /lib/firmware/
doins "${DISTDIR}"/anx7688-fw.bin
doins "${DISTDIR}"/ov5640_af.bin
2021-09-25 15:43:07 +02:00
insinto /lib/firmware/rtl_bt
2021-08-09 15:15:10 +02:00
doins "${DISTDIR}"/rtl8723cs_xx-fw.bin
2021-08-09 14:01:14 +02:00
}