main/postmarketos-base-ui: add self-depend on base-ui-audio (MR 5091)
So that we can warranty that any of the packages is installed by
default. In addition, make sure that pipewire-pulse can never be
installed together with
postmarketos-base-ui-audio-pulseaudio. pipewire-pulse provides
pulseaudio, so installations that have pipewire-pulse already
installed would end up in a very weird position otherwise.
Fixes 87d355e08d
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
1cabc5fb2a
commit
4203227fd0
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=postmarketos-base-ui
|
||||
pkgver=22
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Meta package for minimal postmarketOS UI base"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
|
@ -89,10 +89,10 @@ source="$(flatpath $_source644 $_source600 $_source755)"
|
|||
|
||||
_pmb_select="postmarketos-base-ui-wifi"
|
||||
package() {
|
||||
# wifi-backend is provided by a subpackage in this APKBUILD, and it won't
|
||||
# exist when this is evaluated at the top level. It's moved into this
|
||||
# function to work around this.
|
||||
depends="$depends postmarketos-base-ui-wifi"
|
||||
# wifi and audio backends are provided by a subpackage in this APKBUILD,
|
||||
# and it won't exist when this is evaluated at the top level. It's moved
|
||||
# into this function to work around it.
|
||||
depends="$depends postmarketos-base-ui-wifi postmarketos-base-ui-audio"
|
||||
|
||||
local i
|
||||
for i in $_source644; do
|
||||
|
@ -241,7 +241,7 @@ _audio_pipewire() {
|
|||
|
||||
_audio_pulseaudio() {
|
||||
pkgdesc="Use pulseaudio as the audio backend."
|
||||
depends="alsa-plugins-pulse pulseaudio pulseaudio-alsa"
|
||||
depends="alsa-plugins-pulse pulseaudio pulseaudio-alsa !pipewire-pulse"
|
||||
provides="postmarketos-base-ui-audio=$pkgver-r$pkgrel"
|
||||
provider_priority=100
|
||||
|
||||
|
|
Loading…
Reference in a new issue