pmaports/device/testing/device-xiaomi-vayu/APKBUILD
Caleb Connolly 3ed9591e41
treewide: drop PMOS_NO_OUTPUT_REDIRECT (MR 5240)
This cmdline argument is now a no-op. Drop it everywhere and add a new
CI check to enforce this.

Adjust the deprecated "minimal" initramfs variant to use
pmos.debug-shell to enable logging instead. It doesn't /support/
dropping to a shell, so the variable takes on a different meaning. But
that's ok since it's at least more consistent.

[ci:ignore-count]
[ci:skip-vercheck]
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: kernel builds are very likely to go through now
2024-06-23 14:48:20 +02:00

63 lines
1.4 KiB
Text

# Maintainer: Arseniy Velikanov <adomerlee@gmail.com>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-vayu
pkgdesc="Xiaomi POCO X3 Pro"
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sm8150
mkbootimg
postmarketos-base
make-dynpart-mappings
"
makedepends="devicepkg-dev"
source="
deviceinfo
phoc.ini
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-phosh
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Firmware for GPU, Audio, Modem, WiFi, etc."
depends="
firmware-xiaomi-vayu-adreno
firmware-xiaomi-vayu-adsp
firmware-xiaomi-vayu-cdsp
firmware-xiaomi-vayu-touchscreen
firmware-xiaomi-vayu-wlan
firmware-xiaomi-vayu-modem
firmware-xiaomi-vayu-ath10k
msm-modem
pd-mapper
tqftpserv
"
install="$subpkgname.post-install"
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname=$pkgver-r$pkgrel phosh"
install -Dm644 "$srcdir"/phoc.ini \
"$subpkgdir"/etc/phosh/phoc.ini
}
sha512sums="
c33f838120dc3c2588287aa3fc6a5180b94445456ea6efaf221f88366a42fdf7daa8c373c8ac20e6c5bdab025e13328227ffb1394d4fd1077eb95203fbeb477e deviceinfo
eef80842915acfa8d8bcbd9ac9fcb057ad912d582e4a78b8ddd9774ef688971d2878b83f4a54adaa1d613dce8645a85ffb25e8a98c55e32a91dfe73002e91fe0 phoc.ini
"