From 64453db466da123673ad3d63257a7e8713167ca6 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 29 Mar 2015 19:11:34 +0200 Subject: [PATCH] package/mplayer: add optional libmpeg2 support Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/mplayer/mplayer.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index dc2dcb6477..55cf4210bd 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -151,6 +151,13 @@ ifeq ($(BR2_PACKAGE_LIBASS),y) MPLAYER_DEPENDENCIES += libass endif +# We intentionally don't pass --enable-libmpeg2 and let autodetection +# find which library to link with. +ifeq ($(BR2_PACKAGE_LIBMPEG2),y) +MPLAYER_DEPENDENCIES += libmpeg2 +MPLAYER_CONF_OPTS += --disable-libmpeg2-internal +endif + ifeq ($(BR2_PACKAGE_TREMOR),y) MPLAYER_DEPENDENCIES += tremor MPLAYER_CONF_OPTS += --disable-tremor-internal --enable-tremor -- 2.30.2