Permalink
Browse files

qt: renaming d-bus -> dbus (#1156)

Adapt the option to build Qt with D-Bus support
  • Loading branch information...
haraldF authored and DomT4 committed May 15, 2016
1 parent 239a222 commit 1abe6fdba6ee928f9aaa8abda48e1c8301cfd866
Showing with 4 additions and 3 deletions.
  1. +4 −3 Formula/qt.rb
View
@@ -30,11 +30,12 @@ class Qt < Formula
option "without-webkit", "Build without QtWebKit module"
depends_on "openssl"
depends_on "d-bus" => :optional
depends_on "dbus" => :optional
depends_on "mysql" => :optional
depends_on "postgresql" => :optional
deprecated_option "qtdbus" => "with-d-bus"
deprecated_option "with-d-bus" => "with-dbus"
resource "test-project" do
url "https://gist.github.com/tdsmith/f55e7e69ae174b5b5a03.git",
@@ -76,8 +77,8 @@ def install
args << "-plugin-sql-mysql" if build.with? "mysql"
args << "-plugin-sql-psql" if build.with? "postgresql"
if build.with? "d-bus"
dbus_opt = Formula["d-bus"].opt_prefix
if build.with? "dbus"
dbus_opt = Formula["dbus"].opt_prefix
args << "-I#{dbus_opt}/lib/dbus-1.0/include"
args << "-I#{dbus_opt}/include/dbus-1.0"
args << "-L#{dbus_opt}/lib"

0 comments on commit 1abe6fd

Please sign in to comment.