Sha256: 2ccaf0910966e7408cf5f3a645b44a036d1ea3970f41cdb56b959b581f91ca58
Contents?: true
Size: 1.43 KB
Versions: 5
Compression:
Stored size: 1.43 KB
Contents
# -*- encoding: UTF-8 -*- module CSD module Application module Minisip module Component module HDVIPER class << self # This method processes HDVIPER. # 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 # This method informs about the HDVIPER process. # def introduction end # This method downloads the HDVIPER source code. # def checkout Cmd.git_clone('HDVIPER', 'http://github.com/csd/libraries.git', Path.hdviper) end # This method compiles HDVIPER, given that HDVIPER was downloaded before. # def configure_and_make UI.info "Compiling HDVIPER".green.bold Cmd.cd Path.hdviper_x264, :internal => true Cmd.run('./configure') Cmd.run('make -j 15') Cmd.cd Path.hdviper_x264_test_x264api, :internal => true Cmd.run('make -j 15') end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems