mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Remove i686 compatibility from packages with dependencies incompatible with i686 * Remove armv7l compatibility from packages with dependencies incompatible with arvm7l * Abort builds/installs if the package has incompatible dependencies
31 lines
993 B
Ruby
31 lines
993 B
Ruby
require 'package'
|
|
|
|
class Libva_utils < Package
|
|
description 'Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)'
|
|
homepage 'https://01.org/linuxmedia'
|
|
version '2.11.1'
|
|
license 'MIT'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url "https://github.com/intel/libva-utils/archive/refs/tags/#{version}.tar.gz"
|
|
source_sha256 '0c1eb7f717e391d00da74c53a9fe5caf3d6c510dcd35bac7f71a0e59ad1b8d26'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '96b6472a638dc5b6269460b49ff4dab1063b7a9227a07cef8aa2aea5bb7d14f1',
|
|
armv7l: '96b6472a638dc5b6269460b49ff4dab1063b7a9227a07cef8aa2aea5bb7d14f1',
|
|
x86_64: '2a2f1a713b00c8a14aeacb73f2cfb599f54cd147d02a001eb99f456fd859e17c'
|
|
})
|
|
|
|
depends_on 'libva'
|
|
|
|
def self.build
|
|
system "meson setup #{CREW_MESON_OPTIONS} builddir"
|
|
system 'meson configure --no-pager builddir'
|
|
system 'ninja -C builddir'
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
|
end
|
|
end
|