aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-09-26 21:52:55 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-09-26 21:55:27 +0200
commit235bef8dba400de6d14e5332fd57fc46e65bdc59 (patch)
tree9e8b417c7a8b8344ce536305c45558be0d73a869
parente2f0a71ddc7d87937ac08f31a0a0b5fd28b01f38 (diff)
downloadaports-235bef8dba400de6d14e5332fd57fc46e65bdc59.tar.gz
aports-235bef8dba400de6d14e5332fd57fc46e65bdc59.tar.bz2
aports-235bef8dba400de6d14e5332fd57fc46e65bdc59.tar.xz
community/libcanberra: don't install -alsa if pulseaudio is installed
Just to avoid unnecessary installation of multiple backends.
-rw-r--r--community/libcanberra/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/libcanberra/APKBUILD b/community/libcanberra/APKBUILD
index f19065ab9f..63c90917cb 100644
--- a/community/libcanberra/APKBUILD
+++ b/community/libcanberra/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libcanberra
pkgver=0.30
-pkgrel=7
+pkgrel=8
pkgdesc="Simple audio library for GTK applications"
url="http://0pointer.de/lennart/projects/libcanberra/"
arch="all"
@@ -79,7 +79,7 @@ gtk3() {
alsa() {
pkgdesc="ALSA backend for libcanberra"
depends="$pkgname=$pkgver-r$pkgrel"
- install_if="$pkgname=$pkgver-r$pkgrel alsa-lib"
+ install_if="$pkgname=$pkgver-r$pkgrel alsa-lib !pulseaudio"
amove usr/lib/libcanberra-$pkgver/libcanberra-alsa.so
}