Accepting request 80092 from X11:Drivers:Video
- fixes the build in a more correct way :-) Hopefully! OBS-URL: https://build.opensuse.org/request/show/80092 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvdpau?expand=0&rev=13
This commit is contained in:
parent
9d716eebf6
commit
5ca2aec481
@ -1,8 +0,0 @@
|
|||||||
--- vdpau.pc.in.orig 2011-08-29 12:24:17.000000000 +0000
|
|
||||||
+++ vdpau.pc.in 2011-08-29 12:24:48.000000000 +0000
|
|
||||||
@@ -9,4 +9,4 @@ Description: The Video Decode and Presen
|
|
||||||
Version: @PACKAGE_VERSION@
|
|
||||||
Requires.private: x11
|
|
||||||
Cflags: -I${includedir}
|
|
||||||
-Libs: -L${libdir} -lvdpau
|
|
||||||
+Libs: -L${libdir} -lvdpau -lX11
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 29 14:47:54 UTC 2011 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- fixes the build in a more correct way :-) Hopefully!
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 29 12:19:11 UTC 2011 - sndirsch@suse.com
|
Mon Aug 29 12:19:11 UTC 2011 - sndirsch@suse.com
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Source1: vdpauinfo-0.0.6.tar.gz
|
|||||||
Source2: README
|
Source2: README
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
Patch: libvdpau-missing-lX11.diff
|
Patch: vdpauinfo-missing-lX11.diff
|
||||||
BuildRequires: gcc-c++ pkgconfig xorg-x11-devel
|
BuildRequires: gcc-c++ pkgconfig xorg-x11-devel
|
||||||
BuildRequires: doxygen graphviz texlive
|
BuildRequires: doxygen graphviz texlive
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -80,7 +80,9 @@ Its usage is documented in the README.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -b1
|
%setup -q -b1
|
||||||
|
pushd ../vdpauinfo-*
|
||||||
%patch -p0
|
%patch -p0
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
11
vdpauinfo-missing-lX11.diff
Normal file
11
vdpauinfo-missing-lX11.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- configure.ac.orig 2011-08-29 16:31:04.069536000 +0200
|
||||||
|
+++ configure.ac 2011-08-29 16:31:31.424105000 +0200
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES(VDPAU, x11 [vdpau >= 0.2])
|
||||||
|
VDPAUINFO_CXXFLAGS="$VDPAUINFO_CXXFLAGS $VDPAU_CFLAGS"
|
||||||
|
-VDPAUINFO_LIBS="$VDPAUINFO_LIBS $VDPAU_LIBS"
|
||||||
|
+VDPAUINFO_LIBS="$VDPAUINFO_LIBS $VDPAU_LIBS -lX11"
|
||||||
|
|
||||||
|
AC_SUBST(VDPAUINFO_CXXFLAGS)
|
||||||
|
AC_SUBST(VDPAUINFO_LIBS)
|
Loading…
Reference in New Issue
Block a user