pmaports/device/community/device-oneplus-enchilada/APKBUILD
Caleb Connolly 4eb8b81d7b
community/device-(sdm845): various fixes (MR 4201)
* Use zstd:fast compression for the ramdisk
* Delete obselete phoc.ini config files
* Fixup kernel cmdline args
2023-07-20 16:35:18 +01:00

48 lines
1.2 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Caleb Connolly <caleb@connolly.tech>
pkgname=device-oneplus-enchilada
pkgdesc="OnePlus 6"
pkgver=10
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-sdm845
mkbootimg
postmarketos-base
postmarketos-update-kernel
soc-qcom-sdm845
soc-qcom-sdm845-ucm
soc-qcom-sdm845-qbootctl
"
makedepends="devicepkg-dev"
source="
deviceinfo
q6voiced.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Modem, WiFi and GPU Firmware, also needed for osk-sdl"
depends="firmware-oneplus-sdm845 firmware-oneplus-sdm845-initramfs
soc-qcom-sdm845-nonfree-firmware soc-qcom-sdm845-modem"
mkdir "$subpkgdir"
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
}
sha512sums="
5a1771d1c2c70ae18e1ae11fe94617c5899995c3848c38f359232d587c076f36fb159bd654cfea0510a343e44c50b39d20148e650b1cbb3629d6fdc371ad8dc5 deviceinfo
fe9871c325a38c0cadc9631870801ec15ab9f5b786ee854325b93eb3d23e7d8b1ac4f1075572ffcd225d8ec514dec09b986972ddff12a89260c0218af6de7887 q6voiced.conf
"