firmware-xiaomi-scorpio: new aport (MR 2063)

This commit is contained in:
Yassine Oudjana 2021-03-27 17:58:57 +04:00
parent d44da6db7d
commit 45cf222a72
No known key found for this signature in database
GPG key ID: 8642571587897EA1
2 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# Maintainer: Yassine Oudjana (Tooniis) <y.oudjana@protonmail.com>
pkgname=firmware-xiaomi-scorpio
pkgver=1
pkgrel=0
pkgdesc="Firmware for Xiaomi Mi Note 2"
url="https://gitlab.com/Tooniis/firmware-xiaomi-scorpio"
arch="aarch64"
license="proprietary"
options="!strip !check !archcheck"
_commit="580520e30f5139e6536d3a61fec6390ba3654ded"
source="
$pkgname.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz
firmware.files
"
package() {
cd "$srcdir/$pkgname-$_commit/"
while IFS="" read -r _i || [ -n "$_i" ]; do
[ ! -d $(dirname $_i) ] && mkdir -p $(dirname $_i)
echo $_i
install -Dm644 $_i "$pkgdir/$_i"
done < "$srcdir/firmware.files"
}
sha512sums="ce7acba4c417b60730af73091a8ba17c040dce55f46dc4c089e36a35c6a9c2144cad7ee56277fcbd1b23da9a4957ba95355a9e97154897d3c71c82e9ca6253d1 firmware-xiaomi-scorpio.tar.gz
d6174e6a0364a5639c537895fe2f3a50a9c34568f3376a59dd7b17652943a72f277b953a1c6bdcece60acbb992013732b2ad8b365f2b7628a8e625e0e4ab08d3 firmware.files"

View file

@ -0,0 +1,46 @@
./lib/firmware/qcom/a530_pfp.fw
./lib/firmware/qcom/a530_pm4.fw
./lib/firmware/qcom/a530v3_gpmu.fw2
./lib/firmware/qcom/a530v3_seq.fw2
./lib/firmware/qcom/a530_zap.b00
./lib/firmware/qcom/a530_zap.b01
./lib/firmware/qcom/a530_zap.b02
./lib/firmware/qcom/a530_zap.mdt
./lib/firmware/qcom/venus-4.2/venus.mdt
./lib/firmware/qcom/venus-4.2/venus.b00
./lib/firmware/qcom/venus-4.2/venus.b01
./lib/firmware/qcom/venus-4.2/venus.b02
./lib/firmware/qcom/venus-4.2/venus.b03
./lib/firmware/qcom/venus-4.2/venus.b04
./lib/firmware/adsp.mdt
./lib/firmware/adsp.b00
./lib/firmware/adsp.b01
./lib/firmware/adsp.b02
./lib/firmware/adsp.b03
./lib/firmware/adsp.b04
./lib/firmware/adsp.b05
./lib/firmware/adsp.b06
./lib/firmware/adsp.b08
./lib/firmware/adsp.b09
./lib/firmware/mba.mbn
./lib/firmware/modem.mdt
./lib/firmware/modem.b00
./lib/firmware/modem.b01
./lib/firmware/modem.b02
./lib/firmware/modem.b03
./lib/firmware/modem.b04
./lib/firmware/modem.b05
./lib/firmware/modem.b06
./lib/firmware/modem.b07
./lib/firmware/modem.b08
./lib/firmware/modem.b09
./lib/firmware/modem.b10
./lib/firmware/modem.b11
./lib/firmware/modem.b12
./lib/firmware/modem.b13
./lib/firmware/modem.b15
./lib/firmware/modem.b16
./lib/firmware/modem.b17
./lib/firmware/modem.b18
./lib/firmware/modem.b19
./lib/firmware/modem.b20