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>
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||||
pkgname=postmarketos-base-ui
|
pkgname=postmarketos-base-ui
|
||||||
pkgver=22
|
pkgver=22
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Meta package for minimal postmarketOS UI base"
|
pkgdesc="Meta package for minimal postmarketOS UI base"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
@ -89,10 +89,10 @@ source="$(flatpath $_source644 $_source600 $_source755)"
|
||||||
|
|
||||||
_pmb_select="postmarketos-base-ui-wifi"
|
_pmb_select="postmarketos-base-ui-wifi"
|
||||||
package() {
|
package() {
|
||||||
# wifi-backend is provided by a subpackage in this APKBUILD, and it won't
|
# wifi and audio backends are provided by a subpackage in this APKBUILD,
|
||||||
# exist when this is evaluated at the top level. It's moved into this
|
# and it won't exist when this is evaluated at the top level. It's moved
|
||||||
# function to work around this.
|
# into this function to work around it.
|
||||||
depends="$depends postmarketos-base-ui-wifi"
|
depends="$depends postmarketos-base-ui-wifi postmarketos-base-ui-audio"
|
||||||
|
|
||||||
local i
|
local i
|
||||||
for i in $_source644; do
|
for i in $_source644; do
|
||||||
|
@ -241,7 +241,7 @@ _audio_pipewire() {
|
||||||
|
|
||||||
_audio_pulseaudio() {
|
_audio_pulseaudio() {
|
||||||
pkgdesc="Use pulseaudio as the audio backend."
|
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"
|
provides="postmarketos-base-ui-audio=$pkgver-r$pkgrel"
|
||||||
provider_priority=100
|
provider_priority=100
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue