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
30 lines
1 KiB
Text
30 lines
1 KiB
Text
pkgname=device-fairphone-fp2
|
|
pkgver=1
|
|
pkgrel=4
|
|
pkgdesc="Fairphone 2"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="linux-fairphone-fp2 linux-firmware mkbootimg"
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
source="
|
|
deviceinfo
|
|
90-android-touch-dev.rules
|
|
bcmdhd.cal
|
|
"
|
|
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"/bcmdhd.cal \
|
|
"$pkgdir"/etc/wifi/bcmdhd.cal
|
|
}
|
|
|
|
sha512sums="66cf4782d814e4229551787c105c8705aa56d7e2af85207cc628cff47481926c2742c6ed3981ede538186ea906a6ac6f69b4669e567da769b5313f18a5362f64 deviceinfo
|
|
4e6c0b87872f278de5603d821a1e9dab8363db285d1d7fd56e900b33e8533eecb79b1fb6359e58e112e69e714a4f2aee06157b1d6f8d3e26274cd29c93cd659b 90-android-touch-dev.rules
|
|
32652ef366694f34dec31f316a38aca96700e3a5a3eac1f8d192e3c5de7b91e480b1c0fcd8e7c80a51692dc3737020ebbb2e5d3779436e82fb18822089c63055 bcmdhd.cal"
|