firmware/firmware-pine64-rtl8723bt: add -pine64-, cleanup, install license (MR 1362)
For most firmware packages we use a vendor- prefix to make it clear who has provided the firmware. The firmware-rtl8723bt package is only used for Pine64 devices and actually contains configs that are specific to Pine64 hardware (e.g. rtl8723bs_config-pine64.bin). Let's rename it to firmware-pine64-rtl8723bt to make this more clear. Also cleanup the APKBUILD a bit and provide the LICENSE file in a -doc subpackage so we can legally redistribute that firmware.
This commit is contained in:
parent
baa69a57f7
commit
1eff900dcb
5 changed files with 18 additions and 13 deletions
|
@ -4,7 +4,7 @@
|
|||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=device-pine64-pinephone
|
||||
pkgver=0.3
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="PINE64 PinePhone"
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
@ -72,7 +72,7 @@ package() {
|
|||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Wifi and Bluetooth firmware"
|
||||
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-rtl8723bt"
|
||||
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-pine64-rtl8723bt"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
sha512sums="712dbae8d8799ab251068863d0bc542e29dba7b8783685c1c56fac234c2b7f3f88c360b3bed511f9b83dfb46fc3bf67aa21c185d5d19427d0049c3f54ae4d19e deviceinfo
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-pine64-a64lts
|
||||
pkgdesc="PINE64 A64-LTS"
|
||||
pkgver=0.3
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -28,7 +28,7 @@ package() {
|
|||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Wifi and Bluetooth firmware"
|
||||
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-rtl8723bt"
|
||||
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-pine64-rtl8723bt"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-pine64-dontbeevil
|
||||
pkgdesc="PINE64 PinePhone Don't be evil devkit"
|
||||
pkgver=0.1
|
||||
pkgrel=17
|
||||
pkgrel=18
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -53,7 +53,7 @@ weston() {
|
|||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Wifi and Bluetooth firmware"
|
||||
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-rtl8723bt"
|
||||
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-pine64-rtl8723bt"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-pine64-pinetab
|
||||
pkgdesc="PINE64 PineTab"
|
||||
pkgver=0.1
|
||||
pkgrel=21
|
||||
pkgrel=22
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -85,7 +85,7 @@ package() {
|
|||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Bluetooth Firmware"
|
||||
depends="firmware-rtl8723bt"
|
||||
depends="firmware-pine64-rtl8723bt"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,18 +1,23 @@
|
|||
pkgname=firmware-rtl8723bt
|
||||
pkgname=firmware-pine64-rtl8723bt
|
||||
pkgver=0_git20181104
|
||||
pkgrel=0
|
||||
pkgdesc="Firmware for rtl8723bs and rtl8723cs"
|
||||
url="https://github.com/anarsoul/rtl8723bt-firmware/"
|
||||
subpackages="$pkgname-doc"
|
||||
arch="aarch64"
|
||||
license="proprietary"
|
||||
options="!check !strip !archcheck"
|
||||
_commit="39da5959deff5041160fa85e62dddb89066471b3"
|
||||
source="$pkgname-$_commit.tar.gz::https://github.com/anarsoul/rtl8723bt-firmware/archive/$_commit.tar.gz"
|
||||
builddir="$srcdir/rtl8723bt-firmware-$_commit"
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/rtl8723bt-firmware-$_commit
|
||||
mkdir -p "$pkgdir"/lib/firmware
|
||||
cp -r rtl_bt "$pkgdir"/lib/firmware
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# Not sure why this gets installed. Weird.
|
||||
rm "$pkgdir"/lib/firmware/Makefile
|
||||
|
||||
install -Dm644 LICENCE.rtlwifi_firmware.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
sha512sums="8c25196e68eca60e9c14d77a472335187706b1fa0a98da8b3c5afd4d08ea8d430b0ae3187080901bd6917531914096b18fe7e69c048a05140d44cd8689c941fb firmware-rtl8723bt-39da5959deff5041160fa85e62dddb89066471b3.tar.gz"
|
||||
sha512sums="8c25196e68eca60e9c14d77a472335187706b1fa0a98da8b3c5afd4d08ea8d430b0ae3187080901bd6917531914096b18fe7e69c048a05140d44cd8689c941fb firmware-pine64-rtl8723bt-39da5959deff5041160fa85e62dddb89066471b3.tar.gz"
|
Loading…
Reference in a new issue