diff --git a/sys-firmware/bt-bcm20702/Manifest b/sys-firmware/bt-bcm20702/Manifest new file mode 100644 index 0000000..a3bea1b --- /dev/null +++ b/sys-firmware/bt-bcm20702/Manifest @@ -0,0 +1,2 @@ +DIST BCM20702A1-0a5c-21e6.hcd 35808 BLAKE2B 2a19ac35f7274051e6a30bb6012798a061ae28ab9b249babc637bdec0543fdc93c6a4ed9e6b025aa70da20816738e6cccc2e2a5d0c242894c062b8dfbae7010b SHA512 668ba62c67e8d460c440e6cc181f8be61a3f41e7b928527e8599c5d5e22490ea3ed9bb860845dd7570bbef5cdfabff39fcdc0dc4185a2188f889c6eaa2a092d8 +EBUILD bt-bcm20702-9999.ebuild 520 BLAKE2B 1535da3ab4fc367d55a0a5df45276ff49926ac4e39a478a48f34737893d6c9bdfcc5257739a03d263cb3cd5c603e0e45ceae935c5036dae091c0834b18ec4427 SHA512 850f88f696fc59be63b3e13ac852836e6241656d8864502da31d7c3ff495e5c776c3699645471995aff3487097f6d3d72812a3fa05914297126a1c13261ed66e diff --git a/sys-firmware/bt-bcm20702/bt-bcm20702-9999.ebuild b/sys-firmware/bt-bcm20702/bt-bcm20702-9999.ebuild new file mode 100644 index 0000000..6000f64 --- /dev/null +++ b/sys-firmware/bt-bcm20702/bt-bcm20702-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Firmware for BCM20702" +HOMEPAGE="" +SRC_URI="https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM20702A1-0a5c-21e6.hcd" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" + +RDEPEND="" +DEPEND="${RDEPEND}" + +# Only one file no sub directory +S="${WORKDIR}" + +src_unpack() +{ + cp "${DISTDIR}/${A}" "${WORKDIR}" || die +} + +src_install() +{ + insinto /lib/firmware/brcm + doins BCM20702A1-0a5c-21e6.hcd +}