From 4ebd7b946d553c8e7ff53026cce978f64546b633 Mon Sep 17 00:00:00 2001 From: Spencer Russell Date: Thu, 4 Sep 2014 09:18:03 -0400 Subject: [PATCH] adds WinRPM to REQUIRE and build.jl --- REQUIRE | 1 + deps/build.jl | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/REQUIRE b/REQUIRE index c8bbffe..a613e52 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,3 +1,4 @@ julia 0.3- BinDeps @osx Homebrew +@windows WinRPM diff --git a/deps/build.jl b/deps/build.jl index 1d34e07..3395fb7 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -8,16 +8,22 @@ libportaudio = library_dependency("libportaudio") libsndfile = library_dependency("libsndfile") # TODO: add other providers with correct names -provides(AptGet, {"portaudio19-dev" => libportaudio}) -provides(AptGet, {"libsndfile1-dev" => libsndfile}) -provides(Pacman, {"portaudio" => libportaudio}) -provides(Pacman, {"libsndfile" => libsndfile}) +provides(AptGet, "portaudio19-dev", libportaudio) +provides(AptGet, "libsndfile1-dev", libsndfile) +provides(Pacman, "portaudio", libportaudio) +provides(Pacman, "libsndfile", libsndfile) @osx_only begin using Homebrew - provides(Homebrew.HB, {"portaudio" => libportaudio}) - provides(Homebrew.HB, {"libsndfile" => libsndfile}) + provides(Homebrew.HB, "portaudio", libportaudio) + 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 @BinDeps.install [:libportaudio => :libportaudio,