2020-04-25 13:54:48 +00:00
|
|
|
# Maintainer: Eli Riggs <eli@rje.li>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-willow
|
|
|
|
pkgdesc="Xiaomi Redmi Note 8T"
|
|
|
|
pkgver=0.1
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=2
|
2020-04-25 13:54:48 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-xiaomi-willow mkbootimg mesa-dri-gallium"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-weston
|
|
|
|
"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-load.conf
|
|
|
|
weston.ini
|
|
|
|
weston-fixes.sh
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Touchscreen firmware"
|
|
|
|
depends="firmware-xiaomi-willow"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
|
|
|
|
# weston use drm backend, 2x dpi, don't use virtual output
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
|
|
|
|
# weston msm_drm hax
|
|
|
|
install -Dm755 "$srcdir"/weston-fixes.sh \
|
|
|
|
"$subpkgdir"/etc/X11/xinit/xinitrc.d/00-xiaomi-willow-weston-fixes.sh
|
|
|
|
}
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="151512fcd50e135ebcca83d5cb3c26158b14a0306d12e05abe4490ad8c89ac6ca4ca230e8d5448d12f0a8cee518eb47a78e2e5e3b5e5978da20a756fb2b9bc9a deviceinfo
|
2020-04-25 13:54:48 +00:00
|
|
|
1689a1294cfca52351f384324a0fc17ccfa520e33d9d8c616e6a000cc44273b72ca560f1407886e105cdb60282a6f096262e1499eb46ebd0c470599cfe639442 modules-load.conf
|
|
|
|
4fdc188f9cd5c0316959322568916a6e36e67ff316e90fa7bd7c7b642cb137a9ff7002b0475728c6ba53abcbfe8c50d82112e4943460ee424aee4bbfd0efecfe weston.ini
|
|
|
|
2ecdd4f25c1047071f8f300d177bc1c288e7af6d05c0f2fa821f722494c92381416ee7969d7d4a7aff7eb7c4fa18d988b7a12bd3ba769022fd95987ca3b5f065 weston-fixes.sh"
|