]> git.pld-linux.org Git - packages/libva-driver-vdpau.git/commitdiff
- added am patch (fixes build with automake 1.13)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Feb 2013 06:53:08 +0000 (07:53 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Feb 2013 06:53:08 +0000 (07:53 +0100)
- versioned libva dependencies

libva-driver-vdpau-am.patch [new file with mode: 0644]
libva-driver-vdpau.spec

diff --git a/libva-driver-vdpau-am.patch b/libva-driver-vdpau-am.patch
new file mode 100644 (file)
index 0000000..d61b8f0
--- /dev/null
@@ -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
index 2a5f6849c024a3b2bc1d5256e54bd3af45f94a99..fe51d42191ce6e3d61e886b88a0c6437712b9477 100644 (file)
@@ -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}
 
This page took 0.058509 seconds and 4 git commands to generate.