diff --git a/libXvMC.changes b/libXvMC.changes index 682f240..d56e683 100644 --- a/libXvMC.changes +++ b/libXvMC.changes @@ -5,6 +5,10 @@ Mon Sep 30 09:54:48 UTC 2019 - Stefan Dirsch * 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 diff --git a/libXvMC.spec b/libXvMC.spec index 7e84e6d..85e3ac0 100644 --- a/libXvMC.spec +++ b/libXvMC.spec @@ -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 diff --git a/n_bring-back-libXv-dep.patch b/n_bring-back-libXv-dep.patch new file mode 100644 index 0000000..1cb6a1a --- /dev/null +++ b/n_bring-back-libXv-dep.patch @@ -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