Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bitlbee: optional otr support

Closes #15261.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit c5d69aed697e7d01e7535005ab73e78a92d2c328 1 parent 7c1056b
McKay Marston authored adamv committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 Library/Formula/bitlbee.rb
View
5 Library/Formula/bitlbee.rb
@@ -6,10 +6,12 @@ class Bitlbee < Formula
sha1 '74afdff87be49ce060771a6ae10d7643cd57b9b6'
option 'purple', "Use libpurple for all communication with instant messaging networks"
+ option 'with-otr', "Build with otr (off the record) support"
depends_on 'glib'
depends_on 'gnutls'
- depends_on 'libpurple' if build.include? 'purple'
+ depends_on 'libpurple' => :optional if build.include? 'purple'
+ depends_on 'libotr' => :optional if build.include? 'with-otr'
def install
# By default Homebrew will set ENV['LD'] to the same as ENV['CC'] which
@@ -27,6 +29,7 @@ def install
"--ipsocket=#{var}/bitlbee/run/bitlbee.sock"]
args << "--purple=1" if build.include? "purple"
+ args << "--otr=1" if build.include? "with-otr"
system "./configure", *args
Please sign in to comment.
Something went wrong with that request. Please try again.