pmaports/main/postmarketos-ui-kodi/APKBUILD
Anri Dellal 196ff18b06
main/postmarketos-ui-*: add GPU acceleration option (MR 2078)
Adds pmb:gpu-accel option to Phosh, Plasma Mobile/Bigscreen, Sway,
Glacier and Kodi APKBUILDs to hide the UIs at `pmbootstrap init`
for devices without GPU acceleration support.

Related: pmbootstrap!2043

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2021-07-06 19:12:27 -07:00

28 lines
751 B
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-kodi
pkgver=1
pkgrel=7
pkgdesc="(Wayland) 10-foot UI useful on TV's"
url="https://kodi.tv"
arch="x86 x86_64 aarch64" # flatbuffers missing on armhf and armv7
license="GPL-3.0-or-later"
depends="
cage
elogind
kodi
kodi-wayland
postmarketos-base-ui
pulseaudio
tinydm
tinydm-openrc
upower
"
install="$pkgname.post-install $pkgname.post-upgrade"
source="kodi.desktop"
options="!check pmb:gpu-accel"
package() {
install -Dm644 "$srcdir"/kodi.desktop \
"$pkgdir"/usr/share/wayland-sessions/kodi-wayland.desktop
}
sha512sums="fc7d545310a77845af88638e95a72f8774be4fb91231554ac91a2dfcd65d11aed5e6cea550548df5e12c49963968a17a89429fc0fb3ebf4a6843d95dccad7eee kodi.desktop"