diff options
| author | Chris Koenig | 2012-08-16 13:56:43 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-17 13:34:01 -0500 |
| commit | 280cfc39c0eeddceb0d8872ed07e2642f7ed138f (patch) | |
| tree | f59c4c063d0ff01c77518df01c6ea02a326d2313 /Library | |
| parent | ea5f75d29f259ac3c880db44a9818b82a987a5f6 (diff) | |
| download | homebrew-280cfc39c0eeddceb0d8872ed07e2642f7ed138f.tar.bz2 | |
New formula: libsoup
Intended to be an optional dependency of gst-plugins-good.
Closes #14240.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libsoup.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/libsoup.rb b/Library/Formula/libsoup.rb new file mode 100644 index 000000000..efaa421a0 --- /dev/null +++ b/Library/Formula/libsoup.rb @@ -0,0 +1,32 @@ +require 'formula' + +class Libsoup < Formula + homepage 'http://live.gnome.org/LibSoup' + url 'http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.38/libsoup-2.38.1.tar.xz' + sha256 '71b8923fc7a5fef9abc5420f7f3d666fdb589f43a8c50892d584d58b3c513f9a' + + depends_on 'xz' => :build + depends_on 'glib-networking' # Required at runtime for TLS support + depends_on 'gnutls' # Also required for TLS + depends_on 'sqlite' # For SoupCookieJarSqlite + + fails_with :clang do + build 421 + cause <<-EOS.undent + coding-test.c:69:28: error: format string is not a string literal [-Werror,-Wformat-nonliteral] + file = g_strdup_printf (file_path, path); + ^~~~~~~~~ + + The same error was encountered here: + http://clang.debian.net/logs/2012-06-23/libsoup2.4_2.38.1-2_unstable_clang.log + EOS + end + + def install + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--without-gnome" + system "make install" + end +end |
