aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Fontaine <antoine.fontaine@epfl.ch>2020-06-20 11:19:20 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-06-20 11:05:21 +0000
commit8036589c9adeb13c479a2a37f0849b6ea17f8f23 (patch)
tree80250de3ad718f66d68e1bd2465aff9e5e019f1a
parent794a0db1299e43335e150ff0f54e4872ba6f71a9 (diff)
downloadaports-8036589c9adeb13c479a2a37f0849b6ea17f8f23.tar.gz
aports-8036589c9adeb13c479a2a37f0849b6ea17f8f23.tar.bz2
aports-8036589c9adeb13c479a2a37f0849b6ea17f8f23.tar.xz
community/pulseaudio: install pulseaudio-bluez if bluez is installed
There has been some discussion about on postmarketOS' bugtracker; fixes https://gitlab.com/postmarketOS/pmaports/-/issues/529.
-rw-r--r--community/pulseaudio/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/pulseaudio/APKBUILD b/community/pulseaudio/APKBUILD
index de7b4f5e83..409a7dc1d6 100644
--- a/community/pulseaudio/APKBUILD
+++ b/community/pulseaudio/APKBUILD
@@ -2,10 +2,11 @@
# Contributor: Pedro Filipe <xpecex@outlook.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=pulseaudio
pkgver=13.0
-pkgrel=9
+pkgrel=10
pkgdesc="A featureful, general-purpose sound server"
url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
arch="all"
@@ -170,6 +171,7 @@ _libpulse_mainloop_glib() {
bluez() {
pkgdesc="Pulseaudio bluetooth support"
+ install_if="$pkgname bluez"
mkdir -p "$subpkgdir"/usr/lib/pulse-$pkgver/modules
mv "$pkgdir"/usr/lib/pulse-$pkgver/modules/*bluez*.so \
"$pkgdir"/usr/lib/pulse-$pkgver/modules/*bluetooth*.so \