soc-qcom-sc7280: new aport (MR 4891)
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
This commit is contained in:
parent
f18c7210ab
commit
d5b425cbd3
5 changed files with 54 additions and 0 deletions
47
device/testing/soc-qcom-sc7280/APKBUILD
Normal file
47
device/testing/soc-qcom-sc7280/APKBUILD
Normal 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"
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
rc-update add qbootctl default
|
|
@ -0,0 +1 @@
|
|||
soc-qcom-sc7280-qbootctl.post-install
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
rc-update add tqftpserv boot
|
||||
rc-update add pd-mapper boot
|
1
device/testing/soc-qcom-sc7280/soc-qcom-sc7280.post-upgrade
Symbolic link
1
device/testing/soc-qcom-sc7280/soc-qcom-sc7280.post-upgrade
Symbolic link
|
@ -0,0 +1 @@
|
|||
soc-qcom-sc7280.post-install
|
Loading…
Reference in a new issue