commit:     56abe2ab4fc689a0d41b10b72423334a1fd2e367
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  2 16:06:18 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Oct  2 17:00:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56abe2ab

sys-firmware/bluez-firmware: re-add package, add 1.2_p9_p20250503

bluez-firmware was previously last-rited and tree cleaned with
43b2500466a9 ("sys-firmware/bluez-firmware: treeclean"). This re-adds
the package using a new upstream (the same that Debian uses). The
package is the only source for some commonly used bluetooth-hardware
firmware, like the BCM 43430 used by the Rpi4b.

Bug: https://bugs.gentoo.org/926550
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-firmware/bluez-firmware/Manifest               |  1 +
 .../bluez-firmware-1.2_p9_p20250503.ebuild         | 41 ++++++++++++++++++++++
 sys-firmware/bluez-firmware/metadata.xml           | 12 +++++++
 3 files changed, 54 insertions(+)

diff --git a/sys-firmware/bluez-firmware/Manifest 
b/sys-firmware/bluez-firmware/Manifest
new file mode 100644
index 000000000000..6c6c0036552a
--- /dev/null
+++ b/sys-firmware/bluez-firmware/Manifest
@@ -0,0 +1 @@
+DIST bluez-firmware-1.2_p9_p20250503.tar.gz 603973 BLAKE2B 
ac120a5110f7dba0be15411018a3e135af5c20f2167f6aa783df45ffc2b59f0e1aa163a3882c645b94d1be5deff463406c75a71d0c51198a550194b0a9faa13a
 SHA512 
62246630d710dabcdc98443a27ecd610e1c3fb047fbaf0fd905cd9a2d9406c0b38c589e55adb6385f288c5a208bbaca220510da5df882ddaa39967724592adc9

diff --git a/sys-firmware/bluez-firmware/bluez-firmware-1.2_p9_p20250503.ebuild 
b/sys-firmware/bluez-firmware/bluez-firmware-1.2_p9_p20250503.ebuild
new file mode 100644
index 000000000000..718cb2b2eee8
--- /dev/null
+++ b/sys-firmware/bluez-firmware/bluez-firmware-1.2_p9_p20250503.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT_ID="2bbfb8438e824f5f61dae3f6ebb367a6129a4d63"
+
+DESCRIPTION="Firmware for Broadcom BCM, STLC2300, and Synaptics SYN Bluetooth 
chips"
+HOMEPAGE="https://github.com/RPi-Distro/bluez-firmware";
+SRC_URI="
+       https://github.com/RPi-Distro/bluez-firmware/archive/${COMMIT_ID}.tar.gz
+               -> ${P}.tar.gz
+"
+
+S="${WORKDIR}/bluez-firmware-${COMMIT_ID}"
+LICENSE="bluez-firmware GPL-2+"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm64"
+
+RESTRICT="bindist mirror"
+
+DOCS=( AUTHORS ChangeLog README )
+
+src_configure() {
+       econf --libdir=/lib
+}
+
+src_compile() {
+       :
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+
+       insinto /lib/firmware/brcm
+       doins debian/firmware/broadcom/*.hcd
+
+       insinto /lib/firmware/synaptics
+       doins debian/firmware/synaptics/*.hcd
+}

diff --git a/sys-firmware/bluez-firmware/metadata.xml 
b/sys-firmware/bluez-firmware/metadata.xml
new file mode 100644
index 000000000000..6837276c7e11
--- /dev/null
+++ b/sys-firmware/bluez-firmware/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <name>Florian Schmaus</name>
+               <email>[email protected]</email>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="github">RPi-Distro/bluez-firmware</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to