diff options
| author | Jack Nagel | 2014-08-24 19:46:33 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-24 19:46:33 -0500 |
| commit | 13592dc3828334fac6b75ecea47f89f8587b2c43 (patch) | |
| tree | df17795c8e9922367b8eb137f620d803c5555f79 /Library/Formula/phash.rb | |
| parent | 080d86816aeabe841a0a423c5e3f5d6e83561470 (diff) | |
| download | homebrew-13592dc3828334fac6b75ecea47f89f8587b2c43.tar.bz2 | |
phash: define options before dependencies
Diffstat (limited to 'Library/Formula/phash.rb')
| -rw-r--r-- | Library/Formula/phash.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/phash.rb b/Library/Formula/phash.rb index bbb837eb0..49dd75a45 100644 --- a/Library/Formula/phash.rb +++ b/Library/Formula/phash.rb @@ -5,6 +5,10 @@ class Phash < Formula url 'http://phash.org/releases/pHash-0.9.6.tar.gz' sha1 '26f4c1e7ca6b77e6de2bdfce490b2736d4b63753' + option "disable-image-hash", "Disable image hash" + option "disable-video-hash", "Disable video hash" + option "disable-audio-hash", "Disable audio hash" + depends_on 'cimg' unless build.include? "disable-image-hash" and build.include? "disable-video-hash" depends_on 'ffmpeg' unless build.include? "disable-video-hash" @@ -14,10 +18,6 @@ class Phash < Formula depends_on 'mpg123' end - option "disable-image-hash", "Disable image hash" - option "disable-video-hash", "Disable video hash" - option "disable-audio-hash", "Disable audio hash" - fails_with :clang do build 318 cause "configure: WARNING: CImg.h: present but cannot be compiled" |
