Hello community,

here is the log from the commit of package libvdpau-va-gl for openSUSE:Factory 
checked in at 2015-02-16 21:14:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvdpau-va-gl (Old)
 and      /work/SRC/openSUSE:Factory/.libvdpau-va-gl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libvdpau-va-gl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libvdpau-va-gl/libvdpau-va-gl.changes    
2014-09-28 19:54:09.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libvdpau-va-gl.new/libvdpau-va-gl.changes       
2015-02-16 21:14:51.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 16 13:01:19 UTC 2015 - [email protected]
+
+- /etc/profile.d/libvdpau-va-gl.{csh,sh}: do not set VDPAU_DRIVER,
+  if NVIDIA's proprietary driver is installed
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libvdpau-va-gl.spec ++++++
--- /var/tmp/diff_new_pack.Zr031x/_old  2015-02-16 21:14:52.000000000 +0100
+++ /var/tmp/diff_new_pack.Zr031x/_new  2015-02-16 21:14:52.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libvdpau-va-gl
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,6 @@
 
 %define _libname libvdpau_va_gl
 %define _sover 1
-
 Name:           libvdpau-va-gl
 Version:        0.3.4
 Release:        0
@@ -27,9 +26,7 @@
 Group:          System/Libraries
 Url:            https://github.com/i-rinat/libvdpau-va-gl
 Source:         https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz
-
 Source1:        baselibs.conf
-
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
@@ -53,8 +50,8 @@
 %package -n %{_libname}%{_sover}
 Summary:        VDPAU driver with OpenGL/VAAPI backend
 Group:          System/Libraries
-Provides:       %{_libname} = %{version}
 Supplements:    xf86-video-intel
+Provides:       %{_libname} = %{version}
 
 %description -n %{_libname}%{_sover}
 Many applications can use VDPAU to accelerate portions of the video
@@ -68,8 +65,18 @@
 
 %prep
 %setup -q
-echo "export VDPAU_DRIVER='va_gl'" > %{name}.sh
-echo "setenv VDPAU_DRIVER 'va_gl'" > %{name}.csh
+cat > %{name}.sh << EOF
+# avoid usage of this library when NVIDIA's proprietary driver is running
+if ! test -c /dev/nvidiactl; then  
+  export VDPAU_DRIVER='va_gl'
+fi
+EOF
+cat > %{name}.csh << EOF
+# avoid usage of this library when NVIDIA's proprietary driver is running
+if (! -c /dev/nvidiactl) then
+  setenv VDPAU_DRIVER 'va_gl'
+endif
+EOF
 
 %build
 %cmake -DLIB_INSTALL_DIR=%{_libdir}/vdpau

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to