soc-qcom-sc8180x: new aport (MR 3838)
This commit is contained in:
parent
a08bd157da
commit
5f769995ae
3 changed files with 47 additions and 0 deletions
41
device/testing/soc-qcom-sc8180x/APKBUILD
Normal file
41
device/testing/soc-qcom-sc8180x/APKBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=soc-qcom-sc8180x
|
||||
pkgdesc="Common package for Qualcomm 8cx devices"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="BSD-3-Clause"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck !tracedeps"
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-vulkan
|
||||
"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Modem, WiFi and GPU Firmware"
|
||||
depends="
|
||||
qrtr
|
||||
qrtr-openrc
|
||||
pd-mapper
|
||||
pd-mapper-openrc
|
||||
tqftpserv
|
||||
tqftpserv-openrc
|
||||
rmtfs
|
||||
rmtfs-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,5 @@
|
|||
#!/bin/sh
|
||||
rc-update add qrtr-ns boot
|
||||
rc-update add rmtfs boot
|
||||
rc-update add tqftpserv boot
|
||||
rc-update add pd-mapper boot
|
|
@ -0,0 +1 @@
|
|||
soc-qcom-sc8180x-nonfree-firmware.post-install
|
Loading…
Reference in a new issue