e302eff0bc
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
37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Hunter Sell <hsell25@gmail.com>
|
|
pkgname="device-hisense-m470bsa"
|
|
pkgdesc="Hisense Sero 7 Pro"
|
|
pkgver=0.1
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-hisense-m470bsa mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo modules-load.conf pointercal"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -Dm644 "$srcdir"/modules-load.conf \
|
|
"$pkgdir"/etc/modules-load.d/01-$pkgname.conf
|
|
install -Dm644 "$srcdir"/pointercal \
|
|
"$pkgdir"/etc/pointercal
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="WiFi Firmware"
|
|
depends="firmware-hisense-m470bsa"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="c3f78939f840023bf06b0ca992f5f53fd3413bc91e65a2d143dba3aa0f8776d47f9363e56942546ca650a5f2c68a2a1bdc92eda0c3be3dee51806d8aadb16800 deviceinfo
|
|
6a53747e22b530dcd52ca523017edf422b36bcd6616d7b0df0ba23f50de0f91dff63913ec6aab5051eebc131879c235cfb724aacefc90a10b94a1790985144ec modules-load.conf
|
|
8fcb7330a660995bb1aabf3fd2f3a3536fed79e9369bda115874151e84651839c59d134ac3ca0919eff0770ac51c934b252e7d544a26c076614f7f1d10bfd016 pointercal"
|