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

This commit is contained in:
Bart Ribbers 2024-07-23 21:54:29 +02:00 committed by Clayton Craft
parent 44b6052116
commit 32577eda60
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 15 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com> # Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=postmarketos-ui-lxqt pkgname=postmarketos-ui-lxqt
pkgver=0.3 pkgver=0.3
pkgrel=1 pkgrel=2
pkgdesc="(X11) Lightweight Qt Desktop Environment (stylus recommended)" pkgdesc="(X11) Lightweight Qt Desktop Environment (stylus recommended)"
url="https://lxqt-project.org/" url="https://lxqt-project.org/"
# armhf: lxqt-desktop not available # armhf: lxqt-desktop not available
@ -12,7 +12,6 @@ depends="
dbus-x11 dbus-x11
dnsmasq dnsmasq
elogind elogind
elogind-openrc
lxqt-desktop lxqt-desktop
lxqt-policykit lxqt-policykit
mesa-egl mesa-egl
@ -21,7 +20,6 @@ depends="
postmarketos-base-ui-networkmanager postmarketos-base-ui-networkmanager
setxkbmap setxkbmap
tinydm tinydm
tinydm-openrc
upower upower
xfce4-screensaver xfce4-screensaver
xorg-server xorg-server
@ -45,7 +43,7 @@ _pmb_recommends="
screengrab screengrab
unclutter-xfixes unclutter-xfixes
" "
install="$pkgname.post-install $pkgname.post-upgrade" subpackages="$pkgname-openrc"
source=" source="
$pkgname-$pkgver.tar.gz::https://gitlab.com/antoni.aloytorrens/lxqt-tablet/-/archive/$pkgver/lxqt-tablet-$pkgver.tar.gz $pkgname-$pkgver.tar.gz::https://gitlab.com/antoni.aloytorrens/lxqt-tablet/-/archive/$pkgver/lxqt-tablet-$pkgver.tar.gz
10_onboard.gschema.override 10_onboard.gschema.override
@ -81,6 +79,18 @@ package() {
"$srcdir"/lxqt-tablet.sh "$srcdir"/lxqt-tablet.sh
} }
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
elogind-openrc
networkmanager-openrc
tinydm-openrc
"
mkdir -p "$subpkgdir"
}
sha512sums=" sha512sums="
d3bfa79f4f7dbf478ea5b321918d8a733a726839ab92b02c85a53fd3102b5b2cc5c928fbdfb6bc05bb7e8038bf13d45ccd73975160046912128bcfb4e2f2909c postmarketos-ui-lxqt-0.3.tar.gz d3bfa79f4f7dbf478ea5b321918d8a733a726839ab92b02c85a53fd3102b5b2cc5c928fbdfb6bc05bb7e8038bf13d45ccd73975160046912128bcfb4e2f2909c postmarketos-ui-lxqt-0.3.tar.gz
ffcc518ff58d37de302bd101e57bf983800e45899645d476045d0a74096704333a0b513f45e6a5485fdbd80ac1caebce14a760cab6fcc6d5dde0d766ade8b58b 10_onboard.gschema.override ffcc518ff58d37de302bd101e57bf983800e45899645d476045d0a74096704333a0b513f45e6a5485fdbd80ac1caebce14a760cab6fcc6d5dde0d766ade8b58b 10_onboard.gschema.override

View file

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

View file

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