2023-06-26 23:22:50 +00:00
|
|
|
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-ysl
|
|
|
|
pkgdesc="Xiaomi Redmi S2/Y2"
|
2023-09-30 14:01:58 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2023-06-26 23:22:50 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2023-09-30 14:01:58 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8953
|
|
|
|
lk2nd-msm8953
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-msm8953
|
|
|
|
"
|
2023-06-26 23:22:50 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2023-09-30 14:01:58 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2023-06-26 23:22:50 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2023-09-30 14:01:58 +00:00
|
|
|
pkgdesc="Modem, WiFi, BT, ADSP, Venus and GPU Firmware"
|
|
|
|
depends="
|
|
|
|
firmware-xiaomi-ysl
|
|
|
|
msm-firmware-loader
|
|
|
|
soc-qcom-msm8953-initramfs
|
|
|
|
soc-qcom-msm8953-modem
|
|
|
|
"
|
2023-06-26 23:22:50 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-09-30 14:01:58 +00:00
|
|
|
b80c6f67c97d4ed3292a4f68fefea75e2944125232a1862c2088e3806f37a43043e193341d7d81abd59ad2fea9d696af04ae576acdc21a6125e925570cbaafa7 deviceinfo
|
|
|
|
e273b7848a6ccc479668e8670092fe9062a3485093b3581dfb12a6085ee89f6784ea5c0040e1f8353f636b9f25d7921079074b97437405d256bfcc2d17a17388 modules-initfs
|
2023-06-26 23:22:50 +00:00
|
|
|
"
|