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

This commit is contained in:
Bart Ribbers 2024-07-23 21:38:16 +02:00 committed by Clayton Craft
parent e327f9a79e
commit 1ca8bdad51
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 15 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-bigscreen pkgname=postmarketos-ui-plasma-bigscreen
pkgver=1 pkgver=1
pkgrel=1 pkgrel=2
_commit_configs="a8bd93e279c222be6058ef46b065c11e88aa8400" _commit_configs="a8bd93e279c222be6058ef46b065c11e88aa8400"
pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs" pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs"
url="https://wiki.postmarketos.org/wiki/Plasma_Bigscreen" url="https://wiki.postmarketos.org/wiki/Plasma_Bigscreen"
@ -21,7 +21,7 @@ _pmb_recommends="
nymphcast nymphcast
plank-player plank-player
" "
install="$pkgname.post-install $pkgname.post-upgrade" subpackages="$pkgname-openrc"
source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/plasma-bigscreen/bigscreen-image-settings/-/archive/$_commit_configs/bigscreen-image-settings-$_commit_configs.tar.gz source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/plasma-bigscreen/bigscreen-image-settings/-/archive/$_commit_configs/bigscreen-image-settings-$_commit_configs.tar.gz
qtlogging.ini qtlogging.ini
nymphcast.desktop nymphcast.desktop
@ -39,6 +39,18 @@ package() {
mv "$srcdir"/bigscreen-image-settings-"$_commit_configs"/etc/skel/.config "$pkgdir"/etc/skel/ mv "$srcdir"/bigscreen-image-settings-"$_commit_configs"/etc/skel/.config "$pkgdir"/etc/skel/
} }
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="
a3b877e15f06078c4ac6017d2b6ce57902d23d40c0fbbc8e7ad0af8f5b9ddc802e8e353ee4f48a07315dd2d1fd1b34ed3bfc4235649ba27729cbfd67dad3675a postmarketos-ui-plasma-bigscreen-a8bd93e279c222be6058ef46b065c11e88aa8400.tar.gz a3b877e15f06078c4ac6017d2b6ce57902d23d40c0fbbc8e7ad0af8f5b9ddc802e8e353ee4f48a07315dd2d1fd1b34ed3bfc4235649ba27729cbfd67dad3675a postmarketos-ui-plasma-bigscreen-a8bd93e279c222be6058ef46b065c11e88aa8400.tar.gz
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini 341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini

View file

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

View file

@ -1 +0,0 @@
postmarketos-ui-plasma-bigscreen.post-install