mesa update
This commit is contained in:
1 parent
ab7bb067e2
commit
f9d42ce0aa
3 files changed
+26
-24
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='spirv-headers'
|
name='spirv-headers'
|
||||||
release='3'
|
release='4'
|
||||||
version='1.3.275.0'
|
version='1.4.313.0'
|
||||||
url='https://github.com/KhronosGroup/SPIRV-Headers'
|
url='https://github.com/KhronosGroup/SPIRV-Headers'
|
||||||
description='Machine-readable files for the SPIR-V Registry'
|
description='Machine-readable files for the SPIR-V Registry'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
@@ -10,7 +10,7 @@ license=('GPLv3')
|
|||||||
source=("https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-$version.tar.gz")
|
source=("https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-$version.tar.gz")
|
||||||
depends=()
|
depends=()
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('f293886617aa816fdbb2b50d5e909681')
|
sha256sums=('f68be549d74afb61600a1e3a7d1da1e6b7437758c8e77d664909f88f302c5ac1')
|
||||||
group=(dev.util)
|
group=(dev.util)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|||||||
@@ -1,40 +1,42 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='spirv-tools'
|
name='spirv-tools'
|
||||||
release='2'
|
release='3'
|
||||||
version='1.3.261.1'
|
version='1.4.313.0'
|
||||||
url='https://github.com/KhronosGroup/SPIRV-Tools'
|
url='https://github.com/KhronosGroup/SPIRV-Tools'
|
||||||
description='Provides an API and commands for processing SPIR-V modules'
|
description='Provides an API and commands for processing SPIR-V modules'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/sdk-$version.tar.gz")
|
source=("https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/vulkan-sdk-$version.tar.gz")
|
||||||
depends=(spirv-headers gcc)
|
depends=(spirv-headers gcc)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('461a76f8d68ef0749a0dacfb38a258c4')
|
sha256sums=('6b60f723345ceed5291cceebbcfacf7fea9361a69332261fa08ae57e2a562005')
|
||||||
group=(dev.util)
|
group=(dev.util)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd SPIRV-Tools-sdk-$version
|
cd SPIRV-Tools-vulkan-sdk-$version
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
mkdir build && cd build
|
local cmake_options=(
|
||||||
cmake .. \
|
-D BUILD_SHARED_LIBS=ON
|
||||||
-GNinja \
|
-D CMAKE_BUILD_TYPE=Release
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-D CMAKE_INSTALL_PREFIX=/usr
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib64 \
|
-D CMAKE_INSTALL_SYSCONFDIR=/etc
|
||||||
-DCMAKE_BUILD_TYPE=None \
|
-D CMAKE_SKIP_INSTALL_RPATH=ON
|
||||||
-DSPIRV_WERROR=Off \
|
-D SPIRV-Headers_SOURCE_DIR=/usr
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-D SPIRV_TOOLS_BUILD_STATIC=OFF
|
||||||
-DSPIRV_TOOLS_BUILD_STATIC=OFF \
|
-D SPIRV_WERROR=OFF
|
||||||
-DSPIRV-Headers_SOURCE_DIR=/usr
|
)
|
||||||
|
|
||||||
|
cmake -B build -G Ninja "${cmake_options[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
ninja -C build
|
ninja -C build $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
ninja -C build install
|
ninja -C build install $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='mesa'
|
name='mesa'
|
||||||
release='8'
|
release='9'
|
||||||
version='24.3.4'
|
version='25.1.0'
|
||||||
url='https://gitlab.freedesktop.org/mesa/mesa'
|
url='https://gitlab.freedesktop.org/mesa/mesa'
|
||||||
description='An open-source implementation of the OpenGL specification'
|
description='An open-source implementation of the OpenGL specification'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
@@ -10,7 +10,7 @@ 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 elfutils libclc py3-mako libglvnd eudev)
|
depends=(libva libvdpau libdrm llvm glslang elfutils libclc py3-mako libglvnd eudev)
|
||||||
makedepends=(git directx-headers py3-ply py3-yaml)
|
makedepends=(git directx-headers py3-ply py3-yaml)
|
||||||
sha256sums=('966b515c83e6d52f34a151194abd0464b1a7af87158eba4036801a600216288e')
|
sha256sums=('138ae43a18f48e0a08460305b054f9e57bc4bb79fa73b58e330421123ffac7ac')
|
||||||
group=(media.libs)
|
group=(media.libs)
|
||||||
uses=(wayland x11)
|
uses=(wayland x11)
|
||||||
wayland_depends=(wayland wayland-protocols)
|
wayland_depends=(wayland wayland-protocols)
|
||||||
@@ -27,7 +27,7 @@ setup(){
|
|||||||
-D b_ndebug=true \
|
-D b_ndebug=true \
|
||||||
-D b_lto=false \
|
-D b_lto=false \
|
||||||
-D platforms=$(use_opt x11 x11 ""),$(use_opt wayland wayland "") \
|
-D platforms=$(use_opt x11 x11 ""),$(use_opt wayland wayland "") \
|
||||||
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,llvmpipe,softpipe,swrast,i915,iris,crocus,zink,d3d12 \
|
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,llvmpipe,softpipe,iris,crocus,i915,zink,d3d12 \
|
||||||
-D vulkan-drivers=amd,intel,intel_hasvk,swrast,virtio \
|
-D vulkan-drivers=amd,intel,intel_hasvk,swrast,virtio \
|
||||||
-D vulkan-layers=device-select,intel-nullhw,overlay \
|
-D vulkan-layers=device-select,intel-nullhw,overlay \
|
||||||
-D platforms=x11,wayland \
|
-D platforms=x11,wayland \
|
||||||
|
|||||||
Reference in new issue
Block a user