mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
41 lines
1.3 KiB
Ruby
41 lines
1.3 KiB
Ruby
# Adapted from Arch Linux sdl3 PKGBUILD at:
|
|
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=sdl3
|
|
|
|
require 'buildsystems/cmake'
|
|
|
|
class Sdl3 < CMake
|
|
description 'A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard Version 3'
|
|
homepage 'https://www.libsdl.org'
|
|
version '3.2.0'
|
|
license 'zlib'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/libsdl-org/SDL.git'
|
|
git_hashtag "release-#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'f0c9414e2579ad1e78680a1309d1ee49e8c89c630b95139524e854ca49335854',
|
|
armv7l: 'f0c9414e2579ad1e78680a1309d1ee49e8c89c630b95139524e854ca49335854',
|
|
x86_64: '2adbf33cdce6dfa55435b99d767a1f9421f9579f37ad5f250807ef3089cca8ba'
|
|
})
|
|
|
|
depends_on 'libxext' => :build
|
|
depends_on 'libxrender' => :build
|
|
depends_on 'libx11' => :build
|
|
depends_on 'libxcursor' => :build
|
|
depends_on 'libusb' => :build
|
|
depends_on 'alsa_lib' => :build
|
|
depends_on 'mesa' => :build
|
|
depends_on 'pulseaudio' => :build
|
|
depends_on 'libxrandr' => :build
|
|
depends_on 'libxinerama' => :build
|
|
depends_on 'wayland' => :build
|
|
depends_on 'libxkbcommon' => :build
|
|
depends_on 'glibc' # R
|
|
|
|
cmake_options '-DSDL_HIDAPI_LIBUSB=OFF \
|
|
-DSDL_RPI=OFF \
|
|
-DSDL_STATIC=OFF \
|
|
-DSDL_RPATH=OFF'
|
|
end
|