Last active
January 15, 2020 02:24
-
-
Save mxmilkiib/e5e2c0794984bb8254bd574e73b18d56 to your computer and use it in GitHub Desktop.
PKGBUILD for mesa-git-mali - untested - to clean up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=mesa-git-mali | |
| pkgver=79.0.3945.88 | |
| _pkgrel='1' | |
| pkgrel=1 | |
| pkgdesc='an open-source implementation of the OpenGL specification, git version' | |
| url="https://www.mesa3d.org" | |
| arch=('aarch64') | |
| makedepends=('git' 'python-mako' 'xorgproto' | |
| 'libxml2' 'libx11' 'libvdpau' 'libva' 'elfutils' 'libomxil-bellagio' 'libxrandr' | |
| 'ocl-icd' 'vulkan-icd-loader' 'libgcrypt' 'wayland' 'wayland-protocols' 'meson' 'ninja') | |
| depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf' | |
| 'libomxil-bellagio' 'libunwind' 'libglvnd' 'wayland' 'lm_sensors' 'libclc' 'glslang') | |
| optdepends=('opengl-man-pages: for the OpenGL API man pages') | |
| provides=(mesa=$pkgver-$pkgrel vulkan-intel=$pkgver-$pkgrel vulkan-radeon=$pkgver-$pkgrel vulkan-mesa-layer=$pkgver-$pkgrel libva-mesa-driver=$pkgver-$pkgrel mesa-vdpau=$pkgver-$pkgrel vulkan-driver opencl- opengl-driver opencl-driver) | |
| conflicts=('mesa' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-layer' 'libva-mesa-driver' 'mesa-vdpaua' 'mesa-git') | |
| #options=('!strip') | |
| url="https://www.mesa3d.org" | |
| license=('custom') | |
| source=("https://mirrors.dotsrc.org/manjaro-arm/stable/aarch64/extra/mesa-19.3.1-1-aarch64.pkg.tar.xz"{,.sig} | |
| "libMali.so::https://github.com/hardkernel/buildroot_linux_amlogic_meson_mali/blob/aml64_buildroot_master/lib/arm64/gondul/r16p0/wayland/drm/libMali.so?raw=true") | |
| md5sums=('SKIP' 'SKIP' 'SKIP') | |
| package() { | |
| cd "$srcdir/usr/lib/" | |
| rm libEGL_mesa.so libEGL_mesa.so.0 libEGL_mesa.so.0.0.0 | |
| mv ../../libMali.so . | |
| ln -s libMali.so libEGL_mesa.so | |
| ln -s libMali.so libEGL_mesa.so.0 | |
| ln -s libMali.so libEGL_mesa.so.0.0 | |
| cp -ar "$srcdir/usr" "$pkgdir/" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment