From 3d946ce0747a0842ad29e2c94e2e9c47c69109dd Mon Sep 17 00:00:00 2001 From: Krzysztof Bogacki Date: Fri, 24 Nov 2023 13:14:02 +0100 Subject: [PATCH] Move libnvidia-wayland-client.so to correct package (#205) Also remove misleading symlink, the soname is _not_ libnvidia-wayland-client.so.1 --- PKGBUILD | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 3ff4a07..a8c3c0d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -298,7 +298,7 @@ fi pkgname=("${_pkgname_array[@]}") pkgver=$_driver_version -pkgrel=251 +pkgrel=252 arch=('x86_64') url="http://www.nvidia.com/" license=('custom:NVIDIA') @@ -1480,12 +1480,6 @@ nvidia-egl-wayland-tkg() { ln -s libnvidia-egl-wayland.so."${_eglwver}" "${pkgdir}"/usr/lib/libnvidia-egl-wayland.so.1 ln -s libnvidia-egl-wayland.so.1 "${pkgdir}"/usr/lib/libnvidia-egl-wayland.so - if [[ -e libnvidia-wayland-client.so.${pkgver} ]]; then - install -Dm755 libnvidia-wayland-client.so."${pkgver}" "${pkgdir}"/usr/lib/libnvidia-wayland-client.so."${pkgver}" - ln -s libnvidia-wayland-client.so."${pkgver}" "${pkgdir}"/usr/lib/libnvidia-wayland-client.so.1 - ln -s libnvidia-wayland-client.so.1 "${pkgdir}"/usr/lib/libnvidia-wayland-client.so - fi - install -Dm755 10_nvidia_wayland.json "${pkgdir}"/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json install -Dm755 "$where"/egl-wayland/licenses/egl-wayland/COPYING "${pkgdir}"/usr/share/licenses/egl-wayland/COPYING install -Dm755 "$where"/egl-wayland/pkgconfig/wayland-eglstream-protocols.pc "${pkgdir}"/usr/share/pkgconfig/wayland-eglstream-protocols.pc @@ -1771,6 +1765,11 @@ nvidia-settings-tkg() { install -D -m755 "libnvidia-gtk3.so.${pkgver}" -t "${pkgdir}/usr/lib" + if [[ -e libnvidia-wayland-client.so.${pkgver} ]]; then + install -Dm755 libnvidia-wayland-client.so."${pkgver}" "${pkgdir}"/usr/lib/libnvidia-wayland-client.so."${pkgver}" + ln -s libnvidia-wayland-client.so."${pkgver}" "${pkgdir}"/usr/lib/libnvidia-wayland-client.so + fi + # license install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" }