b2c4544ef2
rootston.ini is an old, deprecated name. [ci:ignore-count]
72 lines
2.1 KiB
Text
72 lines
2.1 KiB
Text
# Maintainer: Venji10 <bennisteinir@gmail.com>
|
|
# Co-Maintainer: Joel Selvaraj <jo@jsfamily.in>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-xiaomi-beryllium
|
|
pkgdesc="Xiaomi Poco F1"
|
|
pkgver=5
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
postmarketos-base
|
|
mkbootimg
|
|
soc-qcom-sdm845
|
|
soc-qcom-sdm845-ucm
|
|
postmarketos-update-kernel
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-kernel-tianma:kernel_tianma
|
|
$pkgname-kernel-ebbg:kernel_ebbg
|
|
$pkgname-phosh
|
|
"
|
|
|
|
source="
|
|
deviceinfo
|
|
phoc.ini
|
|
q6voiced.conf
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU, venus, modem firmware"
|
|
depends="firmware-xiaomi-beryllium soc-qcom-sdm845-nonfree-firmware"
|
|
mkdir "$subpkgdir"
|
|
|
|
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
|
}
|
|
|
|
kernel_tianma() {
|
|
pkgdesc="Tianma Panel. To know which panel your device use and the status of the port, Visit the Poco F1 wiki page: https://wiki.postmarketos.org/wiki/Xiaomi_Poco_F1_(xiaomi-beryllium)"
|
|
depends="linux-postmarketos-qcom-sdm845"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
kernel_ebbg() {
|
|
pkgdesc="EBBG Panel. To know which panel your device use and the status of the port, Visit the Poco F1 wiki page: https://wiki.postmarketos.org/wiki/Xiaomi_Poco_F1_(xiaomi-beryllium)"
|
|
depends="linux-postmarketos-qcom-sdm845"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
}
|
|
|
|
sha512sums="
|
|
29090e3d3fc16a752b33910abcfd8719af34bd257a7ca3cf25e9f1afc49e20582a7505bd7cd2ea2eb274c834eead277f31e5fb9384de8b444500518275e5a711 deviceinfo
|
|
e2e417169345c86a5dd34ac0afac4b2b983a755f4c7ba5698c385a01f96b9bd2c3ace1ce5a0569c121675e8b87e88e1cf5c648e995d9c50cba66e52bbc83753c phoc.ini
|
|
7f599f086dba97ac39ce98798969bc8e9c26dd3b062bb8f95852182df52814b70d49b701e27b43abeb3639b16ba053e416c14cf75e0bf4a9f2fe7c01fb0ac41c q6voiced.conf
|
|
"
|