37 lines
1.4 KiB
Ruby
37 lines
1.4 KiB
Ruby
class DbusGlib < Formula
|
|
desc "GLib bindings for the D-Bus message bus system"
|
|
homepage "https://wiki.freedesktop.org/www/Software/DBusBindings/"
|
|
url "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.110.tar.gz"
|
|
sha256 "7ce4760cf66c69148f6bd6c92feaabb8812dee30846b24cd0f7395c436d7e825"
|
|
revision 1
|
|
|
|
livecheck do
|
|
url "https://dbus.freedesktop.org/releases/dbus-glib/"
|
|
regex(/href=.*?dbus-glib[._-]v?(\d+(?:\.\d+)+)\.t/i)
|
|
end
|
|
|
|
bottle do
|
|
sha256 cellar: :any, arm64_big_sur: "a9616f8be624d19b0514574d4a57fcf52e197f4c15ff9af90c1d352aae46a22a"
|
|
sha256 cellar: :any, big_sur: "df4740d237761b906bde6f0d00010fb1bf3f4aed3fcacc9ad80b142488234796"
|
|
sha256 cellar: :any, catalina: "1e239ecd5e6ba952a9a31ea7902c6b67fe5cf25509a7c796987dfc97efdbd38d"
|
|
sha256 cellar: :any, mojave: "107de2a15de30b069b1628b2b6aa347eaee4bc3931b9ba5a0b6ff9390e3550a8"
|
|
sha256 cellar: :any, high_sierra: "c47b5a0470a8fa82ea95e53317aa255f413b158a0f63a6b5b2ecfd368f176ad4"
|
|
sha256 cellar: :any, sierra: "bdf88ebc93b14b3f934f8ea8415234e099a20919bcf71b86c244393e31442f1c"
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "dbus"
|
|
depends_on "gettext"
|
|
depends_on "glib"
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system bin/"dbus-binding-tool", "--help"
|
|
end
|
|
end
|