Uniformize formulae dependencies, pass brew style

This commit is contained in:
Jeffrey Wildman 2015-11-25 12:08:45 -06:00
parent 63cd02d4b2
commit b506763a7c
8 changed files with 35 additions and 44 deletions

View file

@ -20,7 +20,7 @@ class GtkVnc < Formula
depends_on "libgpg-error"
depends_on "pango"
# TODO: sound
#depends_on "pulseaudio"
# depends_on "pulseaudio"
def install
system "./configure", "--disable-dependency-tracking",

View file

@ -3,13 +3,13 @@ class Libosinfo < Formula
url "https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-0.2.12.tar.gz"
sha256 "fa00ea8ddbca06c0dcc31e8938ac55cb71e71c6e2449687cd2c9e003a9478fed"
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "check"
depends_on "libsoup-with-gnome"
depends_on "libxml2"
depends_on "libsoup-with-gnome" => "with-gobject-introspection"
patch :DATA # remove unknown linker option: --no-undefined
@ -18,7 +18,6 @@ class Libosinfo < Formula
"--disable-silent-rules",
"--enable-introspection",
"--prefix=#{prefix}"
system "make", "install"
end
end

View file

@ -4,24 +4,21 @@ class LibsoupWithGnome < Formula
url "https://download.gnome.org/sources/libsoup/2.52/libsoup-2.52.0.tar.xz"
sha256 "6c6c366622a1a9d938e0cea9b557fa536f088784251d31381ccd1b115a466785"
depends_on "pkg-config" => :build
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "vala" => :build
depends_on "glib-networking"
depends_on "gnutls"
depends_on "sqlite"
depends_on "gobject-introspection"
depends_on "vala"
def install
args = [
"--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--disable-tls-check"
]
system "./configure", *args
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--disable-tls-check"
system "make", "install"
end
end

View file

@ -3,13 +3,13 @@ class LibvirtGlib < Formula
url "https://libvirt.org/sources/glib/libvirt-glib-0.2.2.tar.gz"
sha256 "d7be16025231c91ccae43838b7cdb1d55d181856a2a50b0f7b1c5078ad202d9d"
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "libxml2"
depends_on "libvirt"
depends_on "libxml2"
patch :DATA # remove unsupported linker option: --version-script
@ -18,7 +18,6 @@ class LibvirtGlib < Formula
"--disable-silent-rules",
"--enable-introspection",
"--prefix=#{prefix}"
system "make", "install"
end
end

View file

@ -5,8 +5,8 @@ class SpiceGtk < Formula
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "vala" => :build
depends_on "cairo"

View file

@ -3,8 +3,8 @@ class Usbredir < Formula
url "http://www.spice-space.org/download/usbredir/usbredir-0.7.tar.bz2"
sha256 "0a63a0712b5dc62be9cca44f97270fea5d1ec1fe7dde0c11dc74a01c8e2006aa"
depends_on "pkg-config" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "libusb"

View file

@ -3,25 +3,23 @@ class VirtManager < Formula
url "https://fedorahosted.org/released/virt-manager/virt-manager-1.2.1.tar.gz"
sha256 "74bba80e72e5e1b4d84f1d5b7211b874e9c4ae00a0a44149d1721acab38ce6be"
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "pygobject3"
depends_on "d-bus"
depends_on "gnome-icon-theme"
depends_on "gtk+3"
depends_on "gtk-vnc"
depends_on "hicolor-icon-theme"
depends_on "libosinfo"
depends_on "libvirt"
depends_on "libvirt-glib"
depends_on "libxml2" => "with-python"
depends_on "vte3"
depends_on "d-bus"
depends_on :x11
depends_on "libosinfo"
# TODO: audio
depends_on "gtk-vnc"
depends_on "pygobject3"
depends_on "spice-gtk"
depends_on "libvirt"
depends_on "hicolor-icon-theme"
depends_on "gnome-icon-theme"
depends_on "vte3"
depends_on :x11
# TODO: audio
resource "libvirt-python" do
url "https://libvirt.org/sources/python/libvirt-python-1.2.21.tar.gz"

View file

@ -3,21 +3,19 @@ class VirtViewer < Formula
url "https://fedorahosted.org/released/virt-viewer/virt-viewer-2.0.tar.gz"
sha256 "e9c583bcb5acdabac6a8a13eff6ce4e093a3050645771628f832e15ce685d437"
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "gtk+3"
depends_on :x11
# TODO: audio
depends_on "gtk-vnc"
depends_on "hicolor-icon-theme"
depends_on "libvirt"
depends_on "shared-mime-info"
depends_on "spice-gtk"
depends_on "spice-protocol"
depends_on "libvirt"
depends_on "hicolor-icon-theme"
depends_on "shared-mime-info"
depends_on :x11
# TODO: audio
def install
system "./configure", "--disable-dependency-tracking",