8d17220fb5
It makes more sense here as it's also signed by OnePlus (instead of just Qualcomm) and is expected to be here since linux-postmarketos-qcom-msm8998>=5.16.0_rc6.
43 lines
1.8 KiB
Text
43 lines
1.8 KiB
Text
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
|
|
pkgname=firmware-oneplus-msm8998
|
|
pkgver=10.0.1
|
|
pkgrel=1
|
|
_commit="a1a0dfd9be6fe250559c01678569e5295a4c335d"
|
|
pkgdesc="Firmware for OnePlus 5/5T"
|
|
url="https://github.com/JamiKettunen/firmware-mainline-oneplus5"
|
|
# Conflicts with ath10k/WCN3990/hw1.0/firmware-5.bin, qca/cr{btfw21.tlv,nv21.bin} & qcom/a530_p{fp,m4}.fw
|
|
replaces="linux-firmware-ath10k linux-firmware-qca linux-firmware-qcom"
|
|
arch="aarch64"
|
|
# soc-qcom-sdm845-nonfree-firmware is also applicable to msm8998
|
|
depends="soc-qcom-sdm845-nonfree-firmware qcom-diag"
|
|
install="$pkgname.post-install"
|
|
license="proprietary"
|
|
options="!check !archcheck !strip !tracedeps"
|
|
source="
|
|
$pkgname-$_commit.tar.gz::https://github.com/JamiKettunen/firmware-mainline-oneplus5/archive/$_commit.tar.gz
|
|
30-gpu-firmware.files
|
|
firmware.files
|
|
"
|
|
subpackages="$pkgname-initramfs:firmware_initramfs"
|
|
builddir="$srcdir/firmware-mainline-oneplus5-$_commit"
|
|
|
|
package() {
|
|
while IFS="" read -r fw; do
|
|
install -Dm644 "$fw" "$pkgdir/lib/firmware/$fw"
|
|
done < "$srcdir"/firmware.files
|
|
}
|
|
|
|
firmware_initramfs() {
|
|
pkgdesc="Files to be included in the initramfs to support osk-sdl"
|
|
depends="$pkgname mesa-egl mesa-gbm"
|
|
install_if="$pkgname"
|
|
|
|
install -Dm644 "$srcdir"/30-gpu-firmware.files \
|
|
"$subpkgdir"/etc/postmarketos-mkinitfs/files/30-gpu-firmware.files
|
|
}
|
|
|
|
sha512sums="
|
|
c8997e5b2fde1c57651234be63f84b6f8d62f29fc8b55d8ebb8268cb7636241f7f5d11609bbcae71bd734eca9fd857330755979ad3e432a0c7bc6f3b034ea710 firmware-oneplus-msm8998-a1a0dfd9be6fe250559c01678569e5295a4c335d.tar.gz
|
|
c29e0abb08dd345d88223e29e49290226d0df63470a809ef3c933f7f088f709fd54da6d01c9a7c249b42e84fb86ca39a20a38e5055d3d1c53f37e4a3ab892a16 30-gpu-firmware.files
|
|
b1914c193421eb3cfd49f1cd06e82693a4b895b31381bf423215741a4a8679f290cf6720cedf264696392524ea2899fc5287ef0de9412c7a1e910451dcdf9513 firmware.files
|
|
"
|