2022-10-23 23:16:25 +00:00
|
|
|
# Maintainer: Joel Selvaraj <joelselvaraj.oss@gmail.com>
|
2020-04-13 19:56:53 +00:00
|
|
|
|
|
|
|
pkgname=firmware-xiaomi-beryllium
|
2023-08-17 09:20:54 +00:00
|
|
|
pkgver=7
|
|
|
|
pkgrel=0
|
2021-02-17 10:02:14 +00:00
|
|
|
pkgdesc="Firmware for Xiaomi Poco F1"
|
|
|
|
url="https://gitlab.com/sdm845-mainline/firmware-xiaomi-beryllium"
|
2020-04-13 19:56:53 +00:00
|
|
|
arch="aarch64"
|
2022-03-17 07:33:15 +00:00
|
|
|
depends="linux-firmware-qcom linux-firmware-qca linux-firmware-ath10k"
|
2020-04-13 19:56:53 +00:00
|
|
|
license="proprietary"
|
2022-03-17 07:33:15 +00:00
|
|
|
options="!strip !check !archcheck !tracedeps pmb:cross-native"
|
2020-04-13 19:56:53 +00:00
|
|
|
|
2021-09-26 09:27:37 +00:00
|
|
|
_commit="b4937f06a796cd30b8ddecd6cf7ed416eecc06a0"
|
2023-08-17 09:20:54 +00:00
|
|
|
_board2_commit="fc750b3f1bda29c08cfe9329eb781c0ae3608456"
|
2020-04-13 19:56:53 +00:00
|
|
|
|
2021-02-17 10:02:14 +00:00
|
|
|
source="$pkgname.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz
|
2023-08-17 09:20:54 +00:00
|
|
|
firmware.files
|
|
|
|
board-2.bin::https://gitlab.com/dylanvanassche/ath10k-firmware/-/raw/$_board2_commit/linux-firmware/board-2.bin"
|
2020-04-13 19:56:53 +00:00
|
|
|
|
|
|
|
package() {
|
2021-02-17 10:02:14 +00:00
|
|
|
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"
|
2023-08-17 09:20:54 +00:00
|
|
|
|
|
|
|
# Install board-2.bin until upstream
|
|
|
|
install -Dm644 "$srcdir"/board-2.bin \
|
|
|
|
"$pkgdir"/lib/firmware/postmarketos/ath10k/WCN3990/hw1.0/board-2.bin
|
2020-04-13 19:56:53 +00:00
|
|
|
}
|
|
|
|
|
2021-07-25 02:29:03 +00:00
|
|
|
sha512sums="
|
2021-09-26 09:27:37 +00:00
|
|
|
41fdd771fe73e31bdce6088fdeb7686205f61b9888612fa83ac914e4bb524d22bba63894376a671d3acb19e90316a3d2eafdfb5425360ba53e41a38b9fd753ae firmware-xiaomi-beryllium.tar.gz
|
2022-06-17 12:55:55 +00:00
|
|
|
db32c8df77632e763c1ca3e80cee1ee2528c4986c944511c726add6e13fca6552ae63f6d436800439b7e615fd0c09f234888a68e4a6ff6663afe3dc593d6a7b0 firmware.files
|
2023-08-17 09:20:54 +00:00
|
|
|
a8eaab63f467553a65789a316d6f58cc15b0ad9bf3f698e6dbe51efa841db7f62a69d0c24b69da4f36de4a01dc29b723911d9cf17f925d3ce1170cbfa6b16029 board-2.bin
|
2021-07-25 02:29:03 +00:00
|
|
|
"
|