Commit 52641095 authored by satmandu's avatar satmandu Committed by GitHub

libaom => 3.0 and related deps, and dconf-editor, gobj introspection,… (#5483)

* libaom => 3.0 and related deps, and dconf-editor, gobj introspection, ibus

* add i686 libheif and ffmpeg rebuild
parent f9f89ce1
......@@ -3,23 +3,23 @@ require 'package'
class Dconf_editor < Package
description 'A graphical viewer and editor of applications internal settings.'
homepage 'https://wiki.gnome.org/Apps/DconfEditor'
version '3.38.2'
version '3.38.3'
license 'GPL-3+'
compatibility 'all'
source_url 'https://download.gnome.org/sources/dconf-editor/3.38/dconf-editor-3.38.2.tar.xz'
source_sha256 '1253dad87e6213fbf313ff9ec9dc4358aa1b10261f28072c1dc0e0997b92f835'
source_url "https://gitlab.gnome.org/GNOME/dconf-editor/-/archive/#{version}/dconf-editor-#{version}.tar.bz2"
source_sha256 '558408f2abac1129cd010be17db7df3b976d51206b17df603ee7aae4d0f6dd52'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.2-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/dconf_editor-3.38.3-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '8bfd917985fb8c86527f8ff364b76c8187e5512871056e9b2ea7c920020284c0',
armv7l: '8bfd917985fb8c86527f8ff364b76c8187e5512871056e9b2ea7c920020284c0',
i686: 'b64e5b7c35b406b80f6da0a2f17d2367030f3c32112956b4b08985113cad066a',
x86_64: 'c830d27b810f93efc7990127f39743b34e9599835832a061a41a6055f1f107f5',
binary_sha256({
aarch64: 'a54f46627b350bd3af6c5430e1a7d73a8318a33c132802d7898795156cb0f954',
armv7l: 'a54f46627b350bd3af6c5430e1a7d73a8318a33c132802d7898795156cb0f954',
i686: '094ab1f041159d42988818c3c4f2386e7839605c1cf542060d95e76d1c5268c8',
x86_64: '7467194d01f384f5dfcff57e190c5df92bef0e35be0a2fd257bb9255f3683cc4'
})
depends_on 'dconf'
......@@ -30,7 +30,7 @@ class Dconf_editor < Package
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
builddir"
system "ninja -C builddir"
system 'ninja -C builddir'
end
def self.install
......@@ -38,6 +38,10 @@ class Dconf_editor < Package
end
def self.check
system "ninja -C builddir test"
system 'ninja -C builddir test'
end
def self.postinstall
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end
......@@ -4,23 +4,23 @@ class Ffmpeg < Package
description 'Complete solution to record, convert and stream audio and video'
homepage 'https://ffmpeg.org/'
@_ver = '4.3.2'
version @_ver
version "#{@_ver}-1"
license 'LGPL-2,1, GPL-2, GPL-3, and LGPL-3' # When changing ffmpeg's configure options, make sure this variable is stil accurate,
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ffmpeg-4.3.2-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '1db43d0c9a06a9b1d5974635aa393a49c98f70d4e5efe2ca9e03711b334e83ea',
armv7l: '1db43d0c9a06a9b1d5974635aa393a49c98f70d4e5efe2ca9e03711b334e83ea',
i686: 'b98609042769bcb508cef9c9848a31cb43b0ca69092996fc9542f25834fefe36',
x86_64: 'b2143b516399e780184f52be821ad40644443d037d30d4e444342e8d1182c34f'
aarch64: '085808a1a7840dc8939d7b2740671e0e1e4927494c2bcf573b88f0b60b93cfff',
armv7l: '085808a1a7840dc8939d7b2740671e0e1e4927494c2bcf573b88f0b60b93cfff',
i686: '9b07e143d3cc679f9888260a8b392611c4c7f88aacf2adc668c3e47ce6232369',
x86_64: 'a8ef187fe830505b2a7240db4efe39dddcababf9df3ae94add3918b722fb9622'
})
depends_on 'alsa_lib'
......@@ -32,7 +32,7 @@ class Ffmpeg < Package
depends_on 'freetype'
depends_on 'fribidi'
depends_on 'gsm'
depends_on 'intel_media_sdk' if ARCH == 'x86_64' && `grep -c 'GenuineIntel' /proc/cpuinfo`.to_i.positive? # This provides libmfx for x86_64
depends_on 'intel_media_sdk' if ARCH == 'x86_64' && `grep -c 'GenuineIntel' /proc/cpuinfo`.to_i.positive?
depends_on 'jack'
depends_on 'ladspa'
depends_on 'libaom'
......@@ -71,6 +71,7 @@ class Ffmpeg < Package
depends_on 'nasm' => :build
depends_on 'openal'
depends_on 'openjpeg'
depends_on 'pipewire'
depends_on 'pulseaudio'
depends_on 'rav1e'
depends_on 'rubberband'
......@@ -87,7 +88,6 @@ class Ffmpeg < Package
depends_on 'zimg'
depends_on 'zvbi'
def self.build
case ARCH
when 'i686'
......@@ -212,7 +212,7 @@ class Ffmpeg < Package
def self.install
Dir.chdir @git_dir do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
FileUtils.install 'tools/qt-faststart', "#{CREW_DEST_PREFIX}/bin/", mode: 0755
FileUtils.install 'tools/qt-faststart', "#{CREW_DEST_PREFIX}/bin/", mode: 0o755
end
end
end
......@@ -3,24 +3,24 @@ require 'package'
class Gobject_introspection < Package
description 'GObject introspection is a middleware layer between C libraries (using GObject) and language bindings.'
homepage 'https://wiki.gnome.org/action/show/Projects/GObjectIntrospection'
@_ver = '1.67.1'
@_ver = '1.68.0'
version @_ver
license 'LGPL-2+ and GPL-2+'
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gobject-introspection/-/archive/#{@_ver}/gobject-introspection-#{@_ver}.tar.bz2"
source_sha256 '4cd840eb3a9b5f6cddda96f79e9f186b1da4b93343a0c82e0ab185beccb25a6b'
source_sha256 'b22035bd3e7ea27cc29b0c19ec5da8dd6cafe88a08392ecd06b41d4025406b4c'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.67.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.67.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.67.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.67.1-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.68.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.68.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.68.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gobject_introspection-1.68.0-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '07f5085fba9f5d6ef6ad5be8f19d977b27a4ba869819f92fd52d230c6b68cfb4',
armv7l: '07f5085fba9f5d6ef6ad5be8f19d977b27a4ba869819f92fd52d230c6b68cfb4',
i686: '277e24570f9dccdc644e5398ca92538af71cbedcf000b61eb702f4563071ebe2',
x86_64: '845bce3214bddc6008d384f31efb210578aa97e4b50dff9017aa12b54f8a2963'
aarch64: '7f19992ebfb2efd6890b80aa13975b5052b62018359dfd3d6d4f504d88f5cfb8',
armv7l: '7f19992ebfb2efd6890b80aa13975b5052b62018359dfd3d6d4f504d88f5cfb8',
i686: '8b65be9e83ef90cd7442c1bc0fa54f7e781cd77193eea98550bcb9f98ba044a1',
x86_64: 'c150f71e67bb0dcb9f00b9d22442bc572097c6c2612725d56dd7537bb7619402'
})
depends_on 'glib'
......
......@@ -4,38 +4,51 @@ class Ibus < Package
description 'Next Generation Input Bus for Linux'
homepage 'https://github.com/ibus/ibus/wiki'
@_ver = '1.5.24'
version @_ver
version "#{@_ver}-1"
license 'LGPL-2.1'
compatibility 'all'
source_url "https://github.com/ibus/ibus/releases/download/#{@_ver}/ibus-#{@_ver}.tar.gz"
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
source_sha256 'abf33a965063629d3bbdab8a5948736ce3a9523cc3d6331e5ea0ec5e8ea7421f'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ibus-1.5.24-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '5bc9429dff55a5b81418d29168b724d5b3a828742ddc8862c603ac5427a53705',
armv7l: '5bc9429dff55a5b81418d29168b724d5b3a828742ddc8862c603ac5427a53705',
i686: '197cc0876e47976e0fce6a628adc8782ddbbf7dbd047f4a08f84be8456307566',
x86_64: '9443bc2b1285cb3588c0aabadbf71b0c08800df28ff6d808ff05aaa8bec6364a'
aarch64: 'f12163d784b45e68bbc6c5f844fe3082db1f3c2b3dc621464cc4ac4d81ba2024',
armv7l: 'f12163d784b45e68bbc6c5f844fe3082db1f3c2b3dc621464cc4ac4d81ba2024',
i686: '683dd8cd21854a8a47a66e3d3c238cc898d22745f48390c28483ef16fdfecd40',
x86_64: 'baeca79b3d8750e062e46dcee2114f3425a8abed1a104db540df542ea098814f'
})
depends_on 'atk'
depends_on 'cairo'
depends_on 'dconf'
depends_on 'gtk3'
depends_on 'gtk4'
depends_on 'fontconfig'
depends_on 'freetype'
depends_on 'gdk_pixbuf'
depends_on 'glib'
depends_on 'graphene'
depends_on 'harfbuzz'
depends_on 'hicolor_icon_theme'
depends_on 'libnotify'
depends_on 'libx11'
depends_on 'libxi'
depends_on 'pango'
depends_on 'pygobject'
depends_on 'unicode_emoji'
depends_on 'unicode_cldr'
depends_on 'unicode_emoji'
depends_on 'vulkan_icd_loader'
depends_on 'wayland'
depends_on 'gobject_introspection' => ':build'
depends_on 'vala' => ':build'
depends_on 'gnome_common' => ':build'
depends_on 'gtk_doc' => ':build'
depends_on 'gtk2' => ':build'
depends_on 'gtk3' => ':build'
depends_on 'gtk4' => ':build'
depends_on 'qtbase' => ':build'
def self.patch
......@@ -47,7 +60,6 @@ class Ibus < Package
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system 'filefix'
system './configure --help'
system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure \
......
......@@ -3,30 +3,30 @@ require 'package'
class Libaom < Package
description 'AV1 video codec from Alliance for Open Media'
homepage 'https://aomedia.org/'
version '1.0.0'
version '3.0.0'
license 'BSD-2'
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-1.0.0-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-3.0.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-3.0.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-3.0.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libaom-3.0.0-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '333119009f00f96ab6fda4ea900eb19bf81bd8c446775d6b073a4ac56a0d2066',
armv7l: '333119009f00f96ab6fda4ea900eb19bf81bd8c446775d6b073a4ac56a0d2066',
i686: 'cdece1990fc30a8f45847ae13aa2e6dab6f9321365bb9412283d00586f23489f',
x86_64: 'c7bb9de577e4ff32458c47d9bf2c3a329a6011368f3f3bbde8e072fd9530d5c8'
aarch64: '72f877cc765100e7fcde222405861a42c9193d715fb2c068854ad4caf9d2d48c',
armv7l: '72f877cc765100e7fcde222405861a42c9193d715fb2c068854ad4caf9d2d48c',
i686: 'a73111242ed76bf16ec0c638095ef304437e1330ae489108153e43eec5fc3a85',
x86_64: 'aae749ceebb4a126c85f80c2864253d8377893d225d26045e6838f7cb35a1cbe'
})
depends_on 'yasm' => ':build'
def self.prebuild
@git_dir = 'aom_git'
@git_hash = '8b6eaa4d37b992efffe432fa513889e6d11ae04f'
@git_hash = '307ce06ed82d93885ee8ed53e152c9268ac0d98d'
@git_url = 'https://aomedia.googlesource.com/aom'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
......
# Adapted from Arch Linux libavif PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/libavif/trunk/PKGBUILD
require 'package'
class Libavif < Package
description 'Library for encoding and decoding .avif files'
homepage 'https://github.com/AOMediaCodec/libavif'
@_ver = '0.9.0'
version @_ver
version "#{@_ver}-1"
license 'BSD-2'
compatibility 'all'
source_url "https://github.com/AOMediaCodec/libavif/archive/v#{@_ver}.tar.gz"
source_sha256 'ea1603fc18e7dd20cf01f0b405156576886ecb5df84db8c0e87187cd2f8a00f4'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libavif-0.9.0-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '1f61a3c2509df65e7206ddc4ac79c5e4328f5f369d59da384c3f76fef87aa287',
armv7l: '1f61a3c2509df65e7206ddc4ac79c5e4328f5f369d59da384c3f76fef87aa287',
i686: 'e89beabee4674e52e0abbc9db96462a6f2ccbd23db440ac054144c90101601f1',
x86_64: '639ba89c4a63d68f714bcf1bb56314594bd5eb5e41ba764424a5e115c97ce6c7'
aarch64: 'a8da55cfc5b76744c0925508e0824f861a6846d87960ebefbfdcf09c4d36a9c9',
armv7l: 'a8da55cfc5b76744c0925508e0824f861a6846d87960ebefbfdcf09c4d36a9c9',
i686: '2b0ff587fc88d91ea8142d6eec6e5aba0c00a6ca0a9c63d83551c66c97a44e36',
x86_64: 'd35b961e2c797c54aedbf2e7addac2c0f8e8a1419d51d85fd62c27c66fd53975'
})
depends_on 'libaom'
......@@ -62,4 +59,8 @@ class Libavif < Package
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
def self.postinstall
system 'gdk-pixbuf-query-loaders --update-cache'
end
end
......@@ -4,31 +4,32 @@ class Libheif < Package
description 'libheif is a ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.'
homepage 'https://github.com/strukturag/libheif'
@_ver = '1.11.0'
version "#{@_ver}-1"
version "#{@_ver}-2"
license 'GPL-3'
compatibility 'all'
source_url "https://github.com/strukturag/libheif/releases/download/v#{@_ver}/libheif-#{@_ver}.tar.gz"
source_sha256 'c550938f56ff6dac83702251a143f87cb3a6c71a50d8723955290832d9960913'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-1-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libheif-1.11.0-2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '6541e90af54adca5af1a1c390fe6d9c48a5641e8a82e34fdd2aee4da48dae5fe',
armv7l: '6541e90af54adca5af1a1c390fe6d9c48a5641e8a82e34fdd2aee4da48dae5fe',
i686: '474eb4e10bdfd58bdd55d6cc0e60dcb964eda7c0038772d4a2e1b633642ab816',
x86_64: '80496abc0efd38ce60d2a257e5f9d1b5095e291f8f37046dcf66462442f06714'
aarch64: '741663915e39e3f343c5d084423597484477eb49dc719f1395c62f84501ba8d9',
armv7l: '741663915e39e3f343c5d084423597484477eb49dc719f1395c62f84501ba8d9',
i686: '73ad610bbde6b2adb6ac5171efb9078e26ca9a252aece71688e5bd85b0478f86',
x86_64: '00cdd26729e9af1d85ca26edd0094195cab10c53bb07158a892293ef94e033af'
})
depends_on 'dav1d'
depends_on 'libaom'
depends_on 'libde265'
depends_on 'libjpeg'
depends_on 'libpng'
depends_on 'libx265'
depends_on 'libaom'
depends_on 'dav1d'
depends_on 'rav1e'
def self.build
Dir.mkdir 'builddir'
......
......@@ -4,36 +4,43 @@ class Libva < Package
description 'Libva is an implementation for VA-API (VIdeo Acceleration API)'
homepage 'https://01.org/linuxmedia'
@_ver = '2.10.0'
version "#{@_ver}-1"
version "#{@_ver}-2"
license 'MIT'
compatibility 'all'
source_url "https://github.com/intel/libva/releases/download/#{@_ver}/libva-#{@_ver}.tar.bz2"
source_sha256 'fa81e35b50d9818fce5ec9eeeeff08a24a8864ceeb9a5c8e7ae4446eacfc0236'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-1-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'f15abb28fabd3705d576c431e0f33f4e0d66d4d91265dc48c85c0025bdf27718',
armv7l: 'f15abb28fabd3705d576c431e0f33f4e0d66d4d91265dc48c85c0025bdf27718',
i686: '67c020e5b9d42b3d1ad30bbda26ade95bc50c2e2d32d61c01953d2bc85caf8d1',
x86_64: '6c226597b4cce0c915a83e493fe43d470b31b87c4a21b74bb17cfcdbcb683c77'
aarch64: '9e988606a1aa5f6334be989638016bf13f12f53436175e3852ac4d353084cb15',
armv7l: '9e988606a1aa5f6334be989638016bf13f12f53436175e3852ac4d353084cb15',
i686: 'c2224c241da00d19a01e5d47aeff24da900bde1818e99c9bc2f9a9178f4e9aa7',
x86_64: '833e6a04798cdd78665b3be09beb9d4f3874748f77b720fc324d3c121acfa8f3'
})
depends_on 'libdrm'
depends_on 'libx11'
depends_on 'libxext'
depends_on 'libxfixes'
depends_on 'mesa'
depends_on 'wayland'
def self.build
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
system "meson #{CREW_MESON_LTO_OPTIONS} \
--default-library=both \
-Db_lto=true \
-Db_pie=true \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
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