homebrew-core/Formula/gst-python.rb

28 lines
1,002 B
Ruby
Raw Normal View History

2015-04-23 14:17:52 +00:00
class GstPython < Formula
desc "GStreamer Python overrides for gobject-introspection-based pygst bindings"
2015-04-23 14:17:52 +00:00
homepage "http://gstreamer.freedesktop.org/modules/gst-python.html"
2015-09-27 15:51:11 +00:00
url "http://gstreamer.freedesktop.org/src/gst-python/gst-python-1.6.0.tar.xz"
sha256 "60dbc7f5ac2b6655ed4a7ed2cee63ee5a525d37cb16eaa6b9df7d7dfe4e9605f"
2015-04-23 14:17:52 +00:00
2015-06-18 06:45:36 +00:00
bottle do
2015-09-30 05:35:24 +00:00
sha256 "2493558defcd65f0b0f486344e679f594feef4b550fd15f4f6946dbaaeab2ef9" => :el_capitan
sha256 "2f874fe16da1680cf209939e708b8806a54cfa5336deaf6f9e2097e257277eaf" => :yosemite
sha256 "94059057636ee841d5cd0474c7f62bb9400b2a7236ca1da09c5593d866d3d81f" => :mavericks
2015-06-18 06:45:36 +00:00
end
2015-04-23 14:17:52 +00:00
depends_on "gst-plugins-base"
depends_on "pygobject3"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
2015-04-24 13:53:55 +00:00
2015-04-24 07:27:15 +00:00
test do
2015-04-24 13:24:51 +00:00
system "gst-inspect-1.0", "python"
2015-04-24 07:05:44 +00:00
end
2015-04-23 14:17:52 +00:00
end