- n_bring-back-libXv-dep.patch

* fixes build of Mesa's xvmc gallium driver, since that 
    references in XvMCCreateContex also XvQueryAdaptors, 
    XvFreeAdaptorInfo and XvFreeAdaptorInfo

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXvMC?expand=0&rev=22
This commit is contained in:
Stefan Dirsch 2019-09-30 11:01:46 +00:00 committed by Git OBS Bridge
parent 6179babcc1
commit 008e9ddfff
3 changed files with 20 additions and 0 deletions

View File

@ -5,6 +5,10 @@ Mon Sep 30 09:54:48 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
* This release fixes the pkgconfig data to not refer to libXv,
adds a pkgconfig file for libXvMCW, and prepares for a future
xorgproto release. There should be no functional changes.
- n_bring-back-libXv-dep.patch
* fixes build of Mesa's xvmc gallium driver, since that
references in XvMCCreateContex also XvQueryAdaptors,
XvFreeAdaptorInfo and XvFreeAdaptorInfo
-------------------------------------------------------------------
Thu Sep 26 23:25:26 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -29,6 +29,7 @@ Url: http://xorg.freedesktop.org/
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXvMC/
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
Patch0: n_bring-back-libXv-dep.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: pkgconfig
@ -76,6 +77,7 @@ in %lname.
%prep
%setup -q
%patch0 -p1
%build
%configure --docdir=%_docdir/%name --disable-static

View File

@ -0,0 +1,14 @@
diff --git a/xvmc.pc.in b/xvmc.pc.in
index 51b88ce..ecf81d2 100644
--- a/xvmc.pc.in
+++ b/xvmc.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
Name: XvMC
Description: The XvMC Library
Version: @PACKAGE_VERSION@
-Requires: xproto videoproto
-Requires.private: x11 xext
+Requires: xproto videoproto xv
+Requires.private: x11 xext xv
Cflags: -I${includedir}
Libs: -L${libdir} -lXvMC