Sha256: 4be43f0fd23eddb124c1bc35216006028e2b9bbbfe98820302804aaa1d36a436
Contents?: true
Size: 1.42 KB
Versions: 16
Compression:
Stored size: 1.42 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') Cmd.cd Path.hdviper_x264_test_x264api, :internal => true Cmd.run('make') end end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems