Files
chromebrew/packages/sdl3.rb
chromebrew-actions[bot] 5a924ead67 sdl3 -> 3.4.4 in updater-sdl3-3.4.4 — sdl3: 3.4.2 → 3.4.4 (#15417)
* sdl3 -> 3.4.4 in updater-sdl3-3.4.4

* updater-sdl3-3.4.4: Package File Update Run on linux/amd64 container.

* updater-sdl3-3.4.4: Package File Update Run on linux/arm/v7 container.

---------

Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2026-04-05 02:34:29 +00:00

42 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.4.4'
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: '5e87a0a061a21a5c0b52f70bb67b9fe2212db11ddfc2fd406cdbf70852ffa3c7',
armv7l: '5e87a0a061a21a5c0b52f70bb67b9fe2212db11ddfc2fd406cdbf70852ffa3c7',
x86_64: '59ac532b5a706ff8f74d720164bdc581f6e6f776cbc4cc63f8865744b12c71e1'
})
depends_on 'alsa_lib' => :build
depends_on 'glibc' => :library
depends_on 'libusb' => :build
depends_on 'libx11' => :build
depends_on 'libxcursor' => :build
depends_on 'libxext' => :build
depends_on 'libxinerama' => :build
depends_on 'libxkbcommon' => :build
depends_on 'libxrandr' => :build
depends_on 'libxrender' => :build
depends_on 'mesa' => :build
depends_on 'pulseaudio' => :build
depends_on 'wayland' => :build
cmake_options '-DSDL_HIDAPI_LIBUSB=OFF \
-DSDL_RPI=OFF \
-DSDL_X11_XSCRNSAVER=OFF \
-DSDL_STATIC=OFF \
-DSDL_RPATH=OFF'
end