aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/phash.rb8
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"