pmaports/device/device-xiaomi-mido/APKBUILD
Nikolay 12f0b3ce80 Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido) (#1415)
* Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido)

* Update APKBUILD

* Update APKBUILD

* Wifi support for Xiaomi Redmi Note 4

* Update APKBUILD

* Download firmware from different repo for Xiaomi Redmi Note 4

* Split up cat line
2018-04-25 11:40:16 +02:00

29 lines
758 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-xiaomi-mido"
pkgdesc="Xiaomi Redmi Note 4"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="noarch"
options="!check"
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"
}
sha512sums="af088a3cfb71f52f7b095f4ea75de4c3141bf840502a7325500b7717fec0d0688ee2c82c78c858c3d6cde59a43f4c6873d85b53078d82faddbed8ce1484acf28 deviceinfo"