Files
chromebrew/packages/vulkan_icd_loader.rb
Satadru Pramanik, DO, MPH, MEng 8d71f6aecd Gtk4 => 4.15.0 (#9730)
* Update vulkan_ to 1.3.283

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* gtk4 => 4.15.0

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-04-27 16:24:42 -05:00

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.283'
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: '3e76f57d1c7de356d5af505194f71139fbd35b0afa7c1fd55c3ff0a9ceb5016a',
armv7l: '3e76f57d1c7de356d5af505194f71139fbd35b0afa7c1fd55c3ff0a9ceb5016a',
x86_64: '4a0261bb0cf7b98e56f34fd1b966dfc2bfbb554893f270dd5cb780c5dd800b57'
})
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