mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* update vulkan => 1.3.278 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * revert mesa update Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update libvdpau Signed-off-by: Satadru Pramanik <satadru@gmail.com> * add mesa binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * remove filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
39 lines
1.2 KiB
Ruby
39 lines
1.2 KiB
Ruby
require 'buildsystems/cmake'
|
|
|
|
class Vulkan_icd_loader < CMake
|
|
description 'Vulkan Installable Client Driver ICD Loader'
|
|
homepage 'https://github.com/KhronosGroup/Vulkan-Loader'
|
|
version '1.3.278'
|
|
license 'Apache-2.0'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://github.com/KhronosGroup/Vulkan-Loader.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'bd9765f4e32da1f43f2f2e2380ee3a74e4dfe8300bb89d4d345613bb3d238537',
|
|
armv7l: 'bd9765f4e32da1f43f2f2e2380ee3a74e4dfe8300bb89d4d345613bb3d238537',
|
|
x86_64: 'aab994afd734547da4712eb38077660474f40225fdd7458b9af5534b2b98a8c6'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
depends_on 'libx11' # R
|
|
depends_on 'libxcb' # R
|
|
depends_on 'libxrandr' => :build
|
|
depends_on 'vulkan_headers' => :build
|
|
depends_on 'wayland' => :build
|
|
|
|
def self.patch
|
|
system 'scripts/update_deps.py'
|
|
end
|
|
|
|
cmake_options "-DVULKAN_HEADERS_INSTALL_DIR=#{CREW_PREFIX} \
|
|
-DCMAKE_INSTALL_SYSCONFDIR=#{CREW_PREFIX}/etc \
|
|
-DCMAKE_INSTALL_DATADIR=#{CREW_PREFIX}/share \
|
|
-DCMAKE_SKIP_RPATH=True \
|
|
-DBUILD_TESTS=Off \
|
|
-DBUILD_WSI_XCB_SUPPORT=On \
|
|
-DBUILD_WSI_XLIB_SUPPORT=On \
|
|
-DBUILD_WSI_WAYLAND_SUPPORT=On"
|
|
end
|