d-bus 1.8.12

Version bump.

Closes Homebrew/homebrew#34484.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2014-11-27 01:52:11 +00:00 committed by Mike McQuaid
parent c4ad0390cf
commit 1449d53cf5

View file

@ -1,12 +1,12 @@
require "formula"
class DBus < Formula
# releases: even (1.8.x) = stable, odd (1.9.x) = development
homepage "http://www.freedesktop.org/wiki/Software/dbus"
url "http://dbus.freedesktop.org/releases/dbus/dbus-1.8.8.tar.gz"
sha1 "e0d10e8b4494383c7e366ac80a942ba45a705a96"
url "http://dbus.freedesktop.org/releases/dbus/dbus-1.8.12.tar.gz"
sha1 "9dc3003a53892b41eb61ade20051aba57be1b4b1"
bottle do
revision 1
sha1 "6258f4a3816c909fe3ef9aa9da7b596c56471d1e" => :yosemite
sha1 "de9cc0897fadf951d0a915263ec8303ce3f27e23" => :mavericks
sha1 "6132e9f82c522fef668c31319bd8c03ae42dfcda" => :mountain_lion
@ -14,6 +14,7 @@ class DBus < Formula
# Upstream fix for O_CLOEXEC portability
# http://cgit.freedesktop.org/dbus/dbus/commit/?id=5d91f615d18629eaac074fbde2ee7e17b82e5472
# This is fixed in 1.9.x but won't be fixed upstream for 1.8.x
patch do
url "http://cgit.freedesktop.org/dbus/dbus/patch/?id=5d91f615d18629eaac074fbde2ee7e17b82e5472"
sha1 "ebb383abb86eeafbe048dbb8b77d83bdf0b7c9bb"
@ -35,7 +36,7 @@ class DBus < Formula
"--disable-tests"
system "make"
ENV.deparallelize
system "make install"
system "make", "install"
(prefix+"org.freedesktop.dbus-session.plist").chmod 0644
end
@ -44,4 +45,8 @@ class DBus < Formula
# Generate D-Bus's UUID for this machine
system "#{bin}/dbus-uuidgen", "--ensure=#{var}/lib/dbus/machine-id"
end
test do
system "#{bin}/dbus-daemon", "--version"
end
end