soc-qcom-sc7280: new aport (MR 4891)

Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
This commit is contained in:
Alexander Martinz 2024-03-05 18:17:00 +01:00 committed by Luca Weiss
parent f18c7210ab
commit d5b425cbd3
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
5 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,47 @@
# 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"
}

View file

@ -0,0 +1,2 @@
#!/bin/sh
rc-update add qbootctl default

View file

@ -0,0 +1 @@
soc-qcom-sc7280-qbootctl.post-install

View file

@ -0,0 +1,3 @@
#!/bin/sh
rc-update add tqftpserv boot
rc-update add pd-mapper boot

View file

@ -0,0 +1 @@
soc-qcom-sc7280.post-install