Skip to content

Commit

Permalink
(#21158) [pulseaudio] Update fftw options
Browse files Browse the repository at this point in the history
* Update fftw dependency

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Fix comment

Signed-off-by: Uilian Ries <uilianries@gmail.com>

---------

Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries authored Nov 29, 2023
1 parent 3d3e379 commit 0760063
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions recipes/pulseaudio/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def requirements(self):
if self.options.with_alsa:
self.requires("libalsa/1.2.10")
if self.options.with_glib:
self.requires("glib/2.78.0")
self.requires("glib/2.78.1")
if self.options.get_safe("with_fftw"):
self.requires("fftw/3.3.10")
if self.options.with_x11:
Expand All @@ -79,11 +79,10 @@ def validate(self):
raise ConanInvalidConfiguration("pulseaudio supports only linux currently")

if self.options.get_safe("with_fftw"):
fftw_precision = self.dependencies["fftw"].options.precision
if fftw_precision != "single":
if not self.dependencies["fftw"].options.precision_single:
raise ConanInvalidConfiguration(
f"Pulse audio cannot use fftw {fftw_precision} precision. "
"Either set option fftw:precision=single or pulseaudio:with_fftw=False"
f"Pulse audio uses fftw single precision. "
"Either set option -o fftw/*:precision_single=True or -o pulseaudio/*:with_fftw=False"
)

def build_requirements(self):
Expand Down

0 comments on commit 0760063

Please sign in to comment.