mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00

This adds support for building rpidistro version of VLC with hardware acceleration through MMAL. The version of VLC located in meta-openembedded/meta-multimedia/recipes-multimedia/vlc uses mainline VLC and doesn't give all the proper flags. The series of patches attached to commit gives necessarly vlc mmal flags. * https://code.videolan.org/videolan/vlc/-/issues/24617 * https://bugs.gentoo.org/723006 The build fails with errors such as "multiple definition of `pf_enable_graphic_buffers'" when omxil is enabled. The issue seems to be due to compiler flags. Adding -fcommon to both cflags and cxxflags yields a full compile. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
23 lines
848 B
Diff
23 lines
848 B
Diff
From: Sebastian Ramacher <sramacher@debian.org>
|
|
Date: Mon, 19 Aug 2019 21:08:26 +0200
|
|
Subject: Revert "configure: Require libmodplug >= 0.8.9"
|
|
|
|
This reverts commit 48f014768dc22ecad23d0e9f53c38805a3aff832.
|
|
|
|
Upstream-status: Pending
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -2207,7 +2207,7 @@ AC_ARG_ENABLE(mod,
|
|
[AS_HELP_STRING([--disable-mod],
|
|
[do not use libmodplug (default auto)])])
|
|
if test "${enable_mod}" != "no" ; then
|
|
- PKG_CHECK_MODULES(LIBMODPLUG, [libmodplug >= 0.8.9.0], [
|
|
+ PKG_CHECK_MODULES(LIBMODPLUG, [libmodplug >= 0.8.4 libmodplug != 0.8.8], [
|
|
VLC_ADD_PLUGIN([mod])
|
|
VLC_ADD_CXXFLAGS([mod],[$LIBMODPLUG_CFLAGS])
|
|
VLC_ADD_CFLAGS([mod],[$LIBMODPLUG_CFLAGS]) #modules/demux/mod.c needs CFLAGS_mod, not CXXFLAGS_mod
|