2022-11-28 11:01:17 +00:00
|
|
|
# Maintainer: m0rf30 <morf3089@gmail.com>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-tulip
|
|
|
|
pkgdesc="Xiaomi Redmi Note 6 Pro"
|
|
|
|
pkgver=1
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=4
|
2022-11-28 11:01:17 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base mkbootimg"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-modem
|
|
|
|
"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-11-28 11:01:17 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wi-Fi, ADSP Firmware"
|
|
|
|
depends="firmware-xiaomi-tulip"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Close to mainline; for kernel development only (most features aren't working)"
|
|
|
|
depends="linux-postmarketos-qcom-sdm660"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
modem() {
|
|
|
|
depends="rmtfs rmtfs-openrc msm-modem-uim-selection"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel $pkgname-nonfree-firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
6788f1aa1740359f8f171f916ce92c521ed984bb444f0405bdec2c57c0c55e629540f050c5bff80945147989ca440807dd8b173d2c57e4ab86308097347aae61 deviceinfo
|
|
|
|
966bea41747858689abad7585985d8fbbee93a91ccf479adbde4ecc2c86b17c1895ccd0a845ec238e63bca66b73ce12c6fada48dd23dbd0e6b5eaa38bea2a3bd modules-initfs
|
2022-11-28 11:01:17 +00:00
|
|
|
"
|