pmaports/device/device-xiaomi-mido/APKBUILD
Minecrell e302eff0bc
device/device-*: remove empty touchscreen(_calibration) / dev_keyboard (!1036)
Most devices do not need to set any of these variables.
directfb can now automatically detect touchscreens, calibration is
only needed for resistive touchscreens and dev_keyboard is unused.

Automatically done using:
  - sed -i '/deviceinfo_dev_keyboard=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen_calibration=""/d' device-*/deviceinfo
2020-03-09 10:06:00 +01:00

30 lines
817 B
Text

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Nikolay <nikolay0054@gmail.com>
pkgname="device-xiaomi-mido"
pkgdesc="Xiaomi Redmi Note 4"
pkgver=0.1
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
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="06769b92308074d58948ed86524705273b4452a2fa8e7109749e150349c0978231421395b289ebb08df12a26e7c3e1e8992ce29481cc76aae7f8af0be4292676 deviceinfo"