soc-qcom-sc7180: new aport (MR 4250)

Qualcomm Snapdragon 7c (sc7180) common package.
This commit is contained in:
Anton Bambura 2023-07-14 18:38:12 +03:00 committed by Pablo Correa Gómez
parent caa4101bfb
commit 024a301ebe
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=soc-qcom-sc7180
pkgdesc="Common package for Qualcomm Snapdragon 7cx 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 firmware"
depends="rmtfs rmtfs-openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir "$subpkgdir"
}
vulkan() {
pkgdesc="Vulkan support for freedreno"
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
depends="mesa-vulkan-freedreno"
mkdir "$subpkgdir"
}

View file

@ -0,0 +1,2 @@
#!/bin/sh
rc-update add rmtfs boot

View file

@ -0,0 +1 @@
soc-qcom-sc7180-nonfree-firmware.post-install