From 54b2ff6979d1a4084382d9993cc472b2183decd0 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Fri, 29 Oct 2021 13:23:15 +0200 Subject: [PATCH] main/postmarketos-ui-plasma-bigscreen: move mycroft to -extra subpackage (MR 2642) MyCroft is something definitely not everybody wants, and it could in theory even make slower devices unusable while they would otherwise work fine with Bigscreen. Let's move it to extras so it's optional to install --- main/postmarketos-ui-plasma-bigscreen/APKBUILD | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/main/postmarketos-ui-plasma-bigscreen/APKBUILD b/main/postmarketos-ui-plasma-bigscreen/APKBUILD index 6b8a9feb0..c40db1b14 100644 --- a/main/postmarketos-ui-plasma-bigscreen/APKBUILD +++ b/main/postmarketos-ui-plasma-bigscreen/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Bart Ribbers pkgname=postmarketos-ui-plasma-bigscreen pkgver=0.2 -pkgrel=8 +pkgrel=9 _commit_configs="757db09c8738b88d59e5d7b35b9939e91a7a31d7" pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs" url="https://wiki.postmarketos.org/wiki/Plasma_Bigscreen" @@ -29,12 +29,11 @@ depends="$depends _pmb_recommends=" aura-browser breeze-icons - mycroft-core - mycroft-plasmoid nymphcast plank-player " install="$pkgname.post-install $pkgname.post-upgrade" +subpackages="$pkgname-extras" source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/bshah/mycroft-devices/-/archive/$_commit_configs/mycroft-devices-$_commit_configs.tar.gz qtlogging.ini nymphcast.desktop @@ -48,6 +47,17 @@ package() { "$srcdir"/nymphcast.desktop mv "$srcdir"/mycroft-devices-"$_commit_configs"/overlays/bigscreen/etc/xdg/* "$pkgdir"/etc/xdg } + +extras() { + pkgdesc="Meta package for additional Plasma Bigscreen apps like MyCroft" + _pmb_recommends=" + mycroft-core + mycroft-plasmoid + " + + mkdir -p "$subpkgdir" +} + sha512sums=" 81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz 341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini