main/postmarketos-ui-xfce4: add -openrc subpackage (MR 5374)

This commit is contained in:
Bart Ribbers 2024-07-23 21:12:57 +02:00 committed by Clayton Craft
parent 979eedc73b
commit d8cb2f86cf
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 16 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Jakko <jahau@rocketmail.com> # Maintainer: Jakko <jahau@rocketmail.com>
pkgname=postmarketos-ui-xfce4 pkgname=postmarketos-ui-xfce4
pkgver=0.5.2 pkgver=0.5.2
pkgrel=2 pkgrel=3
pkgdesc="(X11) Lightweight desktop (stylus recommended)" pkgdesc="(X11) Lightweight desktop (stylus recommended)"
url="https://gitlab.com/postmarketOS/xfce4-phone" url="https://gitlab.com/postmarketOS/xfce4-phone"
arch="noarch" arch="noarch"
@ -11,9 +11,7 @@ depends="
bluez bluez
dnsmasq dnsmasq
elogind elogind
elogind-openrc
lightdm lightdm
lightdm-openrc
mesa-egl mesa-egl
polkit-elogind polkit-elogind
postmarketos-base-ui postmarketos-base-ui
@ -39,7 +37,7 @@ _pmb_recommends="
xfce4-terminal xfce4-terminal
xfce4-whiskermenu-plugin xfce4-whiskermenu-plugin
" "
install="$pkgname.post-install $pkgname.post-upgrade" subpackages="$pkgname-openrc"
source=" source="
xfce4-phone-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz xfce4-phone-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz
10_onboard.gschema.override 10_onboard.gschema.override
@ -78,6 +76,19 @@ package() {
"$pkgdir"/etc/profile.d/xfce4-phone.sh "$pkgdir"/etc/profile.d/xfce4-phone.sh
} }
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
bluez-openrc
elogind-openrc
lightdm-openrc
networkmanager-openrc
"
mkdir -p "$subpkgdir"
}
sha512sums=" sha512sums="
a30b34fb87150810a291faa71726822942fc2b49e418fe3011445f7921b54bdf645e52ff61f31f61fbe799f221931f1d1a17f04b7378c2d72f4eb1795e5d78b7 xfce4-phone-0.5.2.tar.gz a30b34fb87150810a291faa71726822942fc2b49e418fe3011445f7921b54bdf645e52ff61f31f61fbe799f221931f1d1a17f04b7378c2d72f4eb1795e5d78b7 xfce4-phone-0.5.2.tar.gz
114d77e6e7c11fc87244fc7c179244274c8f8711f111fcb1b9774ef6b226bd2bea01f85395da130f53670a870cfe571babd7f1c233ba85e1ef5a056ab65bd0b7 10_onboard.gschema.override 114d77e6e7c11fc87244fc7c179244274c8f8711f111fcb1b9774ef6b226bd2bea01f85395da130f53670a870cfe571babd7f1c233ba85e1ef5a056ab65bd0b7 10_onboard.gschema.override

View file

@ -0,0 +1 @@
postmarketos-ui-xfce4-openrc.post-install

View file

@ -1 +0,0 @@
postmarketos-ui-xfce4.post-install