1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-13 00:29:49 +03:00

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-01 22:08:34 +02:00
parent 8519c1f3f3
commit 18cd11d7fc
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
13 changed files with 14 additions and 14 deletions

View file

@ -40,7 +40,7 @@ source="
asteroid-launcher-wrapper.sh asteroid-launcher-wrapper.sh
gtk-app-wayland.sh gtk-app-wayland.sh
" "
options="!check pmb:systemd" options="!check pmb:drm pmb:systemd"
package() { package() {
install -Dm755 "$srcdir"/asteroid-launcher-wrapper.sh "$pkgdir"/usr/bin/asteroid-launcher-wrapper install -Dm755 "$srcdir"/asteroid-launcher-wrapper.sh "$pkgdir"/usr/bin/asteroid-launcher-wrapper

View file

@ -32,7 +32,7 @@ _pmb_groups="
wroomd wroomd
" "
subpackages="$pkgname-openrc" subpackages="$pkgname-openrc"
options="!check" options="!check pmb:drm"
package() { package() {
mkdir -p "$pkgdir" mkdir -p "$pkgdir"

View file

@ -7,7 +7,7 @@ pkgdesc="(Wayland) Kiosk WM"
arch="all" arch="all"
url="https://postmarketos.org/" url="https://postmarketos.org/"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
options="!check" options="!check pmb:drm"
depends="postmarketos-base-ui-cage" depends="postmarketos-base-ui-cage"
# https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2347 # https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2347
_pmb_groups="seat" _pmb_groups="seat"

View file

@ -41,7 +41,7 @@ source="
favorites.conf favorites.conf
wallpaper.conf wallpaper.conf
" "
options="!check pmb:gpu-accel pmb:systemd" options="!check pmb:drm pmb:systemd"
replaces=" replaces="
cosmic-applets cosmic-applets
cosmic-bg cosmic-bg

View file

@ -20,7 +20,7 @@ depends="
" "
subpackages="$pkgname-openrc" subpackages="$pkgname-openrc"
source="automount-media.rules" source="automount-media.rules"
options="!check pmb:gpu-accel pmb:systemd" options="!check pmb:drm pmb:systemd"
package() { package() {
install -Dm 644 automount-media.rules \ install -Dm 644 automount-media.rules \

View file

@ -37,7 +37,7 @@ source="
wlgreet.toml wlgreet.toml
" "
# No tests # No tests
options="!check pmb:gpu-accel pmb:systemd" options="!check pmb:drm pmb:systemd"
package() { package() {
# niri configuration for the greeter # niri configuration for the greeter

View file

@ -36,7 +36,7 @@ source="
mimeapps.list mimeapps.list
udiskie.desktop udiskie.desktop
" "
options="!check pmb:gpu-accel pmb:systemd" options="!check pmb:drm pmb:systemd"
subpackages="$pkgname-openrc $pkgname-systemd" subpackages="$pkgname-openrc $pkgname-systemd"
package() { package() {

View file

@ -26,7 +26,7 @@ source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/plasma-bigscree
qtlogging.ini qtlogging.ini
nymphcast.desktop nymphcast.desktop
" "
options="!check pmb:gpu-accel" options="!check pmb:drm"
package() { package() {
install -Dm644 -t "$pkgdir"/etc/xdg/QtProject \ install -Dm644 -t "$pkgdir"/etc/xdg/QtProject \

View file

@ -36,7 +36,7 @@ source="
" "
subpackages="$pkgname-extras $pkgname-openrc" subpackages="$pkgname-extras $pkgname-openrc"
replaces="plasma-mobile" replaces="plasma-mobile"
options="!check pmb:gpu-accel pmb:systemd" options="!check pmb:drm pmb:systemd"
package() { package() {
install -Dm644 \ install -Dm644 \

View file

@ -3,7 +3,7 @@
pkgname=postmarketos-ui-sway pkgname=postmarketos-ui-sway
pkgver=3.1 pkgver=3.1
pkgrel=10 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" url="https://postmarketos.org"
arch="noarch" arch="noarch"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
@ -37,7 +37,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 pmb:gpu-accel" # no testsuite options="!check pmb:drm" # no testsuite
replaces="sway" replaces="sway"
package() { package() {

View file

@ -40,7 +40,7 @@ _pmb_recommends="
" "
provides="postmarketos-ui-sxmo" provides="postmarketos-ui-sxmo"
provider_priority=10 provider_priority=10
options="!check" options="!check pmb:drm"
subpackages="$pkgname-openrc" subpackages="$pkgname-openrc"
package() { package() {

View file

@ -31,7 +31,7 @@ _pmb_recommends="htop
" "
subpackages="$pkgname-openrc" subpackages="$pkgname-openrc"
source="start_weston.sh weston.ini.default" 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() { package() {
install -Dm755 "$srcdir"/start_weston.sh \ install -Dm755 "$srcdir"/start_weston.sh \

View file

@ -1,7 +1,7 @@
# Reference: https://postmarketos.org/pmaports.cfg # Reference: https://postmarketos.org/pmaports.cfg
[pmaports] [pmaports]
version=7 version=7
pmbootstrap_min_version=2.3.3 pmbootstrap_min_version=3.4.0
channel=edge channel=edge
supported_root_filesystems=btrfs,ext4,f2fs supported_root_filesystems=btrfs,ext4,f2fs
supported_firewall=nftables supported_firewall=nftables