vinix-ports / ports / mesa-platform-headers / PKGBUILD.vile
15 lines · 15 sloc · 774 bytes · c33d8afc2906b8dd9a8b905224eccd49a44f7ad5
Raw
1defpkgbuild(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 })
16