Files
pmaports-rtwo/device/testing/device-qcom-msm8909/APKBUILD
T
Raymond Hackley 9a0cfba486 qcom-msm8909: maintain
remove nonfree-firmware
replace archived soc-qcom-msm8909 with soc-qcom-msm8916

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8894>
2026-07-26 16:03:37 +00:00

47 lines
1.5 KiB
Bash

# Reference: <https://postmarketos.org/devicepkg>
maintainer="Raymond Hackley <wonderfulshrinemaidenofparadise@postmarketos.org>"
pkgname=device-qcom-msm8909
pkgdesc="Generic device package for various Qualcomm MSM8905/MSM8909/MSM8916-based devices"
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
firmware-qcom-adreno-a300
firmware-qcom-db410c-wcnss-nv
linux-postmarketos-qcom-msm8916
msm-firmware-loader
postmarketos-base
soc-qcom-msm8916
"
makedepends="devicepkg-dev"
source="
deviceinfo
kernel-cmdline.conf
modules-initfs
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
# HACK: For devices that don't have a nv file in persist we
# temporarily link the db410c file to the expected location.
# It will be overriden if the file is in persist or when user
# installs the device-specific firmware packages.
mkdir -p "$pkgdir"/usr/lib/firmware/wlan/prima/
ln -s /usr/lib/firmware/qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin \
"$pkgdir"/usr/lib/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
}
sha512sums="
8ca731687f201f25c0ecb83901c0222f1f89db3b9f6f1ad5fd40745e3908a253b5ad9467cc64c94a27aa7c4ef5bfdd54f02f23b70c5a125e421d450839822f37 deviceinfo
37e1e5f8839b624ab3eb850a24ed4daeb61a651257a1fb593f49cb869323e5d1b339c831a18eb26a9d7bd0a618ea9eb2bb9bf3882133af5f2606a878e6d39c67 kernel-cmdline.conf
3c4ae8aad562270a6094add613912955bafed994e0df2f8842575fb4e38db0f21a57dc61fb772af418d1423512811e7f9f533c2e9b3f8edb657ed20f12ca2fc9 modules-initfs
"