mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
26 lines
602 B
Ruby
26 lines
602 B
Ruby
require 'package'
|
|
|
|
class Libx265 < Package
|
|
description 'x265 is a H.265 / HEVC video encoder application library.'
|
|
homepage 'http://x265.org/'
|
|
version '2.4'
|
|
source_url 'https://bitbucket.org/multicoreware/x265/downloads/x265_2.4.tar.gz'
|
|
source_sha256 '9c2aa718d78f6fecdd783f08ab83b98d3169e5f670404da4c16439306907d729'
|
|
|
|
depends_on 'cmake'
|
|
depends_on 'yasm'
|
|
|
|
def self.build
|
|
FileUtils.cd('source') do
|
|
system "cmake ."
|
|
system "make"
|
|
end
|
|
end
|
|
|
|
def self.install
|
|
FileUtils.cd('source') do
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|
|
end
|