Skip to content

Commit

Permalink
nvidia-550xx-utils: Sync and fix pkgnames
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jung <[email protected]>
  • Loading branch information
ptr1337 committed Dec 9, 2024
1 parent 1fafa2a commit 96e8c67
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 40 deletions.
10 changes: 5 additions & 5 deletions nvidia/nvidia-550xx/lib32-nvidia-550xx-utils/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
pkgbase = lib32-nvidia-550xx-utils
pkgdesc = NVIDIA x32 libs for Linux, 550 branch
pkgver = 550.127.08
pkgver = 550.135
pkgrel = 1
url = http://www.nvidia.com/
arch = x86_64
license = custom
options = !strip
source = https://us.download.nvidia.com/tesla/550.127.08/NVIDIA-Linux-x86_64-550.127.08.run
sha512sums = a407cfe93fda18f8162410eac21cdb0c162b9a51abb968ab85c23125b06003d283dbf7095d5cc572e6af6590a3ae237f3e72b7919e0139c2b68a2089713e7025
source = https://us.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run
sha512sums = 1e93424a527023bd28d9349e1a5afd2053b8c9f20ef8ecd5d185b661bccaec972ffca604b67b0e7fe596a2d1de9d57256f2ec3f1afd1571ac155d06ae7d87f0a

pkgname = lib32-nvidia-550xx-utils
pkgdesc = NVIDIA drivers utilities (32-bit), 550 branch
depends = lib32-zlib
depends = lib32-gcc-libs
depends = lib32-libglvnd
depends = nvidia-utils=550.127.08
depends = nvidia-utils=550.135
optdepends = lib32-opencl-nvidia
provides = lib32-nvidia-utils=550.127.08
provides = lib32-nvidia-utils=550.135
provides = lib32-vulkan-driver
provides = lib32-opengl-driver
provides = lib32-nvidia-libgl
Expand Down
18 changes: 12 additions & 6 deletions nvidia/nvidia-550xx/lib32-nvidia-550xx-utils/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
# Maintainer: archeese
# Maintainer: failsafe65
# Contributor: Sven-Hendrik Haase <[email protected]>
# Contributor: Thomas Baechler <[email protected]>
# Contributor: James Rayner <[email protected]>

_pkgbasename=nvidia-utils
pkgbase=lib32-nvidia-550xx-utils
_pkgbasename=nvidia-550xx-utils
pkgbase=lib32-$_pkgbasename
pkgname=('lib32-nvidia-550xx-utils' 'lib32-opencl-nvidia-550xx')
pkgver=550.127.08
pkgver=550.135
pkgrel=1
pkgdesc="NVIDIA x32 libs for Linux, 550 branch"
arch=('x86_64')
url="http://www.nvidia.com/"
#makedepends=('nvidia-libgl') # To avoid conflict during installation in the build chroot
license=('custom')
options=('!strip')
_pkg="NVIDIA-Linux-x86_64-${pkgver}"
source=("https://us.download.nvidia.com/tesla/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}.run")
sha512sums=('a407cfe93fda18f8162410eac21cdb0c162b9a51abb968ab85c23125b06003d283dbf7095d5cc572e6af6590a3ae237f3e72b7919e0139c2b68a2089713e7025')
source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
sha512sums=('1e93424a527023bd28d9349e1a5afd2053b8c9f20ef8ecd5d185b661bccaec972ffca604b67b0e7fe596a2d1de9d57256f2ec3f1afd1571ac155d06ae7d87f0a')

create_links() {
# create soname links
Expand Down Expand Up @@ -71,11 +75,13 @@ package_lib32-nvidia-550xx-utils() {
install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}"

# misc
mkdir -p "${pkgdir}/usr/lib32/gbm" && ln -sr "${pkgdir}/usr/lib32/libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib32/gbm/nvidia-drm_gbm.so"
install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}"
install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}"
install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}"
install -D -m755 "libnvidia-glvkspirv.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glvkspirv.so.${pkgver}"
install -D -m755 "libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-allocator.so.${pkgver}"
install -D -m755 "libnvidia-gpucomp.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-gpucomp.so.${pkgver}"

# VDPAU
install -D -m755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}"
Expand Down
31 changes: 19 additions & 12 deletions nvidia/nvidia-550xx/nvidia-550xx-dkms/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pkgbase = nvidia-550xx-dkms
pkgver = 550.127.08
pkgdesc = NVIDIA drivers for Linux, 550 branch
pkgver = 550.135
pkgrel = 1
url = http://www.nvidia.com/
arch = x86_64
Expand All @@ -12,42 +13,48 @@ pkgbase = nvidia-550xx-dkms
source = nvidia.rules
source = systemd-homed-override.conf
source = systemd-suspend-override.conf
source = https://us.download.nvidia.com/tesla/550.127.08/NVIDIA-Linux-x86_64-550.127.08.run
source = https://us.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run
sha512sums = de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770
sha512sums = 4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499
sha512sums = f8f071f5a46c1a5ce5188e104b017808d752e61c0c20de1466feb5d693c0b55a5586314411e78cc2ab9c0e16e2c67afdd358da94c0c75df1f8233f54c280762c
sha512sums = a0183adce78e40853edf7e6b73867e7a8ea5dabac8e8164e42781f64d5232fbe869f850ab0697c3718ebced5cde760d0e807c05da50a982071dfe1157c31d6b8
sha512sums = 55def6319f6abb1a4ccd28a89cd60f1933d155c10ba775b8dfa60a2dc5696b4b472c14b252dc0891f956e70264be87c3d5d4271e929a4fc4b1a68a6902814cee
sha512sums = a407cfe93fda18f8162410eac21cdb0c162b9a51abb968ab85c23125b06003d283dbf7095d5cc572e6af6590a3ae237f3e72b7919e0139c2b68a2089713e7025
sha512sums = 1e93424a527023bd28d9349e1a5afd2053b8c9f20ef8ecd5d185b661bccaec972ffca604b67b0e7fe596a2d1de9d57256f2ec3f1afd1571ac155d06ae7d87f0a

pkgname = nvidia-550xx-utils
pkgdesc = NVIDIA drivers 550 utilities
install = nvidia-utils.install
pkgdesc = NVIDIA drivers utilities, 550 branch
install = nvidia-550xx-utils.install
depends = libglvnd
depends = egl-wayland
optdepends = nvidia-settings: configuration tool
optdepends = xorg-server: Xorg support
optdepends = xorg-server-devel: nvidia-xconfig
optdepends = opencl-nvidia: OpenCL support
provides = nvidia-utils=550.135
provides = vulkan-driver
provides = opengl-driver
provides = nvidia-libgl
provides = nvidia-utils=550.127.08
conflicts = nvidia-libgl
provides = egl-gbm
conflicts = nvidia-utils
replaces = nvidia-libgl
conflicts = nvidia-libgl
conflicts = egl-gbm

pkgname = opencl-550xx-nvidia
pkgdesc = OpenCL implemention for NVIDIA 550
pkgname = opencl-nvidia-550xx
pkgdesc = OpenCL implemention for NVIDIA, 550 branch
depends = zlib
optdepends = opencl-headers: headers necessary for OpenCL development
provides = opencl-nvidia
provides = opencl-driver
conflicts = opencl-nvidia

pkgname = nvidia-550xx-dkms
pkgdesc = NVIDIA drivers 550 - module sources
pkgdesc = NVIDIA drivers - module sources, 550 branch
depends = dkms
depends = nvidia-utils=550.127.08
depends = nvidia-utils=550.135
depends = libglvnd
provides = nvidia-dkms=550.135
provides = NVIDIA-MODULE
provides = nvidia
conflicts = nvidia-dkms
conflicts = NVIDIA-MODULE
conflicts = nvidia
33 changes: 16 additions & 17 deletions nvidia/nvidia-550xx/nvidia-550xx-dkms/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
# Contributor: Vasiliy Stelmachenok <[email protected]>

pkgbase=nvidia-550xx-dkms
pkgname=('nvidia-550xx-utils' 'opencl-550xx-nvidia' 'nvidia-550xx-dkms')
pkgver=550.127.08
pkgname=('nvidia-550xx-utils' 'opencl-nvidia-550xx' 'nvidia-550xx-dkms')
pkgver=550.135
pkgrel=1
pkgdesc="NVIDIA drivers for Linux, 550 branch"
arch=('x86_64')
url="http://www.nvidia.com/"
license=('custom')
Expand All @@ -20,14 +21,13 @@ source=('nvidia-drm-outputclass.conf'
'nvidia.rules'
'systemd-homed-override.conf'
'systemd-suspend-override.conf'
# "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run"
"https://us.download.nvidia.com/tesla/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}.run")
"https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run")
sha512sums=('de7116c09f282a27920a1382df84aa86f559e537664bb30689605177ce37dc5067748acf9afd66a3269a6e323461356592fdfc624c86523bf105ff8fe47d3770'
'4b3ad73f5076ba90fe0b3a2e712ac9cde76f469cd8070280f960c3ce7dc502d1927f525ae18d008075c8f08ea432f7be0a6c3a7a6b49c361126dcf42f97ec499'
'f8f071f5a46c1a5ce5188e104b017808d752e61c0c20de1466feb5d693c0b55a5586314411e78cc2ab9c0e16e2c67afdd358da94c0c75df1f8233f54c280762c'
'a0183adce78e40853edf7e6b73867e7a8ea5dabac8e8164e42781f64d5232fbe869f850ab0697c3718ebced5cde760d0e807c05da50a982071dfe1157c31d6b8'
'55def6319f6abb1a4ccd28a89cd60f1933d155c10ba775b8dfa60a2dc5696b4b472c14b252dc0891f956e70264be87c3d5d4271e929a4fc4b1a68a6902814cee'
'a407cfe93fda18f8162410eac21cdb0c162b9a51abb968ab85c23125b06003d283dbf7095d5cc572e6af6590a3ae237f3e72b7919e0139c2b68a2089713e7025')
'1e93424a527023bd28d9349e1a5afd2053b8c9f20ef8ecd5d185b661bccaec972ffca604b67b0e7fe596a2d1de9d57256f2ec3f1afd1571ac155d06ae7d87f0a')


create_links() {
Expand Down Expand Up @@ -65,12 +65,12 @@ DEST_MODULE_LOCATION[4]="/kernel/drivers/video"' dkms.conf
sed -i 's/NV_EXCLUDE_BUILD_MODULES/IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES/' dkms.conf
}

package_opencl-550xx-nvidia() {
pkgdesc="OpenCL implemention for NVIDIA 550"
package_opencl-nvidia-550xx() {
pkgdesc="OpenCL implemention for NVIDIA, 550 branch"
depends=('zlib')
optdepends=('opencl-headers: headers necessary for OpenCL development')
provides=('opencl-driver')
conflicts=('opencl-nvidia')
provides=('opencl-nvidia' 'opencl-driver')
cd "${_pkg}"

# OpenCL
Expand All @@ -84,10 +84,10 @@ package_opencl-550xx-nvidia() {
}

package_nvidia-550xx-dkms() {
pkgdesc="NVIDIA drivers 550 - module sources"
depends=('dkms' "nvidia-utils=$pkgver" 'libglvnd')
provides=('NVIDIA-MODULE')
conflicts=('NVIDIA-MODULE')
pkgdesc="NVIDIA drivers - module sources, 550 branch"
depends=('dkms' "nvidia-utils=${pkgver}" 'libglvnd')
provides=("nvidia-dkms=${pkgver}" 'NVIDIA-MODULE' 'nvidia')
conflicts=('nvidia-dkms' 'NVIDIA-MODULE' 'nvidia')

cd ${_pkg}

Expand All @@ -98,16 +98,15 @@ package_nvidia-550xx-dkms() {
}

package_nvidia-550xx-utils() {
pkgdesc="NVIDIA drivers 550 utilities"
pkgdesc="NVIDIA drivers utilities, 550 branch"
depends=('libglvnd' 'egl-wayland')
optdepends=('nvidia-settings: configuration tool'
'xorg-server: Xorg support'
'xorg-server-devel: nvidia-xconfig'
'opencl-nvidia: OpenCL support')
conflicts=('nvidia-libgl' 'nvidia-utils')
provides=('vulkan-driver' 'opengl-driver' 'nvidia-libgl' "nvidia-utils=${pkgver}")
replaces=('nvidia-libgl')
install="nvidia-utils.install"
conflicts=('nvidia-utils' 'nvidia-libgl' 'egl-gbm')
provides=("nvidia-utils=${pkgver}" 'vulkan-driver' 'opengl-driver' 'nvidia-libgl' 'egl-gbm')
install="${pkgname}.install"

cd "${_pkg}"

Expand Down

0 comments on commit 96e8c67

Please sign in to comment.