pmaports/device/community/soc-qcom-sc7180/APKBUILD
Anton Bambura 2770d39f10
soc-qcom-sc7180: set non-strict iommu for eMMC, SD card and USB (MR 4526)
[ci:skip-build]: already built successfully in CI
2023-11-02 08:53:33 +01:00

39 lines
1,013 B
Text

# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=soc-qcom-sc7180
pkgdesc="Common package for Qualcomm Snapdragon 7cx devices"
pkgver=1.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
"
source="00-sc7180-nonstrict-iommu.sh"
package() {
mkdir -p "$pkgdir"
install -Dm755 "$srcdir"/00-sc7180-nonstrict-iommu.sh \
-t "$pkgdir"/usr/share/mkinitfs/hooks
}
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"
}
sha512sums="
8d76fc3ed580e5950bcb8561c08bf56c52b8693605dee04f174a49154e270b5ac6d4303bc00499864f30c352e9a0c06c449253e0b8ba974e3d85554f306c84fc 00-sc7180-nonstrict-iommu.sh
"