Module: CSD::Application::Minisip::Component::HDVIPER
- Defined in:
- lib/csd/application/minisip/component/hdviper.rb
Class Method Summary collapse
-
.checkout ⇒ Object
This method downloads the HDVIPER source code.
-
.compile ⇒ Object
This method processes HDVIPER.
-
.configure_and_make ⇒ Object
This method compiles HDVIPER, given that HDVIPER was downloaded before.
-
.introduction ⇒ Object
This method informs about the HDVIPER process.
Class Method Details
.checkout ⇒ Object
This method downloads the HDVIPER source code.
29 30 31 |
# File 'lib/csd/application/minisip/component/hdviper.rb', line 29 def checkout Cmd.git_clone('HDVIPER', 'http://github.com/csd/libraries.git', Path.hdviper) end |
.compile ⇒ Object
This method processes HDVIPER.
12 13 14 15 16 17 18 19 20 |
# File 'lib/csd/application/minisip/component/hdviper.rb', line 12 def compile UI.debug "#{self}.compile was called" if Path.hdviper.directory? and !Options.reveal UI.warn "HDVIPER will not be processed, because the directory #{Path.hdviper.enquote} already exists." else checkout configure_and_make end end |
.configure_and_make ⇒ Object
This method compiles HDVIPER, given that HDVIPER was downloaded before.
35 36 37 38 39 40 41 42 |
# File 'lib/csd/application/minisip/component/hdviper.rb', line 35 def configure_and_make UI.info "Compiling HDVIPER".green.bold Cmd.cd Path.hdviper_x264, :internal => true Cmd.run('./configure') Cmd.run "make -j #{Options.threads}" Cmd.cd Path.hdviper_x264_test_x264api, :internal => true Cmd.run "make -j #{Options.threads}" end |
.introduction ⇒ Object
This method informs about the HDVIPER process.
24 25 |
# File 'lib/csd/application/minisip/component/hdviper.rb', line 24 def introduction end |