mesa update
This commit is contained in:
1 parent
dbde40896e
commit
9a46441074
2 files changed
+38
-3
No files matched your search
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='weston'
|
||||||
|
release='1'
|
||||||
|
version='11.0.1'
|
||||||
|
url='https://gitlab.freedesktop.org/wayland/weston'
|
||||||
|
description='A lightweight and functional Wayland compositor'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://gitlab.freedesktop.org/wayland/weston/-/archive/$version/weston-$version.tar.gz")
|
||||||
|
depends=(pixman libdrm)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('67ad4a73ed94c3fc9f7aaa3700d311fb')
|
||||||
|
group=()
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -C build install
|
||||||
|
}
|
||||||
|
|
||||||
@@ -8,11 +8,12 @@ email='aliriza.keskin@pardus.org.tr'
|
|||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-$version/mesa-mesa-$version.tar.gz")
|
source=("https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-$version/mesa-mesa-$version.tar.gz")
|
||||||
depends=(libva libvdpau libdrm llvm glslang wayland wayland-protocols)
|
depends=(libva libvdpau libdrm llvm glslang)
|
||||||
makedepends=(git)
|
makedepends=(git)
|
||||||
md5sums=('ed193340000a3f32946d490ea53aaddd')
|
md5sums=('ed193340000a3f32946d490ea53aaddd')
|
||||||
group=(media.libs)
|
group=(media.libs)
|
||||||
uses=()
|
uses=(wayland x11)
|
||||||
|
wayland_depends=(wayland wayland-protocols)
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd $name-$name-$version
|
cd $name-$name-$version
|
||||||
@@ -21,7 +22,7 @@ setup(){
|
|||||||
meson setup build --prefix=/usr \
|
meson setup build --prefix=/usr \
|
||||||
-D b_ndebug=true \
|
-D b_ndebug=true \
|
||||||
-D b_lto=true \
|
-D b_lto=true \
|
||||||
-D platforms=x11,wayland \
|
-D platforms=$(use_opt x11 x11 ""),$(use_opt wayland wayland "") \
|
||||||
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink,d3d12 \
|
-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-drivers=amd,intel,intel_hasvk,swrast,virtio-experimental \
|
||||||
-D vulkan-layers=device-select,intel-nullhw,overlay \
|
-D vulkan-layers=device-select,intel-nullhw,overlay \
|
||||||
@@ -49,6 +50,8 @@ setup(){
|
|||||||
-D gallium-omx=bellagio \
|
-D gallium-omx=bellagio \
|
||||||
-D gallium-rusticl=true \
|
-D gallium-rusticl=true \
|
||||||
-D rust_std=2021 \
|
-D rust_std=2021 \
|
||||||
|
-Dzstd=false \
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|||||||
Reference in new issue
Block a user