pmaports/device/device-asus-t00f/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

40 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Peter Mann <pm@xdd.sk>
pkgname="device-asus-t00f"
pkgdesc="Asus Zenfone 5"
pkgver=0.1
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="x86"
options="!check !archcheck"
depends="postmarketos-base linux-asus-t00f mkbootimg"
makedepends="devicepkg-dev"
subpackages="$pkgname-x11"
source="
deviceinfo
xorg.conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -Dm644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
devicepkg_package $startdir $pkgname
}
x11() {
install_if="$pkgname xorg-server"
depends="
libinput
xf86-input-libinput
xf86-video-fbdev"
install -Dm644 "$srcdir"/xorg.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/10-t00f.conf
}
sha512sums="da391b2517bbaeebc5ddf8b1aa7e6b16418e66a504738435437b7d9caf5f9bc827120bbc20ad92c6eb0df0916703036a4e6cb54864dd82ddfd8edbde3df5bd2d deviceinfo
2511fa519813061531757996fbbbb9eecae1a136d2e13149fd7afe04d19982c7eaa5ced8df57860bb816186f206915fcbd4a9e34fdf92b2c6efe3320a223c328 xorg.conf"