Commit 6ad178c2 authored by AlmAck's avatar AlmAck

nvidia 418.43 [skip-ci]

parent 388b8b59
Pipeline #2776 skipped
{
"file_format_version" : "1.0.0",
"ICD" : {
"library_path" : "libnvidia-egl-wayland.so.1"
}
}
# Arch Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=egl-wayland
pkgver=1.1.2
pkgrel=1
pkgdesc="EGLStream-based Wayland external platform"
arch=(x86_64)
url=https://github.com/NVIDIA/egl-wayland
license=(MIT)
depends=(wayland eglexternalplatform)
makedepends=(meson git)
_commit=c81f849fc08e36fc5b94031b6edc361ab5027fce # master
source=("git+$url#commit=$_commit"
10_nvidia_wayland.json)
sha256sums=('SKIP'
'5cccf1905a266e8e34d5ad4aad4be85390e60b1a0850a29dd9d64adc641de412')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
git tag -f 1.1.2 c81f849fc08e36fc5b94031b6edc361ab5027fce # Fixup missing tag
}
build() {
chakra-meson $pkgname build
ninja -C build
}
check() {
cd build
meson test
}
package() {
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/egl/egl_external_platform.d" -m644 10_nvidia_wayland.json
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
}
# Arch Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=eglexternalplatform
pkgver=1.0+3+g7c8f8e2
pkgrel=1
pkgdesc="EGL External Platform interface"
url=https://github.com/NVIDIA/eglexternalplatform
arch=(any)
license=(MIT)
depends=(mesa)
makedepends=(git)
_commit=7c8f8e2218e46b1a4aa9538520919747f1184d86 # master
source=("git+$url#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
git tag -f 1.0 53bf47ccd349b7525248687ba0058860168c8580 # Fixup missing tag
}
package() {
cd $pkgname
install -Dt "$pkgdir/usr/include/EGL" -m644 interface/*
install -Dt "$pkgdir/usr/share/pkgconfig" -m644 *.pc
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
}
......@@ -2,8 +2,8 @@ pkgbase=nvidia-utils
pkgname=(nvidia-utils opencl-nvidia)
# Edit chakra-hardware-detection/hooks/hwdetect_7_graphics on version jump from 3xx.xx
# Update nvidia-settings too
pkgver=410.78
pkgrel=5
pkgver=418.43
pkgrel=2
arch=('x86_64')
url="http://www.nvidia.com/"
license=('custom')
......@@ -14,7 +14,7 @@ source=('nvidia-drm-outputclass.conf'
"https://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
sha512sums=('4157ea4217791a307844040bb2ba72705438c20bd9e4c024851e8ee78c1e07e8f7e9e1c50b7eeed42a7733d8f3fc12376cafae5257bb03a6370d44a21247396a'
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
'0bd7ed61dcfd4d7634ba450b106d7648fc274c256e7e4c4e51e544bd7779d68ffa08cba709ace5333679eeea1dbe4afa0c267361887eaa784d6f1369b717677d')
'bfd43bec59de7523e879354224f2a678b6bcce53136f10d139882d9ea5d100c034fce2a15100607cb4622a3d158dbbfb41aacc528b04307c989c915b78298045')
create_links() {
......@@ -55,7 +55,7 @@ package_opencl-nvidia() {
package_nvidia-utils() {
pkgdesc="NVIDIA drivers utilities"
depends=('xorg-server' 'libglvnd')
depends=('xorg-server' 'libglvnd' 'egl-wayland')
optdepends=('nvidia-settings: configuration tool'
'xorg-server-devel: nvidia-xconfig'
'opencl-nvidia: OpenCL support')
......@@ -75,14 +75,6 @@ package_nvidia-utils() {
ln -s "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1"
ln -s "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so"
# Wayland stuff
install -D -m755 "libnvidia-egl-wayland.so.1.1.0" "${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1.1.0"
ln -s "libnvidia-egl-wayland.so.1.1.0" "${pkgdir}/usr/lib/libnvidia-egl-wayland.so.1"
install -D -m644 "10_nvidia_wayland.json" "${pkgdir}/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json"
# X wrapped software rendering
install -D -m755 "libnvidia-wfb.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-wfb.so.${pkgver}"
install -D -m755 "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLX_nvidia.so.${pkgver}"
# OpenGL libraries
......@@ -112,7 +104,6 @@ package_nvidia-utils() {
# nvidia-tls library
install -D -m755 "libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-tls.so.${pkgver}"
install -D -m755 "tls/libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib/tls/libnvidia-tls.so.${pkgver}"
# CUDA
install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib/libcuda.so.${pkgver}"
......@@ -129,6 +120,9 @@ package_nvidia-utils() {
install -D -m755 "libnvidia-rtcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-rtcore.so.${pkgver}"
install -D -m755 "libnvidia-cbl.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-cbl.so.${pkgver}"
# Optical flow
install -D -m755 "libnvidia-opticalflow.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opticalflow.so.${pkgver}"
# DEBUG
install -D -m755 nvidia-debugdump "${pkgdir}/usr/bin/nvidia-debugdump"
......
post_install() {
if ! getent group nvidia-persistenced >/dev/null; then
groupadd -g 143 nvidia-persistenced
fi
if ! getent passwd nvidia-persistenced >/dev/null; then
useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced
fi
post_upgrade() {
echo "If you run into trouble with CUDA not being available, run nvidia-modprobe first."
}
post_remove() {
if getent group nvidia-persistenced >/dev/null; then
userdel -f nvidia-persistenced
fi
post_install() {
post_upgrade
}
pkgbase=nvidia
pkgname=(nvidia nvidia-dkms chd-nvidia)
pkgver=410.78
pkgrel=3
pkgver=418.43
pkgrel=1
arch=('x86_64')
url="http://www.nvidia.com/"
makedepends=("linux-headers=4.19.12" 'libglvnd' "nvidia-utils=${pkgver}")
......@@ -12,7 +12,7 @@ _extramodules=extramodules-CHAKRA
source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run"
"https://code.chakralinux.org/tools/chakra-hardware-detection/raw/master/hwdb/nvidia_supported_new"
'kernel-4.16.patch')
sha256sums=('5db64b57cce95331eed0bcdbdd7faa43732f3a2a014fa5a2d3af24b8ab5d2ab2'
sha256sums=('18be2c83dee3323bd57fe77fddbbbbd5d760ada674781fb9b39321e6386a327f'
'94db1b11de33b0299da021fee8c21e4442656fe76452ac582b556e3f96365d5d'
'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385')
......
......@@ -4,7 +4,7 @@ pkgbase=xorg-server
pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 'xorg-server-xvfb' 'xorg-server-xnest'
'xorg-server-xwayland' 'xorg-server-common' 'xorg-server-devel')
pkgver=1.20.3
pkgrel=1
pkgrel=2
arch=('x86_64')
license=('custom')
groups=('xorg')
......@@ -14,7 +14,7 @@ makedepends=('xorgproto' 'pixman' 'libx11' 'mesa' 'mesa-libgl' 'xtrans'
'libxmu' 'libxrender' 'libxi' 'libxaw' 'libdmx' 'libxtst' 'libxres'
'xorg-xkbcomp' 'xorg-util-macros' 'xorg-font-util' 'libepoxy'
'xcb-util' 'xcb-util-image' 'xcb-util-renderutil' 'xcb-util-wm' 'xcb-util-keysyms'
'libxshmfence' 'libunwind' 'systemd' 'wayland-protocols' 'meson') # 'git')
'libxshmfence' 'libunwind' 'systemd' 'wayland-protocols' 'egl-wayland' 'meson') # 'git')
source=(https://xorg.freedesktop.org/releases/individual/xserver/${pkgbase}-${pkgver}.tar.bz2{,.sig}
'xwayland-config.h.meson.in::https://cgit.freedesktop.org/xorg/xserver/plain/include/xwayland-config.h.meson.in?id=xorg-server-1.20.3'
xserver-autobind-hotplug.patch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment