pmaports/device/device-lg-d285/APKBUILD
clayton craft fdff56f4ec Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739)
@drebrez deserves much credit for this one for all the testing,
bisecting and for fixing everything. Thank you very much!
---
* devices which need a custom weston.ini ship it with a install_if
  subpackage, so it only gets installed when weston is installed. This
  sounds complicated, but is actually pretty clean in the APKBUILD.
* postmarketos-ui-weston: has a weston.ini.default, which enables
  xwayland and uses fbdev as backend (because that's what most
  devices use!). It defaults to the weston.ini.default if there is no
  weston.ini (as installed by the device package).
* changed spaces to tabs for consistency, general minor refactoring of
  device-APKBUILDs
2017-10-20 00:07:00 +00:00

30 lines
1 KiB
Text

pkgname=device-lg-d285
pkgver=1
pkgrel=1
pkgdesc="LG L65"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-lg-d285 mkbootimg msm-fb-refresher"
makedepends=""
install=""
subpackages=""
source="
deviceinfo
initfs-hook.sh
90-android-touch-dev.rules
"
options="!check"
package() {
install -D -m644 "$srcdir/deviceinfo" \
"$pkgdir/etc/deviceinfo"
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -D -m644 "$srcdir"/initfs-hook.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
}
sha512sums="86ec02c69f9c036caabb1db31c2bcd988a6fc7eacbe62b4c5db41608a68feb43f6841bed30f2f60a1fccc3f7878f61bb5fa8d637b3e50f03f36c5aa1c95e52bb deviceinfo
78224ef3078dd8ee6b15de7a72cc3fe05ec4cb8eb503e11aa06e83009da8a8c104562463ac747d00ac9854c18b16fa557df01f377f4f9af5d98429906fdd016f initfs-hook.sh
568d407c3e96b45d740af8617f0e389d36a7091dceccae8f77288fdc45fb7a5ed418c28f31d7fe5a51d92337a40b2dd741b1b18ad02e3fbae91f9a2035d62c95 90-android-touch-dev.rules"