mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
26 lines
1.1 KiB
Ruby
26 lines
1.1 KiB
Ruby
require 'buildsystems/cmake'
|
|
|
|
class Glfw < CMake
|
|
description 'GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop. It provides a simple API for creating windows, contexts and surfaces, receiving input and events.'
|
|
homepage 'https://www.glfw.org/'
|
|
version '3.4'
|
|
license 'ZLIB'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/glfw/glfw/releases/download/3.4/glfw-3.4.zip'
|
|
source_sha256 'b5ec004b2712fd08e8861dc271428f048775200a2df719ccf575143ba749a3e9'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '8de720d38097b58425eaa06ff7cc5a94efd02f03d8d999b830249da45c27da0f',
|
|
armv7l: '8de720d38097b58425eaa06ff7cc5a94efd02f03d8d999b830249da45c27da0f',
|
|
x86_64: '3fdf11c469c2113c7e34d11b1f3c132f49ca0653904076590f3fb8b989d932bf'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
depends_on 'libxi' => :build
|
|
depends_on 'libxinerama' => :build
|
|
depends_on 'sommelier' => :build
|
|
|
|
cmake_options '-DGLFW_BUILD_DOCS=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON'
|
|
end
|