Package definitions for the complete DarkForge Linux system: - core/ (67): base system, toolchain, kernel, utilities, dev tools - extra/ (26): libraries, frameworks, drivers (nvidia-open, pipewire, mesa) - desktop/ (19): Wayland stack, dwl compositor, terminals, applications - gaming/ (12): Steam, Wine, Proton, gamemode, mangohud, PrismLauncher Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 lines
751 B
TOML
21 lines
751 B
TOML
[package]
|
|
name = "sdl2"
|
|
version = "2.32.4"
|
|
description = "Simple DirectMedia Layer 2"
|
|
url = "https://www.libsdl.org/"
|
|
license = "Zlib"
|
|
|
|
[source]
|
|
url = "https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz"
|
|
sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
|
|
[dependencies]
|
|
run = ["glibc", "wayland", "wayland-protocols", "libdrm", "libxkbcommon"]
|
|
build = ["gcc", "cmake", "ninja", "pkg-config"]
|
|
|
|
[build]
|
|
system = "cmake"
|
|
configure = """cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DSDL_WAYLAND=ON -DSDL_X11=ON -DSDL_VULKAN=ON -DSDL_PULSEAUDIO=OFF -DSDL_PIPEWIRE=ON"""
|
|
make = """ninja -C build"""
|
|
install = """DESTDIR=${PKG} ninja -C build install"""
|