]> git.pld-linux.org Git - packages/nvidia-settings.git/commitdiff
up to 515.48.07 auto/th/nvidia-settings-515.48.07-1
authorJan Palus <atler@pld-linux.org>
Wed, 1 Jun 2022 19:52:01 +0000 (21:52 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 1 Jun 2022 19:52:01 +0000 (21:52 +0200)
nvidia-settings.spec
wayland.patch [new file with mode: 0644]

index 85e931d7847d9bd535b1c6c51cb360c24545454d..7d354b52001ab43197f0a23aa74486e0247aa44a 100644 (file)
@@ -9,18 +9,20 @@ Summary:      Tool for configuring the NVIDIA driver
 Summary(pl.UTF-8):     Narzędzie do konfigurowania sterownika NVIDIA
 Name:          nvidia-settings
 # keep the version in sync with xorg-driver-video-nvidia.spec
 Summary(pl.UTF-8):     Narzędzie do konfigurowania sterownika NVIDIA
 Name:          nvidia-settings
 # keep the version in sync with xorg-driver-video-nvidia.spec
-Version:       510.73.05
+Version:       515.48.07
 Release:       1
 License:       GPL v2 (with MIT parts)
 Group:         X11/Applications
 Source0:       https://download.nvidia.com/XFree86/nvidia-settings/%{name}-%{version}.tar.bz2
 Release:       1
 License:       GPL v2 (with MIT parts)
 Group:         X11/Applications
 Source0:       https://download.nvidia.com/XFree86/nvidia-settings/%{name}-%{version}.tar.bz2
-# Source0-md5: de14a66b9cf8eb75d56f2fd89b381edb
+# Source0-md5: 33b2e4e2361c067e69a8c211aeff7d7c
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Source3:       %{name}-autostart.desktop
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Source3:       %{name}-autostart.desktop
+Patch0:                wayland.patch
 URL:           ftp://download.nvidia.com/XFree86/nvidia-settings/
 BuildRequires: OpenGL-devel
 BuildRequires: libvdpau-devel >= 1.0
 URL:           ftp://download.nvidia.com/XFree86/nvidia-settings/
 BuildRequires: OpenGL-devel
 BuildRequires: libvdpau-devel >= 1.0
+BuildRequires: wayland-devel
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXv-devel
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXv-devel
@@ -116,6 +118,7 @@ sterowników NVIDIA.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with libXNVCtrl}
 
 %build
 %if %{with libXNVCtrl}
diff --git a/wayland.patch b/wayland.patch
new file mode 100644 (file)
index 0000000..6411128
--- /dev/null
@@ -0,0 +1,15 @@
+--- nvidia-settings-515.48.07/src/Makefile.orig        2022-05-27 06:00:06.000000000 +0200
++++ nvidia-settings-515.48.07/src/Makefile     2022-06-01 21:50:14.917004206 +0200
+@@ -42,10 +42,10 @@
+ endif
+ ifeq (1,$(WAYLAND_AVAILABLE))
+   ifndef WAYLAND_CFLAGS
+-    WAYLAND_CFLAGS := $(shell $(PKG_CONFIG) --cflags )
++    WAYLAND_CFLAGS := $(shell $(PKG_CONFIG) --cflags wayland-client)
+   endif
+   ifndef WAYLAND_LDFLAGS
+-    WAYLAND_LDFLAGS := $(shell $(PKG_CONFIG) --libs )
++    WAYLAND_LDFLAGS := $(shell $(PKG_CONFIG) --libs wayland-client)
+   endif
+   BUILD_WAYLANDLIB = 1
+ endif
This page took 0.214069 seconds and 4 git commands to generate.