pmaports/device/testing/soc-qcom-sdm660/APKBUILD
Alexey Minnekhanov c97eafc5b8 soc-qcom-sdm660: install Adreno GPU quirks script (MR 4897)
Install script into /etc/profile.d with workaround for mesa bugs.
This makes most SDM660 devices usable for general people out of the box.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-06-12 15:45:04 +00:00

50 lines
1.1 KiB
Text

# Maintainer: Max Buchholz <max.buchholz@gmx.de>
pkgname=soc-qcom-sdm660
pkgdesc="Common package for Qualcomm SDM630/636/660 devices"
pkgver=3
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
"
source="sdm660-adreno-quirks.sh"
package() {
mkdir -p "$pkgdir"
install -Dm755 sdm660-adreno-quirks.sh -t "$pkgdir/etc/profile.d/"
}
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"
}
sha512sums="
51aa3f86fe461ee520ca181142ac12563897eea711530b9ca8c092f539c303b449e129336375d356dfdcf28333618c03a43bcf346f956e74ff99bee8f0012f3a sdm660-adreno-quirks.sh
"