2018-04-25 09:40:16 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-xiaomi-mido
|
2018-04-25 09:40:16 +00:00
|
|
|
pkgdesc="Xiaomi Redmi Note 4"
|
|
|
|
pkgver=0.1
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=5
|
2018-04-25 09:40:16 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2018-04-25 09:40:16 +00:00
|
|
|
depends="postmarketos-base linux-xiaomi-mido mkbootimg mesa-dri-swrast mdss-fb-init-hack"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-xiaomi-mido"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="26da380409c031cec4b5ba4f777a03a98f753aca7d80b0f8496f5eea365d10d8ff8ca1628d9c97d9f7317f6bd8610fe915ae8f1057d32250de3edd645d7788a9 deviceinfo"
|