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-10-16 12:49:57 +00:00
|
|
|
pkgver=3
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=1
|
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
|
2023-10-16 12:49:57 +00:00
|
|
|
b5e4f6dec04a9a7d7231a62d8b60e17a9a5265768eb80050225c0f57b8188ec108d8b7155ccb70ba95201906b653d19ef33a0ff04072da040b0242d7032b103d modules-initfs
|
2023-06-26 23:22:50 +00:00
|
|
|
"
|