device-pine64-pinenote: pull sway-hrdl UI configuration by default when using sway

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8562>
This commit is contained in:
Antoine Martin 2026-05-26 12:45:22 -04:00 committed by The Friendly Meow (merge) Bot
parent b3235f201e
commit 9685303286
No known key found for this signature in database

View file

@ -238,12 +238,13 @@ sway() {
install_if="$pkgname=$pkgver-r$pkgrel sway"
install="$subpkgname.post-upgrade"
# dummy subpackage to allow seamless upgrade from 7-r0 to 8-r0,
# which renamed `sway` to `sway-hrdl. Executes post-upgrade script
# that changes default tinydm session back to vanilla sway, with
# instructions to `apk add device-pine64-pinenote-sway-hrdl` to
# use the opinionated non-default configuration
# TODO: remove in preparation for v26.06 release
# since pinenote requires such an opinionated UI, UI configurations ar
# packaged from community developpers who are leading these efforts, and since
# there is the possibility of multiple UI configurations per UI, aport
# is architectured in a way to support multiple configurations. Since only hrdl's
# configuration is integrated, automatically depend on its subpackage for now.
depends="device-pine64-pinenote-sway-hrdl"
mkdir -p "$subpkgdir"
}