main: postmarketos-ui-*: mark UIs with DRM requirement

"pmb:gpu-accel" is deprecated now, replace it with "pmb:drm"

Set "pmb:drm" for UIs to hide them for installations
without DRM support (mostly downstream).

This also bumps the minimum required version for pmbootstrap, since it
requires pmb to support the renamed variable. 2.4.0 is the first
release with such change.

Closes #2999
Closes #1481

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6419

[ci:ignore-count]: The MR just includes many packages.
[ci:skip-vercheck]: Changes don't affect built packages.
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Pablo Correa Gómez
2025-06-02 23:27:40 +02:00
parent 8519c1f3f3
commit 18cd11d7fc
13 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ source="
asteroid-launcher-wrapper.sh
gtk-app-wayland.sh
"
options="!check pmb:systemd"
options="!check pmb:drm pmb:systemd"
package() {
install -Dm755 "$srcdir"/asteroid-launcher-wrapper.sh "$pkgdir"/usr/bin/asteroid-launcher-wrapper
+1 -1
View File
@@ -32,7 +32,7 @@ _pmb_groups="
wroomd
"
subpackages="$pkgname-openrc"
options="!check"
options="!check pmb:drm"
package() {
mkdir -p "$pkgdir"
+1 -1
View File
@@ -7,7 +7,7 @@ pkgdesc="(Wayland) Kiosk WM"
arch="all"
url="https://postmarketos.org/"
license="GPL-3.0-or-later"
options="!check"
options="!check pmb:drm"
depends="postmarketos-base-ui-cage"
# https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2347
_pmb_groups="seat"
+1 -1
View File
@@ -41,7 +41,7 @@ source="
favorites.conf
wallpaper.conf
"
options="!check pmb:gpu-accel pmb:systemd"
options="!check pmb:drm pmb:systemd"
replaces="
cosmic-applets
cosmic-bg
+1 -1
View File
@@ -20,7 +20,7 @@ depends="
"
subpackages="$pkgname-openrc"
source="automount-media.rules"
options="!check pmb:gpu-accel pmb:systemd"
options="!check pmb:drm pmb:systemd"
package() {
install -Dm 644 automount-media.rules \
+1 -1
View File
@@ -37,7 +37,7 @@ source="
wlgreet.toml
"
# No tests
options="!check pmb:gpu-accel pmb:systemd"
options="!check pmb:drm pmb:systemd"
package() {
# niri configuration for the greeter
+1 -1
View File
@@ -36,7 +36,7 @@ source="
mimeapps.list
udiskie.desktop
"
options="!check pmb:gpu-accel pmb:systemd"
options="!check pmb:drm pmb:systemd"
subpackages="$pkgname-openrc $pkgname-systemd"
package() {
@@ -26,7 +26,7 @@ source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/plasma-bigscree
qtlogging.ini
nymphcast.desktop
"
options="!check pmb:gpu-accel"
options="!check pmb:drm"
package() {
install -Dm644 -t "$pkgdir"/etc/xdg/QtProject \
+1 -1
View File
@@ -36,7 +36,7 @@ source="
"
subpackages="$pkgname-extras $pkgname-openrc"
replaces="plasma-mobile"
options="!check pmb:gpu-accel pmb:systemd"
options="!check pmb:drm pmb:systemd"
package() {
install -Dm644 \
+2 -2
View File
@@ -3,7 +3,7 @@
pkgname=postmarketos-ui-sway
pkgver=3.1
pkgrel=10
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)"
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm"
url="https://postmarketos.org"
arch="noarch"
license="GPL-3.0-or-later"
@@ -37,7 +37,7 @@ source="
etc-sway-config
etc-sway-config.d-00-logo-key.conf
"
options="!check pmb:gpu-accel" # no testsuite
options="!check pmb:drm" # no testsuite
replaces="sway"
package() {
+1 -1
View File
@@ -40,7 +40,7 @@ _pmb_recommends="
"
provides="postmarketos-ui-sxmo"
provider_priority=10
options="!check"
options="!check pmb:drm"
subpackages="$pkgname-openrc"
package() {
+1 -1
View File
@@ -31,7 +31,7 @@ _pmb_recommends="htop
"
subpackages="$pkgname-openrc"
source="start_weston.sh weston.ini.default"
options="!check pmb:gpu-accel" # Meta package, no test suite
options="!check pmb:drm" # Meta package, no test suite
package() {
install -Dm755 "$srcdir"/start_weston.sh \
+1 -1
View File
@@ -1,7 +1,7 @@
# Reference: https://postmarketos.org/pmaports.cfg
[pmaports]
version=7
pmbootstrap_min_version=2.3.3
pmbootstrap_min_version=3.4.0
channel=edge
supported_root_filesystems=btrfs,ext4,f2fs
supported_firewall=nftables