pmaports/main/postmarketos-ui-weston/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

25 lines
1.2 KiB
Text

pkgname=postmarketos-ui-weston
pkgver=4
pkgrel=3
pkgdesc="(Wayland) Reference compositor (demo, not a phone interface)"
url="https://github.com/postmarketOS"
arch="noarch"
license="GPL3+"
depends="weston-clients weston weston-shell-desktop weston-backend-fbdev
weston-backend-drm weston-backend-x11 weston-terminal
weston-xwayland xorg-server-xwayland postmarketos-demos"
makedepends=""
install="$pkgname.post-install"
subpackages=""
source="start_weston.sh weston.ini.default $install"
options="!check"
package() {
install -Dm644 "$srcdir"/start_weston.sh \
"$pkgdir"/etc/profile.d/start_weston.sh
install -Dm644 "$srcdir"/weston.ini.default \
"$pkgdir"/etc/xdg/weston/weston.ini.default
}
sha512sums="4de1a34464db86dd25b306efb676c292152df093daa7850af3cb1b9fe198c01f9ab6a02d171b61b43af4d60009991182f18b9727bad3fd3d763df3797cbdb716 start_weston.sh
789ef8e8ddf46e751fb394bd95f83f0cf74b49c885a39b4f4a37452175e300d66b56242a5e1646746a158f58545f62d9050c4cb9007aeefd98f68ad1cccdd5fa weston.ini.default
794827b6878cdca8231fc106ba649a3e9aa9f74df0ef7e5e3598462b3c93c67cb3b0af95cadb92a62471730a518024ae6be95c0fc59af6b929482148f16c2184 postmarketos-ui-weston.post-install"