├── README.md └── gqrx.rb /README.md: -------------------------------------------------------------------------------- 1 | UPDATE: This may no longer be necessary. Gqrx is now distributing an [updated OS X app](http://gqrx.dk/download), and it's available as a Homebrew cask (brew cask install gqrx). 2 | ======= 3 | 4 | This is an effort to setup a homebrew formula for http://gqrx.dk. Feel free to file an issue or fork the repo to help me out. 5 | 6 | It is NOT a "gnuradio and friends" repo. It will only include gqrx and will rely on other Formula for GNURadio and other dependancies. 7 | 8 | I want to thank [titanous](https://github.com/titanous/homebrew-gnuradio), [robotastic](https://github.com/robotastic/homebrew-hackrf), [0x90](https://github.com/0x90/homebrew-megarf), and [metacollin](https://github.com/metacollin/homebrew-gnuradio) for their development and inspiration. 9 | 10 | I invite each of them and all of their collaborators to help me get pull requests of gnuradio, gqrx, and other related formula into Homebrew. 11 | 12 | More (most) importantly, I want to thank [csete](https://github.com/csete/gqrx) for his excellent GQRX software. 13 | 14 | UPDATE: Until recently, I recommended [metacollin/homebrew-gnuradio](https://github.com/metacollin/homebrew-gnuradio) to satisfy the GNURadio dependancy. There is now an "official" GNURadio formula in the Homebrew repository. So, now I'm using that one. Also, I plan to submit this formula to Homebrew to make it "official" as well. 15 | 16 | INSTALL 17 | ======= 18 | First, install gnuradio. 19 | 20 | ```sh 21 | brew install gnuradio 22 | ``` 23 | 24 | Second, Gqrx and version 0.5.3 of librtlsdr do not play nice. Until it is updated, we need to use the HEAD version. 25 | 26 | ```sh 27 | brew install librtlsdr --HEAD 28 | ``` 29 | 30 | Third, tap my gqrx and gr-osmosdr repos: 31 | 32 | ```sh 33 | brew tap chleggett/gqrx 34 | brew tap chleggett/gr-osmosdr 35 | ``` 36 | 37 | Fourth, install the Cheetah python module to satisfy the dependency. 38 | 39 | ```sh 40 | brew install python 41 | pip install Cheetah 42 | ``` 43 | 44 | Finally, install gqrx: 45 | 46 | ```sh 47 | brew install gqrx 48 | ``` 49 | -------------------------------------------------------------------------------- /gqrx.rb: -------------------------------------------------------------------------------- 1 | require "formula" 2 | 3 | class Gqrx < Formula 4 | homepage "http://gqrx.dk" 5 | url "https://github.com/csete/gqrx/archive/v2.4.tar.gz" 6 | sha256 "4c561083b3da9423c017ea4fbe7e12fedb0ba7c2065c17b8ac8a0f5403a5da9b" 7 | 8 | head "https://github.com/csete/gqrx.git" 9 | 10 | depends_on "pkg-config" => :build 11 | depends_on "gnuradio" 12 | depends_on "librtlsdr" 13 | depends_on "gr-osmosdr" 14 | depends_on "qt" 15 | 16 | def install 17 | args = "PREFIX=#{prefix}" 18 | mkdir "build" do 19 | system "qmake", "..", *args 20 | system "make" 21 | end 22 | Dir.glob("build/*.app") { |app| mv app, prefix } 23 | end 24 | 25 | test do 26 | system "false" 27 | end 28 | end 29 | --------------------------------------------------------------------------------