Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742932 - media-sound/ardour - pulseaudio support missing from ebuild
Summary: media-sound/ardour - pulseaudio support missing from ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-16 11:25 UTC by Martin Cihlář
Modified: 2020-09-16 17:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Cihlář 2020-09-16 11:25:51 UTC
Ardour supports pure ALSA, PulseAudio and JACK as audio back-ends, but the ebuild only allows one to build with support for ALSA only or for ALSA and JACK. There should be a "pulseaudio" USE flag to control whether the user wants to build with PulseAudio support too. I have the following working line in my local ebuild's src_configure():

> $( usex jack "$( usex pulseaudio '--with-backends=alsa,jack,pulseaudio' '--with-backends=alsa,jack' )" "$( usex pulseaudio '--with-backends=alsa,pulseaudio --libjack=weak' '--with-backends=alsa --libjack=weak' )" ) \

There may be a better way of writing it but it seems to work, I've tried compiling with USE="pulseaudio jack", USE="-pulseaudio jack" and USE="pulseaudio -jack" (but not with USE="-pulseaudio -jack") and they worked as expected. 

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-09-16 17:10:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60cf563f907c85cac8bfad68e627141c0eb0454

commit a60cf563f907c85cac8bfad68e627141c0eb0454
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-09-16 17:10:10 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-09-16 17:10:27 +0000

    media-sound/ardour: added pulseaudio use flag
    
    Closes: https://bugs.gentoo.org/742932
    Package-Manager: Portage-3.0.7, Repoman-3.0.1
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/ardour/ardour-6.2-r1.ebuild | 9 +++++++--
 media-sound/ardour/ardour-6.3.ebuild    | 9 +++++++--
 media-sound/ardour/ardour-9999.ebuild   | 9 +++++++--
 3 files changed, 21 insertions(+), 6 deletions(-)