From a12927a85cc9b72dc395a7a003030993a9980ddf Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 29 Mar 2015 19:11:26 +0200 Subject: [PATCH] package/mplayer: add optional lzo 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 14e8c77eed..c8f4dd3590 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -159,6 +159,13 @@ else MPLAYER_CONF_OPTS += --disable-gif endif +ifeq ($(BR2_PACKAGE_LZO),y) +MPLAYER_DEPENDENCIES += lzo +MPLAYER_CONF_OPTS += --enable-liblzo +else +MPLAYER_CONF_OPTS += --disable-liblzo +endif + MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBTHEORA),libtheora) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg)