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>
This commit is contained in:
Raymond Hackley
2026-07-26 16:03:37 +00:00
parent 4394d90b2e
commit 9a0cfba486
4 changed files with 9 additions and 14 deletions
@@ -1,18 +1,20 @@
# Archived: unmaintained
# Reference: <https://postmarketos.org/devicepkg>
maintainer=""
maintainer="Raymond Hackley <wonderfulshrinemaidenofparadise@postmarketos.org>"
pkgname=device-qcom-msm8909
pkgdesc="Generic device package for various Qualcomm MSM8905/MSM8909/MSM8916-based devices"
pkgver=5
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-msm8909
soc-qcom-msm8916
"
makedepends="devicepkg-dev"
source="
@@ -20,7 +22,6 @@ source="
kernel-cmdline.conf
modules-initfs
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
@@ -28,20 +29,14 @@ build() {
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi/BT/Modem/Video firmware"
depends="msm-firmware-loader firmware-qcom-adreno-a300 firmware-qcom-db410c-wcnss-nv"
mkdir "$subpkgdir"
# 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 "$subpkgdir"/lib/firmware/wlan/prima/
ln -s /lib/firmware/qcom/apq8016/WCNSS_qcom_wlan_nv_sbc.bin \
"$subpkgdir"/lib/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
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="