pmaports/device/testing/soc-qcom-sc7180/APKBUILD
Anton Bambura 024a301ebe
soc-qcom-sc7180: new aport (MR 4250)
Qualcomm Snapdragon 7c (sc7180) common package.
2023-07-22 18:15:16 +02:00

32 lines
701 B
Text

# 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"
}