Revert "package/x11r7/xlib_libXvMC: remove xlib_libXv dependency"
authorRomain Naour <romain.naour@smile.fr>
Sun, 27 Oct 2019 09:29:02 +0000 (10:29 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 27 Oct 2019 10:54:51 +0000 (11:54 +0100)
commitd1141e2c4a806a508fdab902813ce17ec36befd9
tree7c94cc28132b8fe4dfa0ae5245572150dbf0fba7
parentb6b81a9d4a80478afc5189aac274965fdf560341
Revert "package/x11r7/xlib_libXvMC: remove xlib_libXv dependency"

This reverts commit 52ac6d1c6bc625d8438539a7ff0f35d2057e9acc.

While looking at mesa3d package, I found this commit [1] about libxv
refering to an upstream commit [2].

The commit message is confusing "This library does not itself require
libXv for anything." but xv is still checked by the configure script
(pkg-config) and libXvMC still include Xvlib.h from XvMClib.h

In file included from XvMClibint.h:7:0,
                 from XvMC.c:5:
../include/X11/extensions/XvMClib.h:5:10: fatal error: X11/extensions/Xvlib.h:
No such file or directory
 #include <X11/extensions/Xvlib.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

So, xlib_libXv sill use xv library by including a header and using
XvImageFormatValues.

[1] https://cgit.freedesktop.org/mesa/mesa/commit/?id=2dbf10ba3d129d59e1a6c0e46b24c20629b277c6
[2] https://gitlab.freedesktop.org/xorg/lib/libxvmc/commit/dd9ae03725990ee9c9336bca4b267dfbb696002f

Fixes:
http://autobuild.buildroot.org/results/305/3051f4fbc1ab725de542a550e4f9eeb3cae385b8

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/x11r7/xlib_libXvMC/Config.in
package/x11r7/xlib_libXvMC/xlib_libXvMC.mk