Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cairomm: add recommended X11 dependency.

Fixes #14130.
  • Loading branch information...
commit c21552a9ff730f5d54e00258b28a461c29d2831a 1 parent 63cd6e6
@mikemcquaid mikemcquaid authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  Library/Formula/cairomm.rb
View
3  Library/Formula/cairomm.rb
@@ -5,9 +5,12 @@ class Cairomm < Formula
url 'http://cairographics.org/releases/cairomm-1.10.0.tar.gz'
sha256 '068d96c43eae7b0a3d98648cbfc6fbd16acc385858e9ba6d37b5a47e4dba398f'
+ option 'without-x', 'Build without X11 support'
+
depends_on 'pkg-config' => :build
depends_on 'libsigc++'
depends_on 'cairo'
+ depends_on :x11 unless build.include? 'without-x'
def install
system "./configure", "--disable-dependency-tracking",
Please sign in to comment.
Something went wrong with that request. Please try again.