main/postmarketos-ui-cage: use postmarketos-base-ui-cage (MR 5097)
This commit is contained in:
parent
eb0e92bf04
commit
7f28bc2338
4 changed files with 7 additions and 74 deletions
|
@ -1,47 +1,18 @@
|
||||||
# Maintainer: Vitaliy Ognev <vitaliy.ognev@gmail.com>
|
# Maintainer: Vitaliy Ognev <vitaliy.ognev@gmail.com>
|
||||||
pkgname=postmarketos-ui-cage
|
pkgname=postmarketos-ui-cage
|
||||||
pkgver=1.0.0
|
pkgver=1.1.0
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="(Wayland) Kiosk WM"
|
pkgdesc="(Wayland) Kiosk WM"
|
||||||
arch="all"
|
arch="all"
|
||||||
url="https://postmarketos.org/"
|
url="https://postmarketos.org/"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
source="
|
|
||||||
cage-ui.desktop
|
|
||||||
cage-ui-session.sh
|
|
||||||
"
|
|
||||||
install="$pkgname.post-install"
|
|
||||||
_pmb_recommends="postmarketos-demos"
|
|
||||||
_pmb_groups="seat"
|
|
||||||
options="!check"
|
options="!check"
|
||||||
depends="
|
depends="postmarketos-base-ui-cage"
|
||||||
dnsmasq
|
# https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2347
|
||||||
postmarketos-base-ui
|
_pmb_groups="seat"
|
||||||
postmarketos-base-ui-networkmanager
|
_pmb_recommends="postmarketos-demos"
|
||||||
wpa_supplicant
|
|
||||||
wireless-tools
|
|
||||||
wlr-randr
|
|
||||||
xwayland
|
|
||||||
cage
|
|
||||||
dbus
|
|
||||||
dbus-openrc
|
|
||||||
seatd
|
|
||||||
seatd-openrc
|
|
||||||
elogind
|
|
||||||
elogind-openrc
|
|
||||||
psmisc
|
|
||||||
tinydm
|
|
||||||
tinydm-openrc
|
|
||||||
"
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p pkg/$pkgname
|
mkdir -p "$pkgdir"
|
||||||
|
|
||||||
install -Dm755 "$srcdir"/cage-ui-session.sh -t "$pkgdir"/usr/share/cage-ui/
|
|
||||||
install -Dm644 "$srcdir"/cage-ui.desktop -t "$pkgdir"/usr/share/wayland-sessions/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
b556bcff9bb62ca6580da5e1749aa4d6b8244ebb5213292a348075196704cc919f8060bff8da66c6f61a1aa071b7ae4d81fddf1b3747e89809196459bc2595d8 cage-ui.desktop
|
|
||||||
15c3dd09cfd36e42c102c0c6065e47a7c67f9cc12fea641758e88b93e146b3b549bf5828191816ceaf35222c417fbb4b31173d6c4e9003fd23c834aa9b9f985e cage-ui-session.sh
|
|
||||||
"
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
if [ -d /etc/cage-ui ]; then
|
|
||||||
for script in /etc/cage-ui/*.sh; do
|
|
||||||
# shellcheck source=/dev/null # since we do not control these scripts
|
|
||||||
. "$script"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$CAGE_UI_COMMAND" ]; then
|
|
||||||
if command -v postmarketos-demos >/dev/null 2>&1; then
|
|
||||||
CAGE_UI_COMMAND=postmarketos-demos
|
|
||||||
else
|
|
||||||
echo "No command to run. Cage-UI expects a command to be run"
|
|
||||||
echo "defined in environment variable named CAGE_UI_COMMAND."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec "$CAGE_UI_COMMAND"
|
|
|
@ -1,11 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=Cage-UI
|
|
||||||
Name[en]=Cage-UI
|
|
||||||
Comment=This session logs you into Cage-UI
|
|
||||||
Comment[en]=This session logs in you into Cage-UI
|
|
||||||
Exec=dbus-run-session -- cage -d -s -- /usr/share/cage-ui/cage-ui-session.sh
|
|
||||||
TryExec=/usr/bin/cage-ui
|
|
||||||
Icon=
|
|
||||||
Type=Application
|
|
||||||
X-DesktopNames=Cage-UI
|
|
||||||
Keywords=launch;desktop;session;
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
rc-update add seatd default
|
|
||||||
rc-update add elogind default
|
|
||||||
rc-update add tinydm default
|
|
||||||
|
|
||||||
tinydm-set-session -s /usr/share/wayland-sessions/cage-ui.desktop
|
|
Loading…
Reference in a new issue