main/postmarketos-ui-glacier: new aport (MR 2114)
[ci:skip-build] already built successfully in CI
This commit is contained in:
parent
c872ed9fcf
commit
0645c552bf
6 changed files with 77 additions and 0 deletions
55
main/postmarketos-ui-glacier/APKBUILD
Normal file
55
main/postmarketos-ui-glacier/APKBUILD
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=postmarketos-ui-glacier
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgdesc="(Wayland) Open-source alternative to the SailfishOS UI"
|
||||
url="https://wiki.postmarketos.org/wiki/Glacier"
|
||||
# armhf blocked by glacier-home
|
||||
arch="noarch !armhf"
|
||||
license="GPL-3.0-or-later"
|
||||
depends="
|
||||
elogind
|
||||
glacier-home
|
||||
ofono
|
||||
ofono-openrc
|
||||
pulseaudio
|
||||
qt5-qtvirtualkeyboard
|
||||
urfkill
|
||||
urfkill-openrc
|
||||
"
|
||||
# Required to launch
|
||||
depends="$depends
|
||||
tinydm
|
||||
"
|
||||
_pmb_recommends="
|
||||
glacier-calc
|
||||
glacier-filemuncher
|
||||
glacier-gallery
|
||||
glacier-music
|
||||
glacier-pinquery
|
||||
glacier-settings
|
||||
megapixels
|
||||
qmlkonsole
|
||||
"
|
||||
_pmb_groups="users"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
source="
|
||||
glacier.sh
|
||||
glacier.desktop
|
||||
glacier-qt-mobile-controls.sh
|
||||
"
|
||||
options="!check" # No code to test
|
||||
|
||||
package() {
|
||||
install -Dm755 "$srcdir"/glacier.sh \
|
||||
"$pkgdir"/usr/bin/glacier
|
||||
install -Dm755 "$srcdir"/glacier.desktop \
|
||||
"$pkgdir"/usr/share/wayland-sessions/glacier.desktop
|
||||
|
||||
install -Dm755 -t "$pkgdir"/etc/profile.d/ \
|
||||
"$srcdir"/glacier-qt-mobile-controls.sh
|
||||
}
|
||||
sha512sums="e57e1dc48a602b98e16ed4960add51e2532d3cbdbb4c44f4df56eecb726d27b9732cf53b2548c4f3adce8e1a7e72710723da72df700afc131065bafb8b3cbbba glacier.sh
|
||||
6a05f5ab14dd9bfa8366ff9e9acbe6443373fbdca22eb3ddbe6ccb57ff19835cfc312ab89fd6dfe91e1e8cc757d12b52c8a71172bac35775f132a5a6ec6be5a9 glacier.desktop
|
||||
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 glacier-qt-mobile-controls.sh"
|
1
main/postmarketos-ui-glacier/glacier-qt-mobile-controls.sh
Symbolic link
1
main/postmarketos-ui-glacier/glacier-qt-mobile-controls.sh
Symbolic link
|
@ -0,0 +1 @@
|
|||
../.shared-scripts/qt-mobile-controls.sh
|
6
main/postmarketos-ui-glacier/glacier.desktop
Normal file
6
main/postmarketos-ui-glacier/glacier.desktop
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Glacier (Wayland)
|
||||
Comment=This session will start Glacier
|
||||
Exec=dbus-run-session /usr/bin/glacier
|
||||
TryExec=/usr/bin/glacier
|
||||
Type=Application
|
7
main/postmarketos-ui-glacier/glacier.sh
Normal file
7
main/postmarketos-ui-glacier/glacier.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
export QT_IM_MODULE=qtvirtualkeyboard
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
. /usr/share/lipstick-glacier-home-qt5/nemovars.conf
|
||||
/usr/bin/lipstick -platform eglfs -plugin evdevmouse evdevkeyboard evdevtablet
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update add tinydm default
|
||||
rc-update add urfkill default
|
||||
rc-update add ofono default
|
||||
rc-update add ofono-auto-enable default
|
||||
tinydm-set-session -s /usr/share/wayland-sessions/glacier.desktop
|
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-glacier.post-install
|
Loading…
Reference in a new issue