main/postmarketos-ui-*: add GPU acceleration option (MR 2078)

Adds pmb:gpu-accel option to Phosh, Plasma Mobile/Bigscreen, Sway,
Glacier and Kodi APKBUILDs to hide the UIs at `pmbootstrap init`
for devices without GPU acceleration support.

Related: pmbootstrap!2043

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
This commit is contained in:
Anri Dellal 2021-03-31 13:16:33 +03:00 committed by Clayton Craft
parent 1d3776d45d
commit 196ff18b06
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54
6 changed files with 6 additions and 6 deletions

View file

@ -41,7 +41,7 @@ source="
glacier.desktop glacier.desktop
glacier-qt-mobile-controls.sh glacier-qt-mobile-controls.sh
" "
options="!check" # No code to test options="!check pmb:gpu-accel" # No code to test
package() { package() {
install -Dm755 "$srcdir"/glacier.sh \ install -Dm755 "$srcdir"/glacier.sh \

View file

@ -19,7 +19,7 @@ depends="
" "
install="$pkgname.post-install $pkgname.post-upgrade" install="$pkgname.post-install $pkgname.post-upgrade"
source="kodi.desktop" source="kodi.desktop"
options="!check" options="!check pmb:gpu-accel"
package() { package() {
install -Dm644 "$srcdir"/kodi.desktop \ install -Dm644 "$srcdir"/kodi.desktop \

View file

@ -56,7 +56,7 @@ source="
phosh-qt-mobile-controls.sh phosh-qt-mobile-controls.sh
phosh-qt-wayland.sh phosh-qt-wayland.sh
" "
options="!check" options="!check pmb:gpu-accel"
package() { package() {
install -Dm644 "$srcdir"/000-gschema.override \ install -Dm644 "$srcdir"/000-gschema.override \

View file

@ -36,7 +36,7 @@ install="$pkgname.post-install $pkgname.post-upgrade"
source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/bshah/mycroft-devices/-/archive/$_commit_configs/mycroft-devices-$_commit_configs.tar.gz source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/bshah/mycroft-devices/-/archive/$_commit_configs/mycroft-devices-$_commit_configs.tar.gz
qtlogging.ini qtlogging.ini
" "
options="!check" options="!check pmb:gpu-accel"
package() { package() {
install -Dm644 "$srcdir"/qtlogging.ini \ install -Dm644 "$srcdir"/qtlogging.ini \

View file

@ -76,7 +76,7 @@ source="
kdewallet.salt kdewallet.salt
" "
subpackages="$pkgname-extras" subpackages="$pkgname-extras"
options="!check" options="!check pmb:gpu-accel"
package() { package() {
install -Dm644 "$srcdir"/kwinrc \ install -Dm644 "$srcdir"/kwinrc \

View file

@ -29,7 +29,7 @@ source="
etc-sway-config etc-sway-config
etc-sway-config.d-00-logo-key.conf etc-sway-config.d-00-logo-key.conf
" "
options="!check" # no testsuite options="!check pmb:gpu-accel" # no testsuite
replaces="sway" replaces="sway"
package() { package() {