new repos
This commit is contained in:
22
gaming/lib32-mesa/lib32-mesa.toml
Normal file
22
gaming/lib32-mesa/lib32-mesa.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
[package]
|
||||
name = "lib32-mesa"
|
||||
version = "25.0.3"
|
||||
description = "32-bit OpenGL/Vulkan graphics library — required by Steam and Proton games"
|
||||
url = "https://www.mesa3d.org/"
|
||||
license = "MIT"
|
||||
|
||||
[source]
|
||||
url = "https://archive.mesa3d.org/mesa-${version}.tar.xz"
|
||||
sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
|
||||
[dependencies]
|
||||
run = ["lib32-glibc", "lib32-zlib", "lib32-expat", "lib32-libx11", "lib32-libxcb"]
|
||||
build = ["gcc", "meson", "ninja", "pkg-config", "python", "flex", "bison"]
|
||||
|
||||
[build]
|
||||
system = "meson"
|
||||
# Cross-compile for 32-bit with Vulkan and basic gallium drivers
|
||||
# zink allows OpenGL over Vulkan, swrast for software fallback
|
||||
configure = """CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH="/usr/lib32/pkgconfig" meson setup build --prefix=/usr --libdir=/usr/lib32 -Dvulkan-drivers=auto -Dgallium-drivers=swrast,zink -Dplatforms=x11,wayland -Dglx=dri -Degl=enabled"""
|
||||
make = """ninja -C build"""
|
||||
install = """DESTDIR=${PKG} ninja -C build install"""
|
||||
Reference in New Issue
Block a user