fdff56f4ec
@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
29 lines
1.3 KiB
Text
29 lines
1.3 KiB
Text
pkgname=device-sony-amami
|
|
pkgver=1
|
|
pkgrel=13
|
|
pkgdesc="Sony Xperia Z1 Compact"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="linux-sony-amami mkbootimg firmware-sony-amami"
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
source="deviceinfo 90-android-touch-dev.rules fb-workaround.sh udev-v4l-hack.sh"
|
|
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"/fb-workaround.sh \
|
|
"$pkgdir"/etc/profile.d/fb-workaround.sh
|
|
install -D -m644 "$srcdir"/udev-v4l-hack.sh \
|
|
"$pkgdir"/etc/profile.d/00-udev-v4l-hack.sh
|
|
}
|
|
|
|
sha512sums="64e3bed1ee54551e6582b5b3f2547fb0cd4d0fab8a8c1beaea4b661113f0bd8d1bb3874ac5d0fcc104806bcf1cf49695c868bec46511bb055662692232d2f3da deviceinfo
|
|
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
|
|
281937447a73c18e8eec195cbf485fcd513aec20b8df559c26b89fbefa5872c41865cba2440e2cc8a9cc76801bca9ab61f9562c536c6f5f10c925e3ca7f372f3 fb-workaround.sh
|
|
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh"
|