commit:     09f84e1ace61c4adcb30e9fa84cc319513af5c9b
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Thu Mar 10 08:34:12 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 15:22:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f84e1a

media-sound/pulseaudio: Pass through USE flags to dependency

Pass USE flags to media-sound/pulseaudio-daemon to ease transition
for users who have enabled e.g. bluetooth for pulseaudio package only.

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24451
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/pulseaudio/pulseaudio-15.99.1-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-sound/pulseaudio/pulseaudio-15.99.1-r1.ebuild 
b/media-sound/pulseaudio/pulseaudio-15.99.1-r1.ebuild
index cd33ef88feb7..cb446d289297 100644
--- a/media-sound/pulseaudio/pulseaudio-15.99.1-r1.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-15.99.1-r1.ebuild
@@ -15,11 +15,14 @@ LICENSE="metapackage"
 
 SLOT="0"
 
-IUSE="+daemon +glib"
+# NOTE: bluetooth, native-headset and ofono-headset are passed through to
+# pulseaudio-daemon dependency to make sure users who have bluetooth enabled
+# just for pulseaudio package will also get these enabled via metapackage.
+IUSE="bluetooth +daemon +glib jack native-headset ofono-headset"
 
 RDEPEND="
        >=media-libs/libpulse-${PV}[glib?,${MULTILIB_USEDEP}]
-       daemon? ( >=media-sound/pulseaudio-daemon-${PV} )
+       daemon? ( 
>=media-sound/pulseaudio-daemon-${PV}[bluetooth?,glib?,jack?,native-headset?,ofono-headset?]
 )
 "
 DEPEND="${RDEPEND}"
 

Reply via email to