Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
bitlbee: Add libevent option
Browse files Browse the repository at this point in the history
Libevent handlers are considered more stable than the glib ones.

Closes #44786.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
bendoerr authored and DomT4 committed Oct 10, 2015
1 parent 687fce6 commit 5fbd089
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/Formula/bitlbee.rb
Expand Up @@ -14,6 +14,7 @@ class Bitlbee < Formula

option "with-pidgin", "Use finch/libpurple for all communication with instant messaging networks"
option "with-libotr", "Build with otr (off the record) support"
option "with-libevent", "Use libevent for the event-loop handling rather than glib."

deprecated_option "with-finch" => "with-pidgin"

Expand All @@ -24,6 +25,7 @@ class Bitlbee < Formula
depends_on "libgcrypt"
depends_on "pidgin" => :optional
depends_on "libotr" => :optional
depends_on "libevent" => :optional

def install
args = %W[
Expand All @@ -37,6 +39,7 @@ def install

args << "--purple=1" if build.with? "pidgin"
args << "--otr=1" if build.with? "libotr"
args << "--events=libevent" if build.with? "libevent"

system "./configure", *args

Expand Down

0 comments on commit 5fbd089

Please sign in to comment.