diff options
| author | Jack Nagel | 2013-03-23 17:23:27 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-23 18:07:34 -0500 |
| commit | 94c8cd130c8fa68452cffc0c4f14e5adef74e579 (patch) | |
| tree | 05afd8d7bd2f68e2f8d29d7effb7fd54006facca /Library/Formula | |
| parent | 023ad40e27f857052cad0e484e64239c37bcfa23 (diff) | |
| download | homebrew-94c8cd130c8fa68452cffc0c4f14e5adef74e579.tar.bz2 | |
Remove gst-python
gst-python was not ported to the gstreamer 1.0.x series. It has been
moved to homebrew-versions along with the rest of of the 0.10.x
packages.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gst-python.rb | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/Library/Formula/gst-python.rb b/Library/Formula/gst-python.rb deleted file mode 100644 index 4ab1bd3b3..000000000 --- a/Library/Formula/gst-python.rb +++ /dev/null @@ -1,53 +0,0 @@ -require 'formula' - -class GstPython < Formula - homepage 'http://gstreamer.freedesktop.org/' - url 'http://gstreamer.freedesktop.org/src/gst-python/gst-python-0.10.22.tar.bz2' - sha1 '7012445d921ae1b325c162500750c9b0e777201f' - - depends_on 'pkg-config' => :build - depends_on 'gst-plugins-base' - depends_on 'pygtk' - - def install - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}" - system "make install" - end - - def caveats; <<-EOS.undent - For non-Homebrew Python, you need to amend your PYTHONPATH like so: - export PYTHONPATH=#{HOMEBREW_PREFIX}/lib/#{which_python}/site-packages:$PYTHONPATH - EOS - end - - def which_python - "python" + `python -c 'import sys;print(sys.version[:3])'`.strip - end - - test do - (testpath/'test.py').write <<-EOS.undent - #!/usr/bin/env python - - import time - - import pygst - pygst.require('0.10') - import gst - - import gobject - gobject.threads_init() - - def main(): - pipeline = gst.parse_launch( - 'audiotestsrc ! audioresample ! fakesink') - pipeline.set_state(gst.STATE_PLAYING) - time.sleep(3) - - if __name__ == "__main__": - main() - EOS - system "chmod +x test.py" - system "./test.py" - end -end |
