2020-11-13 12:32:10 +00:00
|
|
|
# Maintainer: Sireesh Kodali <scarface@disroot.org>
|
|
|
|
pkgname=firmware-motorola-potter
|
2024-01-01 20:55:05 +00:00
|
|
|
pkgver=2
|
2024-03-27 20:07:00 +00:00
|
|
|
pkgrel=1
|
2020-11-13 12:32:10 +00:00
|
|
|
pkgdesc="Firmware for Motorola Moto G5 Plus"
|
|
|
|
url="https://github.com/scarface-one/firmware-motorola-potter"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !tracedeps"
|
2020-11-13 12:32:10 +00:00
|
|
|
_commit="cce83e64585c036facd4cef39f47bc23d18ba2e9"
|
2024-01-01 20:55:05 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit/lib/firmware/postmarketos"
|
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2024-03-27 20:07:00 +00:00
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
2020-11-13 12:32:10 +00:00
|
|
|
|
2024-01-01 20:55:05 +00:00
|
|
|
source="
|
|
|
|
$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz
|
2020-11-13 12:32:10 +00:00
|
|
|
moto-modem-rfs-setup.openrc
|
2024-01-01 20:55:05 +00:00
|
|
|
"
|
2020-11-13 12:32:10 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm755 $srcdir/moto-modem-rfs-setup.openrc "$pkgdir"/etc/init.d/moto-modem-rfs-setup
|
|
|
|
|
2024-01-01 20:55:05 +00:00
|
|
|
# GPU Firmware files
|
2024-03-27 20:07:00 +00:00
|
|
|
install -Dm644 a506_zap.b02 -t "$pkgdir/$_fwdir"
|
|
|
|
install -Dm644 a506_zap.mdt -t "$pkgdir/$_fwdir"
|
2024-01-01 20:55:05 +00:00
|
|
|
|
|
|
|
# WLAN Firmware
|
|
|
|
install -Dm644 wlan/prima/WCNSS_qcom_wlan_nv.bin -t "$pkgdir/$_fwdir/wlan/prima"
|
2020-11-13 12:32:10 +00:00
|
|
|
}
|
2024-01-01 20:55:05 +00:00
|
|
|
sha512sums="
|
|
|
|
5a35ff1b567b672585f761eddbc772163f52b312c1e94410eff4b1d333852857a2f87769a45f47f7bcff373bdd5b062c3d16110e0211d85f83a7b4c6c78f6d3c firmware-motorola-potter-cce83e64585c036facd4cef39f47bc23d18ba2e9.tar.gz
|
2020-11-13 12:32:10 +00:00
|
|
|
d4fd0f3406c9f004e9cae7bc500c5713aab75f102f8e3ea1af820865f01eb03def01cd9ed3e8a184c7dfc22ab419628fad17957a3782885d96eb36e94461e842 moto-modem-rfs-setup.openrc
|
2024-01-01 20:55:05 +00:00
|
|
|
"
|