2021-03-27 13:58:57 +00:00
|
|
|
# Maintainer: Yassine Oudjana (Tooniis) <y.oudjana@protonmail.com>
|
|
|
|
pkgname=firmware-xiaomi-scorpio
|
2022-07-03 05:57:31 +00:00
|
|
|
pkgver=3
|
2021-03-27 13:58:57 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Xiaomi Mi Note 2"
|
|
|
|
url="https://gitlab.com/Tooniis/firmware-xiaomi-scorpio"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!strip !check !archcheck !tracedeps pmb:cross-native"
|
2021-03-27 13:58:57 +00:00
|
|
|
|
2022-07-03 05:57:31 +00:00
|
|
|
_commit="4c7763beb4de1fc4ff0da99e7fd43ea767fac2e7"
|
|
|
|
source="$pkgname-$_commit.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
2021-03-27 13:58:57 +00:00
|
|
|
|
2022-07-03 05:57:31 +00:00
|
|
|
_mbns="
|
|
|
|
a530_zap.mbn
|
|
|
|
adsp.mbn
|
|
|
|
mba.mbn
|
|
|
|
modem.mbn
|
|
|
|
slpi.mbn
|
|
|
|
venus.mbn
|
2021-03-27 13:58:57 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$_commit/"
|
2022-07-03 05:57:31 +00:00
|
|
|
|
|
|
|
# Install MBNs
|
|
|
|
for _i in $_mbns; do
|
|
|
|
install -Dm644 $_i "$pkgdir/lib/firmware/qcom/msm8996/scorpio/$_i"
|
|
|
|
done
|
|
|
|
|
|
|
|
# Install QCA6174 board firmware
|
|
|
|
install -Dm644 board-2.bin "$pkgdir/lib/firmware/postmarketos/ath10k/QCA6174/hw3.0/board-2.bin"
|
2021-03-27 13:58:57 +00:00
|
|
|
}
|
2022-07-03 05:57:31 +00:00
|
|
|
|
2021-05-22 12:55:32 +00:00
|
|
|
sha512sums="
|
2022-07-03 05:57:31 +00:00
|
|
|
b8be4f664608f88e8140c7182e855fbf5078d23445bba14cb2242a9ea785678ab88b4584b0dc35d6325693e911bdf3c1b8ff3913414c7a1f2e0eae75692a2e45 firmware-xiaomi-scorpio-4c7763beb4de1fc4ff0da99e7fd43ea767fac2e7.tar.gz
|
2021-05-22 12:55:32 +00:00
|
|
|
"
|