diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk index d87ff202b0..b685a3862a 100644 --- a/package/mplayer/mplayer.mk +++ b/package/mplayer/mplayer.mk @@ -61,6 +61,13 @@ else MPLAYER_CONF_OPTS += --disable-smb endif +ifeq ($(BR2_PACKAGE_LIBBLURAY),y) +MPLAYER_CONF_OPTS += --enable-bluray +MPLAYER_DEPENDENCIES += libbluray +else +MPLAYER_CONF_OPTS += --disable-bluray +endif + ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) MPLAYER_CONF_OPTS += \ --enable-dvdread \