mesa init
This commit is contained in:
1 parent
fb22c06122
commit
78a5750b6b
1 file changed
+61
@@ -0,0 +1,61 @@
|
||||
#!/usr/bin/env bash
|
||||
name='mesa'
|
||||
release='1'
|
||||
version='22.3.3'
|
||||
url='https://gitlab.freedesktop.org/mesa/mesa'
|
||||
description='An open-source implementation of the OpenGL specification'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-$version/mesa-mesa-$version.tar.gz")
|
||||
depends=(libdrm llvm)
|
||||
makedepends=()
|
||||
md5sums=('ed193340000a3f32946d490ea53aaddd')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$name-$version
|
||||
|
||||
setup(){
|
||||
meson setup build --prefix=/usr
|
||||
-D b_ndebug=true \
|
||||
-D b_lto=true \
|
||||
-D platforms=x11,wayland \
|
||||
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink,d3d12 \
|
||||
-D vulkan-drivers=amd,intel,intel_hasvk,swrast,virtio-experimental \
|
||||
-D vulkan-layers=device-select,intel-nullhw,overlay \
|
||||
-D dri3=enabled \
|
||||
-D egl=enabled \
|
||||
-D gallium-extra-hud=true \
|
||||
-D gallium-nine=true \
|
||||
-D gallium-omx=bellagio \
|
||||
-D gallium-opencl=icd \
|
||||
-D gallium-va=enabled \
|
||||
-D gallium-vdpau=enabled \
|
||||
-D gallium-xa=enabled \
|
||||
-D gallium-rusticl=true \
|
||||
-D rust_std=2021 \
|
||||
-D gbm=enabled \
|
||||
-D gles1=disabled \
|
||||
-D gles2=enabled \
|
||||
-D glvnd=true \
|
||||
-D glx=dri \
|
||||
-D libunwind=enabled \
|
||||
-D llvm=enabled \
|
||||
-D lmsensors=enabled \
|
||||
-D osmesa=true \
|
||||
-D shared-glapi=enabled \
|
||||
-D microsoft-clc=disabled \
|
||||
-D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \
|
||||
-D valgrind=disabled
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build ${jobs}
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user