2019-07-12 19:42:56 +00:00
|
|
|
pkgname=firmware-wileyfox-crackling
|
2019-12-08 21:45:44 +00:00
|
|
|
pkgver=2
|
2019-07-12 19:42:56 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Wileyfox Swift"
|
|
|
|
url="https://rizzotherat.gitlab.io/firmware/"
|
2019-12-08 21:45:44 +00:00
|
|
|
subpackages="$pkgname-modem $pkgname-venus $pkgname-wcnss"
|
2019-07-12 19:42:56 +00:00
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
2019-07-12 19:42:56 +00:00
|
|
|
source="https://rizzotherat.gitlab.io/firmware/crackling.tar.xz"
|
|
|
|
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
2019-12-08 21:45:44 +00:00
|
|
|
modem() {
|
|
|
|
pkgdesc="Wileyfox Swift modem firmware"
|
|
|
|
install -Dm644 "$srcdir"/mba.mbn -t "$subpkgdir/$_fwdir"
|
|
|
|
install -Dm644 "$srcdir"/modem.* -t "$subpkgdir/$_fwdir"
|
|
|
|
}
|
|
|
|
|
2019-07-12 19:42:56 +00:00
|
|
|
venus() {
|
|
|
|
pkgdesc="Wileyfox Swift video firmware"
|
|
|
|
install -Dm644 "$srcdir"/venus.* -t "$subpkgdir/$_fwdir"/qcom/venus-1.8
|
|
|
|
}
|
|
|
|
|
|
|
|
wcnss() {
|
|
|
|
pkgdesc="Wileyfox Swift WiFi/BT firmware"
|
|
|
|
cd "$srcdir"
|
|
|
|
install -Dm644 wcnss.* -t "$subpkgdir/$_fwdir"
|
|
|
|
install -Dm644 WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="44e5c6d2ab28576548689bf43ecf5ac0a2ee42a49e0f993a459a59f80063775a00976bfe1a7db8d82ff82b92bf502832bf1c61ab456a131696f2fa5e09af16b3 crackling.tar.xz"
|