Sha256: 891878bbcde58029e035df12ef58943d1b07e28820699b52a3ea237e04f753c4
Contents?: true
Size: 1.25 KB
Versions: 16
Compression:
Stored size: 1.25 KB
Contents
# -*- encoding: UTF-8 -*- module CSD module Application module Minisip module Component module X264 class << self def compile UI.debug "#{self}.compile was called" if Path.x264_repository.directory? and !Options.reveal UI.warn "x264 will not be processed, because the directory #{Path.x264_repository.enquote} already exists." else checkout make end end def introduction end def checkout Cmd.git_clone('x264 repository', 'http://github.com/csd/x264.git', Path.x264_repository) end # This method compiles x264, given that x264 was downloaded before. # def make UI.info "Compiling and installing x264".green.bold Cmd.cd Path.x264_repository, :internal => true Cmd.run('./configure') Cmd.run('make') Cmd.run('sudo checkinstall --pkgname=x264 --pkgversion "99:-`git log -1 --pretty=format:%h`" --backup=no --default') end end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems