Uniformize formulae dependencies, pass brew style
This commit is contained in:
parent
63cd02d4b2
commit
b506763a7c
|
@ -20,7 +20,7 @@ class GtkVnc < Formula
|
||||||
depends_on "libgpg-error"
|
depends_on "libgpg-error"
|
||||||
depends_on "pango"
|
depends_on "pango"
|
||||||
# TODO: sound
|
# TODO: sound
|
||||||
#depends_on "pulseaudio"
|
# depends_on "pulseaudio"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-dependency-tracking",
|
system "./configure", "--disable-dependency-tracking",
|
||||||
|
|
|
@ -3,13 +3,13 @@ class Libosinfo < Formula
|
||||||
url "https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-0.2.12.tar.gz"
|
url "https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-0.2.12.tar.gz"
|
||||||
sha256 "fa00ea8ddbca06c0dcc31e8938ac55cb71e71c6e2449687cd2c9e003a9478fed"
|
sha256 "fa00ea8ddbca06c0dcc31e8938ac55cb71e71c6e2449687cd2c9e003a9478fed"
|
||||||
|
|
||||||
depends_on "pkg-config" => :build
|
|
||||||
depends_on "intltool" => :build
|
|
||||||
depends_on "gobject-introspection" => :build
|
depends_on "gobject-introspection" => :build
|
||||||
|
depends_on "intltool" => :build
|
||||||
|
depends_on "pkg-config" => :build
|
||||||
|
|
||||||
depends_on "check"
|
depends_on "check"
|
||||||
|
depends_on "libsoup-with-gnome"
|
||||||
depends_on "libxml2"
|
depends_on "libxml2"
|
||||||
depends_on "libsoup-with-gnome" => "with-gobject-introspection"
|
|
||||||
|
|
||||||
patch :DATA # remove unknown linker option: --no-undefined
|
patch :DATA # remove unknown linker option: --no-undefined
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@ class Libosinfo < Formula
|
||||||
"--disable-silent-rules",
|
"--disable-silent-rules",
|
||||||
"--enable-introspection",
|
"--enable-introspection",
|
||||||
"--prefix=#{prefix}"
|
"--prefix=#{prefix}"
|
||||||
|
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,24 +4,21 @@ class LibsoupWithGnome < Formula
|
||||||
url "https://download.gnome.org/sources/libsoup/2.52/libsoup-2.52.0.tar.xz"
|
url "https://download.gnome.org/sources/libsoup/2.52/libsoup-2.52.0.tar.xz"
|
||||||
sha256 "6c6c366622a1a9d938e0cea9b557fa536f088784251d31381ccd1b115a466785"
|
sha256 "6c6c366622a1a9d938e0cea9b557fa536f088784251d31381ccd1b115a466785"
|
||||||
|
|
||||||
depends_on "pkg-config" => :build
|
depends_on "gobject-introspection" => :build
|
||||||
depends_on "intltool" => :build
|
depends_on "intltool" => :build
|
||||||
|
depends_on "pkg-config" => :build
|
||||||
|
depends_on "vala" => :build
|
||||||
|
|
||||||
depends_on "glib-networking"
|
depends_on "glib-networking"
|
||||||
depends_on "gnutls"
|
depends_on "gnutls"
|
||||||
depends_on "sqlite"
|
depends_on "sqlite"
|
||||||
depends_on "gobject-introspection"
|
|
||||||
depends_on "vala"
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
args = [
|
system "./configure", "--disable-debug",
|
||||||
"--disable-debug",
|
"--disable-dependency-tracking",
|
||||||
"--disable-dependency-tracking",
|
"--disable-silent-rules",
|
||||||
"--disable-silent-rules",
|
"--prefix=#{prefix}",
|
||||||
"--prefix=#{prefix}",
|
"--disable-tls-check"
|
||||||
"--disable-tls-check"
|
|
||||||
]
|
|
||||||
|
|
||||||
system "./configure", *args
|
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,13 +3,13 @@ class LibvirtGlib < Formula
|
||||||
url "https://libvirt.org/sources/glib/libvirt-glib-0.2.2.tar.gz"
|
url "https://libvirt.org/sources/glib/libvirt-glib-0.2.2.tar.gz"
|
||||||
sha256 "d7be16025231c91ccae43838b7cdb1d55d181856a2a50b0f7b1c5078ad202d9d"
|
sha256 "d7be16025231c91ccae43838b7cdb1d55d181856a2a50b0f7b1c5078ad202d9d"
|
||||||
|
|
||||||
depends_on "pkg-config" => :build
|
|
||||||
depends_on "intltool" => :build
|
|
||||||
depends_on "gobject-introspection" => :build
|
depends_on "gobject-introspection" => :build
|
||||||
|
depends_on "intltool" => :build
|
||||||
|
depends_on "pkg-config" => :build
|
||||||
|
|
||||||
depends_on "glib"
|
depends_on "glib"
|
||||||
depends_on "libxml2"
|
|
||||||
depends_on "libvirt"
|
depends_on "libvirt"
|
||||||
|
depends_on "libxml2"
|
||||||
|
|
||||||
patch :DATA # remove unsupported linker option: --version-script
|
patch :DATA # remove unsupported linker option: --version-script
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@ class LibvirtGlib < Formula
|
||||||
"--disable-silent-rules",
|
"--disable-silent-rules",
|
||||||
"--enable-introspection",
|
"--enable-introspection",
|
||||||
"--prefix=#{prefix}"
|
"--prefix=#{prefix}"
|
||||||
|
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,8 +5,8 @@ class SpiceGtk < Formula
|
||||||
|
|
||||||
depends_on "gobject-introspection" => :build
|
depends_on "gobject-introspection" => :build
|
||||||
depends_on "intltool" => :build
|
depends_on "intltool" => :build
|
||||||
depends_on "pkg-config" => :build
|
|
||||||
depends_on "libtool" => :build
|
depends_on "libtool" => :build
|
||||||
|
depends_on "pkg-config" => :build
|
||||||
depends_on "vala" => :build
|
depends_on "vala" => :build
|
||||||
|
|
||||||
depends_on "cairo"
|
depends_on "cairo"
|
||||||
|
|
|
@ -3,8 +3,8 @@ class Usbredir < Formula
|
||||||
url "http://www.spice-space.org/download/usbredir/usbredir-0.7.tar.bz2"
|
url "http://www.spice-space.org/download/usbredir/usbredir-0.7.tar.bz2"
|
||||||
sha256 "0a63a0712b5dc62be9cca44f97270fea5d1ec1fe7dde0c11dc74a01c8e2006aa"
|
sha256 "0a63a0712b5dc62be9cca44f97270fea5d1ec1fe7dde0c11dc74a01c8e2006aa"
|
||||||
|
|
||||||
depends_on "pkg-config" => :build
|
|
||||||
depends_on "libtool" => :build
|
depends_on "libtool" => :build
|
||||||
|
depends_on "pkg-config" => :build
|
||||||
|
|
||||||
depends_on "libusb"
|
depends_on "libusb"
|
||||||
|
|
||||||
|
|
|
@ -3,25 +3,23 @@ class VirtManager < Formula
|
||||||
url "https://fedorahosted.org/released/virt-manager/virt-manager-1.2.1.tar.gz"
|
url "https://fedorahosted.org/released/virt-manager/virt-manager-1.2.1.tar.gz"
|
||||||
sha256 "74bba80e72e5e1b4d84f1d5b7211b874e9c4ae00a0a44149d1721acab38ce6be"
|
sha256 "74bba80e72e5e1b4d84f1d5b7211b874e9c4ae00a0a44149d1721acab38ce6be"
|
||||||
|
|
||||||
depends_on "pkg-config" => :build
|
|
||||||
depends_on "intltool" => :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+3"
|
||||||
|
depends_on "gtk-vnc"
|
||||||
|
depends_on "hicolor-icon-theme"
|
||||||
|
depends_on "libosinfo"
|
||||||
|
depends_on "libvirt"
|
||||||
depends_on "libvirt-glib"
|
depends_on "libvirt-glib"
|
||||||
depends_on "libxml2" => "with-python"
|
depends_on "libxml2" => "with-python"
|
||||||
depends_on "vte3"
|
depends_on "pygobject3"
|
||||||
depends_on "d-bus"
|
|
||||||
depends_on :x11
|
|
||||||
depends_on "libosinfo"
|
|
||||||
|
|
||||||
# TODO: audio
|
|
||||||
depends_on "gtk-vnc"
|
|
||||||
depends_on "spice-gtk"
|
depends_on "spice-gtk"
|
||||||
|
depends_on "vte3"
|
||||||
depends_on "libvirt"
|
depends_on :x11
|
||||||
depends_on "hicolor-icon-theme"
|
# TODO: audio
|
||||||
depends_on "gnome-icon-theme"
|
|
||||||
|
|
||||||
resource "libvirt-python" do
|
resource "libvirt-python" do
|
||||||
url "https://libvirt.org/sources/python/libvirt-python-1.2.21.tar.gz"
|
url "https://libvirt.org/sources/python/libvirt-python-1.2.21.tar.gz"
|
||||||
|
|
|
@ -3,21 +3,19 @@ class VirtViewer < Formula
|
||||||
url "https://fedorahosted.org/released/virt-viewer/virt-viewer-2.0.tar.gz"
|
url "https://fedorahosted.org/released/virt-viewer/virt-viewer-2.0.tar.gz"
|
||||||
sha256 "e9c583bcb5acdabac6a8a13eff6ce4e093a3050645771628f832e15ce685d437"
|
sha256 "e9c583bcb5acdabac6a8a13eff6ce4e093a3050645771628f832e15ce685d437"
|
||||||
|
|
||||||
depends_on "pkg-config" => :build
|
|
||||||
depends_on "intltool" => :build
|
depends_on "intltool" => :build
|
||||||
depends_on "libtool" => :build
|
depends_on "libtool" => :build
|
||||||
|
depends_on "pkg-config" => :build
|
||||||
|
|
||||||
depends_on "gtk+3"
|
depends_on "gtk+3"
|
||||||
depends_on :x11
|
|
||||||
|
|
||||||
# TODO: audio
|
|
||||||
depends_on "gtk-vnc"
|
depends_on "gtk-vnc"
|
||||||
|
depends_on "hicolor-icon-theme"
|
||||||
|
depends_on "libvirt"
|
||||||
|
depends_on "shared-mime-info"
|
||||||
depends_on "spice-gtk"
|
depends_on "spice-gtk"
|
||||||
depends_on "spice-protocol"
|
depends_on "spice-protocol"
|
||||||
|
depends_on :x11
|
||||||
depends_on "libvirt"
|
# TODO: audio
|
||||||
depends_on "hicolor-icon-theme"
|
|
||||||
depends_on "shared-mime-info"
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-dependency-tracking",
|
system "./configure", "--disable-dependency-tracking",
|
||||||
|
|
Loading…
Reference in a new issue