pmaports/device/testing/soc-qcom-sdm660/APKBUILD
Barnabás Czémán 43133df4ac soc-qcom-sdm660: add rmtfs and qcom-diag to rproc package (MR 4897)
Add rmtfs and qcom-diag and bootmac to rproc package
to make wifi, modem and bluetooth work.
Add swclock-offset as a dependency.
2024-06-12 15:45:04 +00:00

44 lines
834 B
Text

# Maintainer: Max Buchholz <max.buchholz@gmx.de>
pkgname=soc-qcom-sdm660
pkgdesc="Common package for Qualcomm SDM630/636/660 devices"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
options="!check !archcheck !tracedeps pmb:cross-native"
depends="swclock-offset"
subpackages="
$pkgname-rproc
$pkgname-nonfree-firmware:nonfree_firmware
"
package() {
mkdir -p "$pkgdir"
}
rproc() {
pkgdesc="Modem and Wifi services and configuration"
depends="
bootmac
msm-modem
qcom-diag
qcom-diag-openrc
rmtfs
rmtfs-openrc
tqftpserv
tqftpserv-openrc
"
install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir "$subpkgdir"
}
nonfree_firmware() {
pkgdesc="Non-free firmware for GPU and Bluetooth"
depends="
linux-firmware-qca
linux-firmware-qcom
"
mkdir "$subpkgdir"
}