2023-06-29 08:40:38 +00:00
|
|
|
# Maintainer: Max Buchholz <max.buchholz@gmx.de>
|
|
|
|
pkgname=soc-qcom-sdm660
|
|
|
|
pkgdesc="Common package for Qualcomm SDM630/636/660 devices"
|
2024-06-08 14:25:00 +00:00
|
|
|
pkgver=3
|
2023-06-29 08:40:38 +00:00
|
|
|
pkgrel=0
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck !tracedeps pmb:cross-native"
|
2024-03-09 11:58:25 +00:00
|
|
|
depends="swclock-offset"
|
2023-06-29 08:40:38 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-rproc
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2024-06-08 14:25:00 +00:00
|
|
|
source="sdm660-adreno-quirks.sh"
|
2023-06-29 08:40:38 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
2024-06-08 14:25:00 +00:00
|
|
|
|
|
|
|
install -Dm755 sdm660-adreno-quirks.sh -t "$pkgdir/etc/profile.d/"
|
2023-06-29 08:40:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rproc() {
|
|
|
|
pkgdesc="Modem and Wifi services and configuration"
|
|
|
|
depends="
|
2024-03-09 11:58:25 +00:00
|
|
|
bootmac
|
2023-06-29 08:40:38 +00:00
|
|
|
msm-modem
|
2024-03-09 11:58:25 +00:00
|
|
|
qcom-diag
|
|
|
|
qcom-diag-openrc
|
|
|
|
rmtfs
|
|
|
|
rmtfs-openrc
|
2023-06-29 08:40:38 +00:00
|
|
|
tqftpserv
|
|
|
|
tqftpserv-openrc
|
|
|
|
"
|
2024-03-09 11:58:25 +00:00
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
2023-06-29 08:40:38 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Non-free firmware for GPU and Bluetooth"
|
|
|
|
depends="
|
|
|
|
linux-firmware-qca
|
|
|
|
linux-firmware-qcom
|
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2024-06-08 14:25:00 +00:00
|
|
|
sha512sums="
|
|
|
|
51aa3f86fe461ee520ca181142ac12563897eea711530b9ca8c092f539c303b449e129336375d356dfdcf28333618c03a43bcf346f956e74ff99bee8f0012f3a sdm660-adreno-quirks.sh
|
|
|
|
"
|