diff options
author | Antoine Fontaine <antoine.fontaine@epfl.ch> | 2020-06-20 11:19:20 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-06-20 08:45:26 -0300 |
commit | 275396b7150918c8468863a97585b2552f47cd70 (patch) | |
tree | d0c3113d579d57c0437b7b10d254b6d22267c098 | |
parent | 1af528ad6a6e88695b2fcb4267abe1fe3774de5f (diff) | |
download | aports-275396b7150918c8468863a97585b2552f47cd70.tar.gz aports-275396b7150918c8468863a97585b2552f47cd70.tar.bz2 aports-275396b7150918c8468863a97585b2552f47cd70.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.
(cherry picked from commit 8036589c9adeb13c479a2a37f0849b6ea17f8f23)
-rw-r--r-- | community/pulseaudio/APKBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/community/pulseaudio/APKBUILD b/community/pulseaudio/APKBUILD index de7b4f5e839..409a7dc1d6e 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 \ |