package/sdl2_mixer: bump to version 2.0.4
authorGilles Talis <gilles.talis@gmail.com>
Sun, 9 Feb 2020 15:49:27 +0000 (16:49 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 11 Feb 2020 23:05:11 +0000 (00:05 +0100)
Also enabled support for Opus music playback using opusfile library

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sdl2_mixer/sdl2_mixer.hash
package/sdl2_mixer/sdl2_mixer.mk

index 441d0124e4d984f33c0fc095098754d79be2117d..f3bab151f22c0a6447fc459426570a2f59b8aacb 100644 (file)
@@ -1,3 +1,3 @@
 # 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
index 34bba5772d8f731b41e002a9b2f02fe3d0bcaa17..f349b8ca80cf2d56da16208b97f30be64d6c8640 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-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
@@ -35,6 +35,13 @@ else
 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