aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2010-12-31 18:13:35 +0000
committerMike McQuaid2010-12-31 20:21:05 +0000
commit53886defe0cfb4309ac229a7ae71567dd4158c61 (patch)
tree2ff870b2d6f68a64985ec6b3e93a309112674a9a /Library/Formula
parentb4640e555a5542879f46cdcb9fdabdce172c778e (diff)
downloadhomebrew-53886defe0cfb4309ac229a7ae71567dd4158c61.tar.bz2
Add liblqr option to imagemagick.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/imagemagick.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb
index 2fcf91ba9..e0c5de418 100644
--- a/Library/Formula/imagemagick.rb
+++ b/Library/Formula/imagemagick.rb
@@ -19,6 +19,10 @@ def use_wmf?
ARGV.include? '--use-wmf'
end
+def use_lqr?
+ ARGV.include? '--use-lqr'
+end
+
def disable_openmp?
ARGV.include? '--disable-openmp'
end
@@ -52,6 +56,7 @@ class Imagemagick <Formula
depends_on 'jasper' => :optional
depends_on 'libwmf' if use_wmf?
+ depends_on 'liblqr' if use_lqr?
def skip_clean? path
path.extname == '.la'
@@ -61,6 +66,7 @@ class Imagemagick <Formula
[
['--with-ghostscript', 'Compile against ghostscript (not recommended.)'],
['--use-wmf', 'Compile with libwmf support.'],
+ ['--use-lqr', 'Compile with liblqr support.'],
['--disable-openmp', 'Disable OpenMP.'],
['--with-magick-plus-plus', 'Compile with C++ interface.']
]