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
28 lines
1.4 KiB
Text
28 lines
1.4 KiB
Text
pkgname=device-sony-castor-windy
|
|
pkgver=1
|
|
pkgrel=9
|
|
pkgdesc="Sony Xperia Z2 Tablet WIFI"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="mkbootimg linux-sony-castor-windy linux-firmware firmware-adreno"
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
source="modules-load.conf deviceinfo 90-android-touch-dev.rules brcmfmac4339-sdio.txt"
|
|
options="!check"
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir/deviceinfo" \
|
|
"$pkgdir/etc/deviceinfo"
|
|
install -D -m644 "$srcdir/brcmfmac4339-sdio.txt" \
|
|
"$pkgdir/lib/firmware/brcm/brcmfmac4339-sdio.txt"
|
|
install -D -m644 "$srcdir/90-android-touch-dev.rules" \
|
|
"$pkgdir/etc/udev/rules.d/90-android-touch-dev.rules"
|
|
install -D -m644 "$srcdir"/modules-load.conf \
|
|
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
|
}
|
|
sha512sums="d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
|
|
a18b694fb62097935bb419e6b6d387a4b7d03f6c7014503a123b2af05d10fbd9f35161cda008e8f748386b366eb0f117470a0437d9fa02e8476fcfbb15896f46 deviceinfo
|
|
fa0d8b7a17509f5882424e67e66f5f562705a076a12e8d9dd9363215c858d7801216520cf25373110671958b1e1589080b097170c760d18e621849b0b9090e05 90-android-touch-dev.rules
|
|
b99a1bc0d430a261b6ab0b5ea12f2e996ab24ece6fe40ff57357697f4db976394c655a7c7a63e7c985f6356126a6b1d920eb0077817cb65ae18250f404282a68 brcmfmac4339-sdio.txt"
|