# Locally calculated
-sha256 5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f SDL2_mixer-2.0.1.tar.gz
-sha256 4fc74d216e009c7cc5d939b688fc122b329787dcd24f69ae2a08ce052c826b39 COPYING.txt
+sha256 b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419 SDL2_mixer-2.0.4.tar.gz
+sha256 113727180e7956cb9718b03b41da85b63ea54743a33047071a623bf672895a10 COPYING.txt
#
################################################################################
-SDL2_MIXER_VERSION = 2.0.1
+SDL2_MIXER_VERSION = 2.0.4
SDL2_MIXER_SOURCE = SDL2_mixer-$(SDL2_MIXER_VERSION).tar.gz
SDL2_MIXER_SITE = http://www.libsdl.org/projects/SDL_mixer/release
SDL2_MIXER_LICENSE = Zlib
SDL2_MIXER_CONF_OPTS += --disable-music-mod-modplug
endif
+ifeq ($(BR2_PACKAGE_OPUSFILE),y)
+SDL2_MIXER_CONF_OPTS += --enable-music-opus
+SDL2_MIXER_DEPENDENCIES += opusfile
+else
+SDL2_MIXER_CONF_OPTS += --disable-music-opus
+endif
+
ifeq ($(BR2_PACKAGE_TREMOR),y)
SDL2_MIXER_CONF_OPTS += --enable-music-ogg-tremor
SDL2_MIXER_DEPENDENCIES += tremor