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-03-07 18:58:32 +00:00
|
|
|
pkgrel=4
|
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-03-07 16:10:22 +00:00
|
|
|
sha512sums="6a0cf6a6a991ecc33734eecd3ffa5c98876f922c356a2363ad9bd3166d94b782fa67b4e9cafa23f55c2e31e38385be49d8f8e05d7aa5834a2f85b36d70de749f deviceinfo"
|