systemd/gnome-session: remove dependency of _shell subpkg

Fixes https://builds.sr.ht/~postmarketos/job/1490862

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6524
[ci:skip-build]: build tested locally
This commit is contained in:
fossdd 2025-05-16 16:35:30 +02:00 committed by Oliver Smith
parent 45fc98843d
commit 83b5d2271f
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -30,8 +30,6 @@ makedepends="
xmlto
"
options="!check" #no tests
# FIXME: _shell subpackage is not in this forked package because pmbootstrap
# currently can't handle it: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2592
subpackages="$pkgname-lang $pkgname-doc $pkgname-systemd gnome-shell-session:_shell:noarch"
source="https://download.gnome.org/sources/gnome-session/${_pkgver%%.*}/gnome-session-$_pkgver.tar.xz
gnome-session-bash-login.patch"
@ -58,7 +56,9 @@ _shell() {
# only confuse display managers as gnome-shell isn't installed
pkgdesc="Session files for GNOME Shell"
depends="$pkgname=$pkgver-r$pkgrel gnome-shell"
# FIXME: doesnt depend on gnome-shell right now because pmbootstrap
# currently can't handle it: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2592
#depends="$pkgname=$pkgver-r$pkgrel gnome-shell"
install_if="$pkgname=$pkgver-r$pkgrel gnome-shell"
amove usr/share/gnome-session/sessions