2013-12-13 06:06:48 +01:00
|
|
|
using BinDeps
|
2018-06-21 09:59:43 +02:00
|
|
|
using Compat
|
2013-12-13 06:06:48 +01:00
|
|
|
|
2013-12-14 06:44:04 +01:00
|
|
|
@BinDeps.setup
|
|
|
|
|
2018-06-21 09:59:43 +02:00
|
|
|
ENV["JULIA_ROOT"] = abspath(Compat.Sys.BINDIR, "../../")
|
2013-12-13 06:06:48 +01:00
|
|
|
|
2016-04-02 21:33:59 +02:00
|
|
|
# include alias for WinRPM library
|
|
|
|
libportaudio = library_dependency("libportaudio", aliases=["libportaudio-2"])
|
2013-12-14 06:44:04 +01:00
|
|
|
|
|
|
|
# TODO: add other providers with correct names
|
2016-03-20 05:59:36 +01:00
|
|
|
provides(AptGet, "libportaudio2", libportaudio)
|
2014-09-04 15:18:03 +02:00
|
|
|
provides(Pacman, "portaudio", libportaudio)
|
2014-08-25 22:50:04 +02:00
|
|
|
|
2014-01-06 05:44:50 +01:00
|
|
|
|
2016-08-26 19:03:59 +02:00
|
|
|
@static if is_apple()
|
2014-01-06 05:44:50 +01:00
|
|
|
using Homebrew
|
2014-09-04 15:18:03 +02:00
|
|
|
provides(Homebrew.HB, "portaudio", libportaudio)
|
|
|
|
end
|
|
|
|
|
2016-08-26 19:03:59 +02:00
|
|
|
@static if is_windows()
|
2014-09-04 15:18:03 +02:00
|
|
|
using WinRPM
|
2014-10-26 19:47:36 +01:00
|
|
|
provides(WinRPM.RPM, "libportaudio2", libportaudio, os = :Windows)
|
2014-01-06 05:44:50 +01:00
|
|
|
end
|
2013-12-14 06:44:04 +01:00
|
|
|
|
2017-05-22 04:39:15 +02:00
|
|
|
@BinDeps.install Dict(:libportaudio => :libportaudio, )
|