me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Split the EGL platform headers needed before Mesa builds

diviocity committed 6 days ago · 1b5befed6dbbb140630ad84702d900fb3942250f View patch
Unverified signature 1 files changed +15 -0
mesa-platform-headers/PKGBUILD.vile new file +15 -0

@@ -0,0 +1,15 @@

1+defpkgbuild(mesa-platform-headers,

2+ #:pkgname, "mesa-platform-headers",

3+ #:pkgver, "24.2.8",

4+ #:pkgrel, 1,

5+ #:pkgdesc, "Khronos platform declarations for EGL providers and consumers",

6+ #:arch, [#:any],

7+ #:license, "MIT",

8+ #:url, "https://www.mesa3d.org/",

9+ #:source, ["https://archive.mesa3d.org/mesa-24.2.8.tar.xz"],

10+ #:sha256sums, ["999d0a854f43864fc098266aaf25600ce7961318a1e2e358bff94a7f53580e30"],

11+ #:package, fn() {

12+ ; libepoxy's public EGL header includes these before Mesa itself is built.

13+ run("install", "-Dm644", "mesa-24.2.8/include/EGL/eglplatform.h", string-append(pkgdir(), "/usr/include/EGL/eglplatform.h"))

14+ run("install", "-Dm644", "mesa-24.2.8/include/KHR/khrplatform.h", string-append(pkgdir(), "/usr/include/KHR/khrplatform.h"))

15+ })