commit a79713607a774e8a3479572cb1378a8ee9d9517e
Author: Jakub Bogusz <[email protected]>
Date:   Sun Feb 17 07:53:08 2013 +0100

    - added am patch (fixes build with automake 1.13)
    - versioned libva dependencies

 libva-driver-vdpau-am.patch | 11 +++++++++++
 libva-driver-vdpau.spec     | 10 ++++++++--
 2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/libva-driver-vdpau.spec b/libva-driver-vdpau.spec
index 2a5f684..fe51d42 100644
--- a/libva-driver-vdpau.spec
+++ b/libva-driver-vdpau.spec
@@ -8,14 +8,18 @@ Group:                Libraries
 Source0:       
http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-%{version}.tar.bz2
 # Source0-md5: 5ec6d452d2dd307434ea3d32da49c3e5
 Patch0:         %{name}-with-GL_GLEXT_VERSION-85.patch
+Patch1:         %{name}-am.patch
 URL:           http://www.freedesktop.org/wiki/Software/vaapi
 BuildRequires: OpenGL-GLX-devel
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 BuildRequires: libtool
-BuildRequires: libva-devel
+BuildRequires: libva-devel >= 1.0.9
 BuildRequires: libvdpau-devel
 BuildRequires: pkgconfig
+# more specific than libva package version
+BuildRequires: pkgconfig(libva-x11) >= 0.31.0
+BuildRequires: pkgconfig(libva-glx) >= 0.32.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,6 +31,7 @@ Sterownik oparty na VDPAU dla VAAPI.
 %prep
 %setup -q -n libva-vdpau-driver-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -34,7 +39,8 @@ Sterownik oparty na VDPAU dla VAAPI.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --disable-silent-rules
 
 %{__make}
 
diff --git a/libva-driver-vdpau-am.patch b/libva-driver-vdpau-am.patch
new file mode 100644
index 0000000..d61b8f0
--- /dev/null
+++ b/libva-driver-vdpau-am.patch
@@ -0,0 +1,11 @@
+--- libva-vdpau-driver-0.7.4/configure.ac.orig 2012-10-05 17:03:02.000000000 
+0200
++++ libva-vdpau-driver-0.7.4/configure.ac      2013-02-17 07:46:28.776269399 
+0100
+@@ -23,7 +23,7 @@
+ AC_CONFIG_SRCDIR([Makefile.am])
+ AM_INIT_AUTOMAKE
+ 
+-AM_CONFIG_HEADER([src/config.h])
++AC_CONFIG_HEADERS([src/config.h])
+ 
+ VDPAU_VIDEO_MAJOR_VERSION=vdpau_video_major_version
+ VDPAU_VIDEO_MINOR_VERSION=vdpau_video_minor_version
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libva-driver-vdpau.git/commitdiff/a79713607a774e8a3479572cb1378a8ee9d9517e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to