Compare commits

..

10 Commits

Author SHA1 Message Date
2f87248463 Update PKGBUILD
Some checks failed
gitea/pkg-mesa-qcom-git/pipeline/head There was a failure building this commit
2024-03-12 17:11:33 +08:00
e502569880 Update PKGBUILD 2024-03-12 16:31:56 +08:00
b3f7ac6597 Add pacman -Syy step
Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
2023-12-16 16:17:23 +08:00
3657d6358a Use dependency of directx-headers-git
Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
2023-12-16 16:07:20 +08:00
Xilin Wu
e75d5d1728 Update Jenkinsfile
Signed-off-by: Xilin Wu <wuxilin123@gmail.com>
2023-12-16 15:30:04 +08:00
Xilin Wu
2f5bc0b3af Add Jenkinsfile
Signed-off-by: Xilin Wu <wuxilin123@gmail.com>
2023-12-16 15:08:18 +08:00
Xilin Wu
633a88ce57 Adapt for adreno
Signed-off-by: Xilin Wu <wuxilin123@gmail.com>
2023-12-16 15:03:24 +08:00
Reza Jahanbakhshi
e34eb6c3fb Added av1dec, av1enc, vp9dec to the list of codecs. 2023-11-29 10:13:05 +01:00
Reza Jahanbakhshi
15e5d3223a Added av1dec, av1enc, vp9dec to the list of codecs. 2023-11-29 10:11:53 +01:00
Lone_Wolf
0802bccb99 disabled clover opencl, corrected provides/conflicts/deps 2023-11-04 17:13:13 +01:00
3 changed files with 79 additions and 29 deletions

View File

@ -1,15 +1,14 @@
pkgbase = mesa-git
pkgbase = mesa-qcom-git
pkgdesc = an open-source implementation of the OpenGL specification, git version
pkgver = 24.0.0_devel.179834.47398c65ee7.d41d8cd
pkgver = 24.0.0_devel.181206.ec43c20182b.d41d8cd
pkgrel = 1
url = https://www.mesa3d.org
arch = x86_64
arch = aarch64
license = custom
makedepends = git
makedepends = python-mako
makedepends = xorgproto
makedepends = libxml2
makedepends = libx11
makedepends = libvdpau
makedepends = libva
makedepends = elfutils
@ -19,8 +18,6 @@ pkgbase = mesa-git
makedepends = ninja
makedepends = glslang
makedepends = directx-headers
makedepends = libclc
makedepends = spirv-llvm-translator
makedepends = llvm=16.0.6
makedepends = clang=16.0.6
depends = libdrm
@ -33,31 +30,37 @@ pkgbase = mesa-git
depends = libglvnd
depends = wayland
depends = lm_sensors
depends = libclc
depends = vulkan-icd-loader
depends = zstd
depends = expat
depends = gcc-libs
depends = libxfixes
depends = libx11
depends = systemd-libs
depends = libxext
depends = libxcb
depends = glibc
depends = zlib
depends = llvm-libs=16.0.6
optdepends = opengl-man-pages: for the OpenGL API man pages
optdepends = clang: opencl
optdepends = compiler-rt: opencl
provides = mesa
provides = opencl-mesa
provides = vulkan-intel
provides = vulkan-radeon
provides = vulkan-mesa-layer
provides = vulkan-mesa-layers
provides = libva-mesa-driver
provides = mesa-vdpau
provides = vulkan-swrast
provides = vulkan-driver
provides = mesa-libgl
provides = opengl-driver
provides = opencl-driver
conflicts = mesa
conflicts = opencl-mesa
conflicts = opencl-clover-mesa
conflicts = opencl-rusticl-mesa
conflicts = vulkan-intel
conflicts = vulkan-radeon
conflicts = vulkan-mesa-layer
conflicts = vulkan-mesa-layers
conflicts = libva-mesa-driver
conflicts = mesa-vdpau
conflicts = vulkan-swrast

45
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,45 @@
pipeline {
agent {
label 'aarch64 && archlinux'
}
stages {
stage('Download Config') {
steps {
dir('jenkins-utils') {
git 'https://gitlab.classfun.cn:4443/renegade-project/jenkins-utils'
}
}
}
stage('Cleanup packages') {
steps {
sh 'rm -f *.pkg.tar.*'
}
}
stage('Build') {
steps {
sh 'sudo pacman -Syy'
sh 'makepkg --config jenkins-utils/makepkg-aarch64.conf --syncdeps --force --noconfirm'
}
}
stage('Signature packages') {
steps {
withCredentials([
file(credentialsId: 'gpg-file', variable: 'GPG_FILE'),
string(credentialsId: 'gpg-secret', variable: 'GPG_SECRET')
]) {
sh 'python3 jenkins-utils/sign-pkg.py -d . -k "$GPG_FILE" -p "$GPG_SECRET"'
}
}
}
stage('Upload packages') {
steps {
sh 'python3 jenkins-utils/upload-pkg.py -d . -a aarch64'
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: '*.pkg.tar.*', fingerprint: true
}
}
}
}

View File

@ -10,20 +10,23 @@
# Contributor: Antti "Tera" Oja <antti.bofh@gmail.com>
# Contributor: Diego Jose <diegoxter1006@gmail.com>
pkgname=mesa-git
pkgname=mesa-qcom-git
pkgdesc="an open-source implementation of the OpenGL specification, git version"
pkgver=24.0.0_devel.179834.47398c65ee7.d41d8cd
pkgrel=1
arch=('x86_64')
pkgver=24.0.0_devel.181992.9d162de9a05.d41d8cd
pkgrel=2
arch=('aarch64')
makedepends=('git' 'python-mako' 'xorgproto'
'libxml2' 'libx11' 'libvdpau' 'libva' 'elfutils' 'libxrandr'
'wayland-protocols' 'meson' 'ninja' 'glslang' 'directx-headers'
'libclc' 'spirv-llvm-translator')
'libxml2' 'libvdpau' 'libva' 'elfutils' 'libxrandr'
'wayland-protocols' 'meson' 'ninja' 'glslang' 'directx-headers-git'
)
depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
'libomxil-bellagio' 'libunwind' 'libglvnd' 'wayland' 'lm_sensors' 'libclc' 'vulkan-icd-loader' 'zstd' 'expat')
'libomxil-bellagio' 'libunwind' 'libglvnd' 'wayland' 'lm_sensors'
'vulkan-icd-loader' 'zstd' 'expat' 'gcc-libs' 'libxfixes' 'libx11' 'systemd-libs' 'libxext' 'libxcb'
'glibc' 'zlib'
)
optdepends=('opengl-man-pages: for the OpenGL API man pages')
provides=('mesa' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-layer' 'libva-mesa-driver' 'mesa-vdpau' 'vulkan-swrast' 'vulkan-driver' 'mesa-libgl' 'opengl-driver' 'opencl-driver')
conflicts=('mesa' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-layer' 'libva-mesa-driver' 'mesa-vdpau' 'vulkan-swrast' 'mesa-libgl')
provides=('mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-layers' 'libva-mesa-driver' 'mesa-vdpau' 'vulkan-swrast' 'vulkan-driver' 'mesa-libgl' 'opengl-driver')
conflicts=('mesa' 'opencl-clover-mesa' 'opencl-rusticl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-layers' 'libva-mesa-driver' 'mesa-vdpau' 'vulkan-swrast' 'mesa-libgl')
url="https://www.mesa3d.org"
license=('custom')
source=('mesa::git+https://gitlab.freedesktop.org/mesa/mesa.git#branch=main'
@ -73,8 +76,8 @@ case $MESA_WHICH_LLVM in
;;
4)
# extra/llvm
makedepends+=(llvm=16.0.6 clang=16.0.6)
depends+=(llvm-libs=16.0.6)
makedepends+=(llvm=17.0.6 clang=17.0.6)
depends+=(llvm-libs=17.0.6)
optdepends+=('clang: opencl' 'compiler-rt: opencl')
;;
*)
@ -120,15 +123,14 @@ build () {
-D b_ndebug=true \
-D b_lto=false \
-D platforms=x11,wayland \
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,i915,iris,crocus,zink,d3d12 \
-D vulkan-drivers=amd,intel,swrast,virtio,intel_hasvk \
-D gallium-drivers=virgl,svga,swrast,zink,d3d12,freedreno \
-D vulkan-drivers=swrast,virtio,freedreno \
-D vulkan-layers=device-select,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-opencl=disabled \
-D gallium-va=enabled \
-D gallium-vdpau=enabled \
-D gallium-xa=enabled \
@ -146,7 +148,7 @@ build () {
-D valgrind=disabled \
-D tools=[] \
-D zstd=enabled \
-D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \
-D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc,av1dec,av1enc,vp9dec \
-D buildtype=plain \
--wrap-mode=nofallback \
-D prefix=/usr \