main/postmarketos-ui-asteroid: add -openrc subpackage (MR 5374)
[ci:ignore-count]
This commit is contained in:
parent
7a5970f6d9
commit
26236e94a9
4 changed files with 19 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Reference: https://postmarketos.org/uipkg
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=postmarketos-ui-asteroid
|
||||
pkgver=0.2
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="(Wayland) Smartwatch UI from AsteroidOS"
|
||||
url="https://wiki.postmarketos.org/wiki/AsteroidOS"
|
||||
|
@ -15,10 +15,8 @@ depends="
|
|||
# Required to launch
|
||||
depends="$depends
|
||||
elogind
|
||||
elogind-openrc
|
||||
postmarketos-base-ui
|
||||
tinydm
|
||||
tinydm-openrc
|
||||
"
|
||||
_pmb_recommends="
|
||||
asteroid-alarmclock
|
||||
|
@ -35,7 +33,7 @@ _pmb_recommends="
|
|||
asteroid-weather
|
||||
"
|
||||
_pmb_groups="users"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="
|
||||
asteroid.desktop
|
||||
asteroid-launcher-wrapper.sh
|
||||
|
@ -49,6 +47,22 @@ package() {
|
|||
install -Dm755 "$srcdir"/gtk-app-wayland.sh -t "$pkgdir"/etc/profile.d/
|
||||
}
|
||||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
||||
depends="
|
||||
bluez-openrc
|
||||
connman-openrc
|
||||
dsme-openrc
|
||||
elogind-openrc
|
||||
mce-openrc
|
||||
tinydm-openrc
|
||||
usb-moded-openrc
|
||||
"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6dab13e0fb128cce487554871ce4786334b46e0f8f0ffbef0a222607e04f5b49660872ea59b322790e4e35f9b7a53040233823308ba280a8b21c86a412405ec0 asteroid.desktop
|
||||
d6895807af865d89982c65cfda6616a55dfdaca3979ef045188489359462a87c0ffc51afc6779ba2aede614c13787a7499d6e7543c8a27e3210758b87b08f876 asteroid-launcher-wrapper.sh
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-asteroid-openrc.post-install
|
|
@ -1 +0,0 @@
|
|||
postmarketos-ui-asteroid.post-install
|
Loading…
Reference in a new issue