Commit 6a00b18a authored by satmandu's avatar satmandu Committed by GitHub

libcap, mesa, libva update (#5490)

* libcap mesa libva updates

* Edited depends to mark non-runtime deps as build deps
parent 716d647a
...@@ -3,28 +3,26 @@ require 'package' ...@@ -3,28 +3,26 @@ require 'package'
class Libcap < Package class Libcap < Package
description 'Libcap implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels.' description 'Libcap implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels.'
homepage 'https://directory.fsf.org/wiki/Libcap' homepage 'https://directory.fsf.org/wiki/Libcap'
@_ver = '2.48' @_ver = '2.49'
version @_ver version @_ver
license 'GPL-2 or BSD'
compatibility 'all' compatibility 'all'
source_url "https://mirrors.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-#{@_ver}.tar.xz" source_url "https://mirrors.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-#{@_ver}.tar.xz"
source_sha256 '4de9590ee09a87c282d558737ffb5b6175ccbfd26d580add10df44d0f047f6c2' source_sha256 'e98bc4d93645082ec787730b0fd1a712b38882465c505777de17c338831ee181'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.48-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.49-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.48-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.49-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.48-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.49-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.48-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libcap-2.49-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: '106370bd011b5275a149acd944f2a2f06ed016c9cf177460d11eec27739c198f', aarch64: 'a70c7ce2ce27a15a294ce7229c10a1c2227c2705a8b0e0be88cf8bb5eed73e77',
armv7l: '106370bd011b5275a149acd944f2a2f06ed016c9cf177460d11eec27739c198f', armv7l: 'a70c7ce2ce27a15a294ce7229c10a1c2227c2705a8b0e0be88cf8bb5eed73e77',
i686: 'efff029eb82405b068585b990adecdd8d4f16cf44fe3d09da6881c9904570b36', i686: 'ff41b92eeeb4c068086e67322b6a3fa9609b883a84c29f5a10c51dc3d38aa09c',
x86_64: '409ae3d9206df71754817d0c49317e6533936e071b26c053141115fdd8dfb56c' x86_64: 'bc72fba8169275a4e7a78ee90eea47a20b42fa0544eb321d2c1c1549640982b6'
}) })
depends_on 'gperf' => :build depends_on 'gperf' => :build
depends_on 'perl' => :build
depends_on 'linux_pam' depends_on 'linux_pam'
depends_on 'patchelf' => :build depends_on 'patchelf' => :build
...@@ -40,7 +38,7 @@ class Libcap < Package ...@@ -40,7 +38,7 @@ class Libcap < Package
system "sed -i 's,^exec_prefix=,exec_prefix=\$(prefix),' Make.Rules" system "sed -i 's,^exec_prefix=,exec_prefix=\$(prefix),' Make.Rules"
# http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch # http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch
system 'sed -i "s,^\#ifdef VFS_CAP_U32,\#if defined (VFS_CAP_U32) \&\& defined (XATTR_NAME_CAPS),g" libcap/cap_file.c' system 'sed -i "s,^\#ifdef VFS_CAP_U32,\#if defined (VFS_CAP_U32) \&\& defined (XATTR_NAME_CAPS),g" libcap/cap_file.c'
system "env CFLAGS='-flto=auto -ltinfo' CXXFLAGS='-flto=auto' \ system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' make" LDFLAGS='-flto=auto' make"
end end
......
require 'package' require 'package'
class Libva < Package class Libva < Package
description 'Libva is an implementation for VA-API (VIdeo Acceleration API)' description 'Libva is an implementation for VA-API (Video Acceleration API)'
homepage 'https://01.org/linuxmedia' homepage 'https://01.org/linuxmedia'
@_ver = '2.10.0' @_ver = '2.11.0'
version "#{@_ver}-2" version @_ver
license 'MIT' license 'MIT'
compatibility 'all' compatibility 'all'
source_url "https://github.com/intel/libva/releases/download/#{@_ver}/libva-#{@_ver}.tar.bz2" source_url "https://github.com/intel/libva/archive/refs/tags/#{@_ver}.tar.gz"
source_sha256 'fa81e35b50d9818fce5ec9eeeeff08a24a8864ceeb9a5c8e7ae4446eacfc0236' source_sha256 'ee2bd79bad5e2404143f089360685f5da63a32dd551b54ccd61d2d49c041178a'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.11.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.11.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.11.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.10.0-2-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libva-2.11.0-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: '9e988606a1aa5f6334be989638016bf13f12f53436175e3852ac4d353084cb15', aarch64: '4af41d8c10b335f1b00bbfa9c4afcea07bbb0b7d00acd3a18a0c007592302a4a',
armv7l: '9e988606a1aa5f6334be989638016bf13f12f53436175e3852ac4d353084cb15', armv7l: '4af41d8c10b335f1b00bbfa9c4afcea07bbb0b7d00acd3a18a0c007592302a4a',
i686: 'c2224c241da00d19a01e5d47aeff24da900bde1818e99c9bc2f9a9178f4e9aa7', i686: '49938688385785511cca5cdd3d5354a0e1a227538fd7a1dfec4588dbd9af90b5',
x86_64: '833e6a04798cdd78665b3be09beb9d4f3874748f77b720fc324d3c121acfa8f3' x86_64: 'fcdd6886cfacef1a4e3e31448bf469f78233993a1376c1c4255314d7355c1eed'
}) })
depends_on 'libdrm' depends_on 'libdrm'
......
...@@ -3,48 +3,54 @@ require 'package' ...@@ -3,48 +3,54 @@ require 'package'
class Mesa < Package class Mesa < Package
description 'Open-source implementation of the OpenGL specification' description 'Open-source implementation of the OpenGL specification'
homepage 'https://www.mesa3d.org' homepage 'https://www.mesa3d.org'
@_ver = '21.0.0' @_ver = '21.0.1'
version @_ver version @_ver
license 'MIT' license 'MIT'
compatibility 'all' compatibility 'all'
source_url "https://mesa.freedesktop.org/archive/mesa-#{@_ver}.tar.xz" source_url "https://mesa.freedesktop.org/archive/mesa-#{@_ver}.tar.xz"
source_sha256 'e6204e98e6a8d77cf9dc5d34f99dd8e3ef7144f3601c808ca0dd26ba522e0d84' source_sha256 '379fc984459394f2ab2d84049efdc3a659869dc1328ce72ef0598506611712bb'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.0-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mesa-21.0.1-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: '98e8f7551123894e27cba186b902e907d4d4676628f0c6c293c66339512b79da', aarch64: '281a8b7b6cc4009fc39020151176e56a8f2f695c02c86fd04b81887484183a38',
armv7l: '98e8f7551123894e27cba186b902e907d4d4676628f0c6c293c66339512b79da', armv7l: '281a8b7b6cc4009fc39020151176e56a8f2f695c02c86fd04b81887484183a38',
i686: 'e9d7a58868a977a3eba49aea0012b80fa01bcf2185b79e809b612d1c3d0e4e01', i686: 'd18cebf293137b55ba21b7daf8b015f11e787e34592b180bc3b904a8311798f9',
x86_64: '65464f8aa7a9d88ef46326463654c86fcd882446d686585e92e5d546932acf8e' x86_64: 'f82724f2890c1a8a6ceb768826cbe17301580286d47d365bbc425943af22cd6c'
}) })
depends_on 'elfutils' depends_on 'elfutils'
depends_on 'glslang' depends_on 'glslang' => :build
depends_on 'libdrm' depends_on 'libdrm'
depends_on 'libomxil_bellagio' depends_on 'libomxil_bellagio' => :build
depends_on 'libunwind' depends_on 'libunwind'
depends_on 'libvdpau' depends_on 'libvdpau' => :build
depends_on 'libxdamage' depends_on 'libx11'
depends_on 'libxcb'
depends_on 'libxdamage' => :build
depends_on 'libxext'
depends_on 'libxfixes'
depends_on 'libxrandr'
depends_on 'libxshmfence' depends_on 'libxshmfence'
depends_on 'libxv' depends_on 'libxv'
depends_on 'libxvmc' depends_on 'libxvmc'
depends_on 'libxxf86vm' depends_on 'libxxf86vm'
depends_on 'valgrind'
depends_on 'vulkan_headers' => :build
depends_on 'vulkan_icd_loader'
depends_on 'wayland_protocols'
depends_on 'lm_sensors' depends_on 'lm_sensors'
depends_on 'valgrind' => :build
depends_on 'vulkan_headers' => :build
depends_on 'vulkan_icd_loader' => :build
depends_on 'wayland'
depends_on 'wayland_protocols' => :build
def self.build def self.build
case ARCH case ARCH
when 'i686' when 'i686'
@vk = 'intel,swrast' @vk = 'intel,swrast'
@galliumdrivers = 'swrast,svga,virgl,swr,lima,zink,d3d12' @galliumdrivers = 'swrast,svga,virgl,swr,lima,zink'
when 'x86_64', 'aarch64', 'armv7l' when 'x86_64', 'aarch64', 'armv7l'
@vk = 'auto' @vk = 'auto'
@galliumdrivers = 'auto' @galliumdrivers = 'auto'
......
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