Commit 0902c08b authored by Ed Reel's avatar Ed Reel Committed by GitHub

Fix compatibility error for intel_media_driver (#5574)

parent d6e779cc
......@@ -6,9 +6,8 @@ class Intel_media_driver < Package
@_ver = '20.4.5'
version "#{@_ver}-1"
license 'BSD-3, and MIT'
case ARCH
when 'x86_64'
compatibility 'x86_64'
source_url "https://github.com/intel/media-driver/archive/intel-media-#{@_ver}.tar.gz"
source_sha256 '3d856a963127ddd6690fc6dac521d7674947675d5f20452f1e6f45c0fc83f9e6'
......@@ -18,9 +17,9 @@ class Intel_media_driver < Package
binary_sha256({
x86_64: '0cc7a352ff10ca44659c49e8ebace37dc8c96a936d66fd28c1c17b7d8c709419'
})
depends_on 'gmmlib'
depends_on 'libva'
end
def self.preflight
abort 'Not an Intel processor, aborting.'.lightred unless `grep -c 'GenuineIntel' /proc/cpuinfo`.to_i.positive?
......
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