# Maintainer: Svyatoslav Ryhel # Reference: pkgname=device-lg-p895 pkgdesc="LG Optimus Vu" pkgver=2 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="armv7" options="!check !archcheck" depends=" alsa-ucm-conf libvdpau-tegra linux-postmarketos-grate mkbootimg postmarketos-base " makedepends=" devicepkg-dev " source=" deviceinfo modules-initfs pointercal " subpackages=" $pkgname-nonfree-firmware:nonfree_firmware $pkgname-x11 " build() { devicepkg_build $startdir $pkgname } package() { devicepkg_package $startdir $pkgname # osk-sdl touchscreen calibration install -Dm644 "$srcdir"/pointercal \ "$pkgdir"/etc/pointercal } nonfree_firmware() { pkgdesc="LG Optimus X3 WiFi & BT firmware" depends="firmware-lg-x3" mkdir "$subpkgdir" } x11() { install_if="$pkgname=$pkgver-r$pkgrel xorg-server" depends="xf86-video-opentegra" mkdir "$subpkgdir" } sha512sums=" b7d3c91aad8d5b68a29560ba44d2af98d2c78fd939c0e1a7758216cc27a0e332dd494ca4c5dd29d75ef6ed41c92a3d0a07e210d4737d2ad6e43966445b4a7e7d deviceinfo 02bb0c07b4133d1c2b6910d7c52a82e6ae250d9510a1d29de323eccd0acd6fe63fe359fbc2da1d16f861a21b3b5fedae7a65d2d9f7629076366b2ce0fd75adef modules-initfs de3c2db575a7c67adfd4f26700642e8fa0b912cb074dcc92778f620574e2f5e6dadcd4b05d13a2968668f943cc01557924c31b40f6fce3ce9002a3dcd55f423f pointercal "