pmaports/device/bluetooth-raspberry-pi/APKBUILD
Oliver Smith 9c777b2a6a device-raspberry-pi: use linux-firmware-brcm (#1583)
Alpine's firmware packages have been updated to include the latest
raspberry pi firmware. This commit adjusts our aports.

Details:
* remove obsolete `aports/temp/linux-firmware`
* `firmware/firmware-pi-bluetooth`: rename to `device/bluetooth-raspberry-pi`
  and remove firmware files (they are part of Alpine's `linux-firmware` now)
* `device-raspberry-pi`: depend on `bluetooth-raspberry-pi`
* `device-raspberry-pi`: note that Alpine's kernels depend non free firmware
* `device-raspberry-pi`: remove non free firmware subpackage
2018-06-27 22:18:34 +00:00

22 lines
962 B
Text

# Maintainer: He Yangxuan <yangxuan8282@gmail.com>
pkgname=bluetooth-raspberry-pi
pkgver=1
pkgrel=0
pkgdesc="Service and udev rule for built-in bluetooth on Raspberry Pi zero w, 3B, 3B plus"
url="https://github.com/RPi-Distro/bluez-firmware"
arch="noarch"
license="MIT"
depends="bluez bluez-deprecated"
install="$pkgname.post-install"
source="pi-bluetooth.openrc 50-bluetooth-hci-auto-poweron.rules"
options="!check"
package() {
cd "$srcdir"
install -Dm644 50-bluetooth-hci-auto-poweron.rules "$pkgdir"/etc/udev/rules.d/50-bluetooth-hci-auto-poweron.rules
install -Dm755 pi-bluetooth.openrc "$pkgdir"/etc/init.d/pi-bluetooth
}
sha512sums="34a50554466dd6096cbee9b14fc0d77b268b731cd45981e69394343dad25d6006dbe44bee30700d71b80c593d38699dfc870983ae7d862b9c09afb39c5d3b383 pi-bluetooth.openrc
511281ae8cbebd4390836ba83049a7fb793121d60ebd6c436bf36330e0aab738a827daf7fd6721cc71681e72b7ddaa581814264cc3bf759f07148fe5b657b981 50-bluetooth-hci-auto-poweron.rules"