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
35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Samuel Dionne-Riel <samuel@dionne-riel.com>
|
|
pkgname="device-asus-z00t"
|
|
pkgdesc="Zenfone 2 Laser/Selfie (1080p)"
|
|
pkgver=0.1
|
|
pkgrel=5
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-asus-z00t mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
deviceinfo
|
|
90-touchscreen.rules
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -Dm644 "$srcdir"/90-touchscreen.rules "$pkgdir"/etc/udev/rules.d/90-touchscreen.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="All non-free firmwares from a device image. Includes firmware for wifi, modem and camera among others."
|
|
depends="firmware-asus-z00t"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="7810fb67868f9f98ad257ac93e37a3f344447efbedb79268773a30e96bd2bc4c2ad2a3be5c3f067e53230b5f9261d0a4c9beaeb5c678151b5b10b2745fa2ed47 deviceinfo
|
|
5bcf314aa8e77db9d9673a93886906bd15e8c3c57f8d0c4343977d2ce8d017af5608a3d13cd2cbacf155e3ecf632ccab6ff6f3b0c95eb4a2a3b35686a3c842db 90-touchscreen.rules"
|