pmaports/device/testing/soc-qcom-sc7280/APKBUILD
Alexander Martinz d5b425cbd3
soc-qcom-sc7280: new aport (MR 4891)
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2024-05-01 09:51:05 +02:00

47 lines
896 B
Text

# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=soc-qcom-sc7280
pkgdesc="Common package for Qualcomm SC7280/SM7325/QCM6490 devices"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
options="!check !archcheck !tracedeps"
depends="
bootmac
linux-firmware-ath11k
msm-modem
msm-modem-uim-selection
pd-mapper
pd-mapper-openrc
swclock-offset
tqftpserv
tqftpserv-openrc
"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="
$pkgname-qbootctl
$pkgname-vulkan
"
package() {
mkdir -p "$pkgdir"
}
qbootctl() {
pkgdesc="Enable qbootctl mark-boot-successful service"
depends="
qbootctl
qbootctl-openrc
"
install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir "$subpkgdir"
}
vulkan() {
pkgdesc="Vulkan support for freedreno"
install_if="$pkgname vulkan-loader"
depends="mesa-vulkan-freedreno"
mkdir "$subpkgdir"
}