adds WinRPM to REQUIRE and build.jl

This commit is contained in:
Spencer Russell 2014-09-04 09:18:03 -04:00
parent 8d291288cc
commit 4ebd7b946d
2 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,4 @@
julia 0.3- julia 0.3-
BinDeps BinDeps
@osx Homebrew @osx Homebrew
@windows WinRPM

18
deps/build.jl vendored
View file

@ -8,16 +8,22 @@ libportaudio = library_dependency("libportaudio")
libsndfile = library_dependency("libsndfile") libsndfile = library_dependency("libsndfile")
# TODO: add other providers with correct names # TODO: add other providers with correct names
provides(AptGet, {"portaudio19-dev" => libportaudio}) provides(AptGet, "portaudio19-dev", libportaudio)
provides(AptGet, {"libsndfile1-dev" => libsndfile}) provides(AptGet, "libsndfile1-dev", libsndfile)
provides(Pacman, {"portaudio" => libportaudio}) provides(Pacman, "portaudio", libportaudio)
provides(Pacman, {"libsndfile" => libsndfile}) provides(Pacman, "libsndfile", libsndfile)
@osx_only begin @osx_only begin
using Homebrew using Homebrew
provides(Homebrew.HB, {"portaudio" => libportaudio}) provides(Homebrew.HB, "portaudio", libportaudio)
provides(Homebrew.HB, {"libsndfile" => libsndfile}) provides(Homebrew.HB, "libsndfile", libsndfile)
end
@windows_only begin
using WinRPM
provides(WinRPM.RPM, "portaudio", libportaudio, os = :Windows)
provides(WinRPM.RPM, "libsndfile", libsndfile, os = :Windows)
end end
@BinDeps.install [:libportaudio => :libportaudio, @BinDeps.install [:libportaudio => :libportaudio,