4f4fb695a4
b1b8d5b
("package/sdl2_mixer: bump version to 2.6.3") forgot to update the hash of the license file. In 2021 the file was renamed from COPYING.txt to LICENSE.txt in two commits ([0] and [1]). The copyright year was subsequently updated for 2022 [2] and 2023 [3]. License is still Zlib - no changes there. [0]:0f84f24264
[1]:371bf15759
[2]:3f5a0502e0
[3]:6fdd4d469b
Fixes: - http://autobuild.buildroot.net/results/302cbd0adc2c6190d8923b9449e26a3c519d2326 Signed-off-by: Daniel Lang <dalang@gmx.at> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# sdl2_mixer
|
|
#
|
|
################################################################################
|
|
|
|
SDL2_MIXER_VERSION = 2.6.3
|
|
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_LICENSE_FILES = LICENSE.txt
|
|
SDL2_MIXER_INSTALL_STAGING = YES
|
|
SDL2_MIXER_DEPENDENCIES = sdl2 host-pkgconf
|
|
|
|
SDL2_MIXER_CONF_OPTS = --disable-music-mp3
|
|
|
|
ifeq ($(BR2_PACKAGE_FLAC),y)
|
|
SDL2_MIXER_CONF_OPTS += --enable-music-flac
|
|
SDL2_MIXER_DEPENDENCIES += flac
|
|
else
|
|
SDL2_MIXER_CONF_OPTS += --disable-music-flac
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y)
|
|
SDL2_MIXER_CONF_OPTS += --enable-music-midi-fluidsynth
|
|
SDL2_MIXER_DEPENDENCIES += fluidsynth
|
|
else
|
|
SDL2_MIXER_CONF_OPTS += --disable-music-midi-fluidsynth
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
|
|
SDL2_MIXER_CONF_OPTS += --enable-music-mod-modplug
|
|
SDL2_MIXER_DEPENDENCIES += libmodplug
|
|
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
|
|
else
|
|
SDL2_MIXER_CONF_OPTS += --disable-music-ogg-tremor
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|