2023-07-14 15:38:12 +00:00
|
|
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
|
|
|
pkgname=soc-qcom-sc7180
|
|
|
|
pkgdesc="Common package for Qualcomm Snapdragon 7cx devices"
|
2023-12-20 08:11:49 +00:00
|
|
|
pkgver=2
|
2023-07-14 15:38:12 +00:00
|
|
|
pkgrel=0
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck !tracedeps"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2023-12-20 08:11:49 +00:00
|
|
|
$pkgname-nonfree-firmware-woa:nonfree_firmware_woa
|
2023-07-14 15:38:12 +00:00
|
|
|
$pkgname-vulkan
|
|
|
|
"
|
2023-11-01 01:54:36 +00:00
|
|
|
source="00-sc7180-nonstrict-iommu.sh"
|
2023-07-14 15:38:12 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
2023-11-01 01:54:36 +00:00
|
|
|
|
|
|
|
install -Dm755 "$srcdir"/00-sc7180-nonstrict-iommu.sh \
|
|
|
|
-t "$pkgdir"/usr/share/mkinitfs/hooks
|
2023-07-14 15:38:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Modem, WiFi firmware"
|
|
|
|
depends="rmtfs rmtfs-openrc"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2023-12-20 08:11:49 +00:00
|
|
|
nonfree_firmware_woa() {
|
|
|
|
pkgdesc="Modem, WiFi firmware"
|
|
|
|
depends="
|
|
|
|
$pkgname-nonfree-firmware
|
|
|
|
pd-mapper
|
|
|
|
pd-mapper-openrc
|
|
|
|
tqftpserv
|
|
|
|
tqftpserv-openrc
|
|
|
|
"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-07-14 15:38:12 +00:00
|
|
|
vulkan() {
|
|
|
|
pkgdesc="Vulkan support for freedreno"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
|
|
|
|
depends="mesa-vulkan-freedreno"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2023-11-01 01:54:36 +00:00
|
|
|
sha512sums="
|
|
|
|
8d76fc3ed580e5950bcb8561c08bf56c52b8693605dee04f174a49154e270b5ac6d4303bc00499864f30c352e9a0c06c449253e0b8ba974e3d85554f306c84fc 00-sc7180-nonstrict-iommu.sh
|
|
|
|
"
|