[packages/libvdpau-va-gl] - up to 0.2.1

arekm arekm at pld-linux.org
Sat Jan 18 12:28:26 CET 2014


commit 3dfce0908c614af6efd8bb5939c4a1906ebe4161
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jan 18 12:28:24 2014 +0100

    - up to 0.2.1

 libvdpau-va-gl-link.patch | 10 ++++++++++
 libvdpau-va-gl.spec       | 13 ++++++++-----
 2 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/libvdpau-va-gl.spec b/libvdpau-va-gl.spec
index 1a2812a..e81ff78 100644
--- a/libvdpau-va-gl.spec
+++ b/libvdpau-va-gl.spec
@@ -1,12 +1,12 @@
 Summary:	VDPAU driver with OpenGL/VAAPI backend
 Summary(pl.UTF-8):	Sterownik VDPAU z backendem OpenGL/VAAPI
 Name:		libvdpau-va-gl
-Version:	0.1.0
+Version:	0.2.1
 Release:	1
 License:	LGPL v3
 Group:		X11/Libraries
-Source0:	https://github.com/i-rinat/libvdpau-va-gl/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	cd56ad6ca1b69986c25a6fe6f608123f
+Source0:	https://github.com/i-rinat/libvdpau-va-gl/archive/v%{version}.tar.gz
+# Source0-md5:	419f6e4edb2efb92444fccfd0b49126c
 Patch0:		%{name}-link.patch
 URL:		https://github.com/i-rinat/libvdpau-va-gl
 BuildRequires:	OpenGL-devel
@@ -31,14 +31,17 @@ Sterownik VDPAU z backendem OpenGL/VAAPI.
 %patch0 -p1
 
 %build
+install -d build
+cd build
 %cmake \
-	-DLIB_INSTALL_DIR:PATH=%{_libdir}/vdpau
+	-DLIB_INSTALL_DIR:PATH=%{_libdir}/vdpau \
+	..
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_va_gl.so
diff --git a/libvdpau-va-gl-link.patch b/libvdpau-va-gl-link.patch
index 6d3c920..456c708 100644
--- a/libvdpau-va-gl-link.patch
+++ b/libvdpau-va-gl-link.patch
@@ -10,3 +10,13 @@ diff -ur libvdpau-va-gl.orig/CMakeLists.txt libvdpau-va-gl/CMakeLists.txt
  
  add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})
  add_custom_target(build-tests)
+--- libvdpau-va-gl-0.2.1/CMakeLists.txt~	2014-01-18 12:26:16.000000000 +0100
++++ libvdpau-va-gl-0.2.1/CMakeLists.txt	2014-01-18 12:27:33.772221702 +0100
+@@ -40,6 +40,7 @@
+ 
+ target_link_libraries (${DRIVER_NAME}
+ 	${SOMELIBS_LIBRARIES}
++	-lpthread
+ )
+ 
+ # add_library (xinitthreads SHARED xinitthreads.c)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvdpau-va-gl.git/commitdiff/3dfce0908c614af6efd8bb5939c4a1906ebe4161



More information about the pld-cvs-commit mailing list