[Buildroot] [PATCH] mplayer: needs zlib
Vicente Olivert Riera
Vincent.Riera at imgtec.com
Tue Oct 13 09:58:33 UTC 2015
Otherwise it will fail to compile with an error message like this one:
libavcodec/pngdec.c:35:18: fatal error: zlib.h: No such file or
directory
#include <zlib.h>
^
compilation terminated.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
---
package/mplayer/Config.in | 1 +
package/mplayer/mplayer.mk | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/package/mplayer/Config.in b/package/mplayer/Config.in
index 7a8b03f..80ad7f1 100644
--- a/package/mplayer/Config.in
+++ b/package/mplayer/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
|| BR2_microblaze || BR2_nios2)
# Broken support for <ARMv5
depends on !BR2_ARM_CPU_ARMV4
+ select BR2_PACKAGE_ZLIB
config BR2_PACKAGE_MPLAYER
bool "mplayer"
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index d896b35..0f5ced5 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -7,7 +7,7 @@
MPLAYER_VERSION = 1.2
MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.xz
MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases
-MPLAYER_DEPENDENCIES = host-pkgconf
+MPLAYER_DEPENDENCIES = host-pkgconf zlib
MPLAYER_LICENSE = GPLv2
MPLAYER_LICENSE_FILES = LICENSE Copyright
MPLAYER_CFLAGS = $(TARGET_CFLAGS)
--
1.7.1
More information about the buildroot
mailing list