# Reference: https://postmarketos.org/uipkg
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-kodi
pkgver=2
pkgrel=5
pkgdesc="(GBM) 10-foot UI useful on TV's"
url="https://kodi.tv"
# kodi does not know of other archs
arch="x86 x86_64 aarch64 armv7" # flatbuffers missing on armhf
license="GPL-3.0-or-later"
depends="
	elogind
	kodi
	kodi-gbm
	kodi-polkit
	postmarketos-base-ui
	postmarketos-base-ui-networkmanager
	pulseaudio
	upower
	"
install="$pkgname.post-install $pkgname.post-upgrade"
options="!check pmb:gpu-accel"
source="automount-media.rules"

package() {
	install -Dm 644 automount-media.rules \
		"$pkgdir"/usr/lib/udev/rules.d/99-automount-media.rules
}
sha512sums="
2f1d46ba553cfa129f343ac856d736532374a347329016e35235aa6173658c9db64b259363180207592e77bf1817011b7df6c966f002850c4b0b1ddea856ae27  automount-media.rules
"
