Commit 1763f54e authored by satmandu's avatar satmandu Committed by GitHub

wrap source

parent 99badf8e
...@@ -6,8 +6,11 @@ class Libx265 < Package ...@@ -6,8 +6,11 @@ class Libx265 < Package
@_ver = '3.4' @_ver = '3.4'
version @_ver version @_ver
compatibility 'x86_64 aarch64 armv7l' compatibility 'x86_64 aarch64 armv7l'
unless ARCH == 'i686'
source_url "https://github.com/videolan/x265/archive/#{@_ver}.tar.gz" source_url "https://github.com/videolan/x265/archive/#{@_ver}.tar.gz"
source_sha256 '544d147bf146f8994a7bf8521ed878c93067ea1c7c6e93ab602389be3117eaaf' source_sha256 '544d147bf146f8994a7bf8521ed878c93067ea1c7c6e93ab602389be3117eaaf'
depends_on 'nasm' => :build
end
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libx265-3.4-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libx265-3.4-chromeos-armv7l.tar.xz',
...@@ -20,8 +23,6 @@ class Libx265 < Package ...@@ -20,8 +23,6 @@ class Libx265 < Package
x86_64: 'fc7647ea5a73c0fdbc2cea1f2c842de8a4a72db11b1fce5907ed79669e598ab4' x86_64: 'fc7647ea5a73c0fdbc2cea1f2c842de8a4a72db11b1fce5907ed79669e598ab4'
}) })
depends_on 'nasm' => :build
def self.build def self.build
Dir.mkdir 'build-12' Dir.mkdir 'build-12'
Dir.chdir 'build-12' do Dir.chdir 'build-12' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment