From 2c7373b370ca0edf54ebc3cc3f7cc67055219f55 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 29 Mar 2015 19:11:18 +0200 Subject: [PATCH] package/mplayer: add optional giflib support [Thomas: Use --enable-gif / --disable-gif, and do not pass --extra-libs.] 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 192a42eebc..70a8842ea2 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -100,6 +100,13 @@ else MPLAYER_CONF_OPTS += --disable-live endif +ifeq ($(BR2_PACKAGE_GIFLIB),y) +MPLAYER_DEPENDENCIES += giflib +MPLAYER_CONF_OPTS += --enable-gif +else +MPLAYER_CONF_OPTS += --disable-gif +endif + MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBTHEORA),libtheora) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng) MPLAYER_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg) -- 2.30.2