main/postmarketos-ui-plasma-bigscreen: new aport (MR 1552)
This commit is contained in:
parent
9b0a415346
commit
d213e06d4e
5 changed files with 128 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
|||
# This file gets removed with postmarketos-ui-plasma-bigscreen, even if modified!
|
||||
[Seat:*]
|
||||
autologin-user=username
|
||||
autologin-user-timeout=0
|
||||
autologin-session=plasma-bigscreen
|
47
main/postmarketos-ui-plasma-bigscreen/APKBUILD
Normal file
47
main/postmarketos-ui-plasma-bigscreen/APKBUILD
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=postmarketos-ui-plasma-bigscreen
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
_commit_configs="757db09c8738b88d59e5d7b35b9939e91a7a31d7"
|
||||
pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs"
|
||||
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
|
||||
arch="noarch !armhf" # Crashes on armhf due to https://gitlab.com/postmarketOS/pmaports/issues/75
|
||||
license="GPL-3.0-or-later"
|
||||
depends="
|
||||
elogind
|
||||
plasma-bigscreen
|
||||
postmarketos-artwork-wallpapers
|
||||
pulseaudio
|
||||
qt5-qtvirtualkeyboard
|
||||
xdg-desktop-portal-kde
|
||||
"
|
||||
# Required to launch
|
||||
depends="$depends
|
||||
lightdm
|
||||
lightdm-openrc
|
||||
xorg-server
|
||||
"
|
||||
_pmb_recommends="
|
||||
breeze-icons
|
||||
mycroft-core
|
||||
plasma-mycroft
|
||||
"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/bshah/mycroft-devices/-/archive/$_commit_configs/mycroft-devices-$_commit_configs.tar.gz
|
||||
60-lightdm-autologin.conf
|
||||
qtlogging.ini
|
||||
"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/60-lightdm-autologin.conf \
|
||||
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
||||
|
||||
install -Dm644 "$srcdir"/qtlogging.ini \
|
||||
"$pkgdir"/etc/xdg/QtProject/qtlogging.ini
|
||||
|
||||
mv "$srcdir"/mycroft-devices-"$_commit_configs"/overlays/bigscreen/etc/xdg/* "$pkgdir"/etc/xdg
|
||||
}
|
||||
sha512sums="81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz
|
||||
9fb85f27ba581babeda96c492ca4884ef89106f7cae427783d70a6f1a3182652ee226bf4e6cf7e5e4b730aa55b806b03d50124264d6c8fb1d7e727700ab6e232 60-lightdm-autologin.conf
|
||||
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini"
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
||||
|
||||
rc-update add lightdm default
|
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-plasma-bigscreen.post-install
|
70
main/postmarketos-ui-plasma-bigscreen/qtlogging.ini
Normal file
70
main/postmarketos-ui-plasma-bigscreen/qtlogging.ini
Normal file
|
@ -0,0 +1,70 @@
|
|||
[Rules]
|
||||
org.kde.kwindowsystem.info=true
|
||||
org.kde.kwindowsystem.warning=true
|
||||
org.kde.kwindowsystem.critical=true
|
||||
org.kde.kwindowsystem.debug=true
|
||||
kwin_core.info=true
|
||||
kwin_core.warning=true
|
||||
kwin_core.critical=true
|
||||
kwin_core.debug=true
|
||||
kwineffects.info=true
|
||||
kwineffects.warning=true
|
||||
kwineffects.critical=true
|
||||
kwineffects.debug=true
|
||||
libkwineffects.info=true
|
||||
libkwineffects.warning=true
|
||||
libkwineffects.critical=true
|
||||
libkwineffects.debug=true
|
||||
libkwinglutils.info=true
|
||||
libkwinglutils.warning=true
|
||||
libkwinglutils.critical=true
|
||||
libkwinglutils.debug=true
|
||||
libkwinxrenderutils.info=true
|
||||
libkwinxrenderutils.warning=true
|
||||
libkwinxrenderutils.critical=true
|
||||
libkwinxrenderutils.debug=true
|
||||
kwin_wayland_drm.info=true
|
||||
kwin_wayland_drm.warning=true
|
||||
kwin_wayland_drm.critical=true
|
||||
kwin_wayland_drm.debug=true
|
||||
kwin_wayland_framebuffer.info=true
|
||||
kwin_wayland_framebuffer.warning=true
|
||||
kwin_wayland_framebuffer.critical=true
|
||||
kwin_wayland_framebuffer.debug=true
|
||||
kwin_wayland_hwcomposer.debug=true
|
||||
kwin_wayland_backend.info=true
|
||||
kwin_wayland_backend.warning=true
|
||||
kwin_wayland_backend.critical=true
|
||||
kwin_wayland_backend.debug=true
|
||||
kwin_wayland_x11windowed.info=true
|
||||
kwin_wayland_x11windowed.warning=true
|
||||
kwin_wayland_x11windowed.critical=true
|
||||
kwin_wayland_x11windowed.debug=true
|
||||
kwin_platform_x11_standalone.info=true
|
||||
kwin_platform_x11_standalone.warning=true
|
||||
kwin_platform_x11_standalone.critical=true
|
||||
kwin_platform_x11_standalone.debug=true
|
||||
kwin_libinput.info=true
|
||||
kwin_libinput.warning=true
|
||||
kwin_libinput.critical=true
|
||||
kwin_libinput.debug=true
|
||||
kwin_tabbox.info=true
|
||||
kwin_tabbox.warning=true
|
||||
kwin_tabbox.critical=true
|
||||
kwin_tabbox.debug=true
|
||||
kwin_decorations.info=true
|
||||
kwin_decorations.warning=true
|
||||
kwin_decorations.critical=true
|
||||
kwin_decorations.debug=true
|
||||
kwin_scripting.info=true
|
||||
kwin_scripting.warning=true
|
||||
kwin_scripting.critical=true
|
||||
kwin_scripting.debug=true
|
||||
kwin_xkbcommon.info=true
|
||||
kwin_xkbcommon.warning=true
|
||||
kwin_xkbcommon.critical=true
|
||||
kwin_xkbcommon.debug=true
|
||||
kwin_qpa_plugin.info=true
|
||||
kwin_qpa_plugin.warning=true
|
||||
kwin_qpa_plugin.critical=true
|
||||
kwin_qpa_plugin.debug=true
|
Loading…
Reference in a new issue