Initial Commit
- initial default booting image
This commit is contained in:
11
package/sdl2_mixer/Config.in
Normal file
11
package/sdl2_mixer/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_SDL2_MIXER
|
||||
bool "sdl2_mixer"
|
||||
depends on BR2_PACKAGE_SDL2
|
||||
help
|
||||
SDL_mixer is a sample multi-channel audio mixer library. It
|
||||
supports any number of simultaneously playing channels of 16
|
||||
bit stereo audio, plus a single channel of music, mixed by
|
||||
the popular FLAC, MikMod MOD, Timidity MIDI, Ogg Vorbis, and
|
||||
SMPEG MP3 libraries.
|
||||
|
||||
http://www.libsdl.org/projects/SDL_mixer/
|
||||
3
package/sdl2_mixer/sdl2_mixer.hash
Normal file
3
package/sdl2_mixer/sdl2_mixer.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f SDL2_mixer-2.6.3.tar.gz
|
||||
sha256 1852c8549e3d154687197d46abababd3e8faae035f19991b2ca850fa3a43ad57 LICENSE.txt
|
||||
52
package/sdl2_mixer/sdl2_mixer.mk
Normal file
52
package/sdl2_mixer/sdl2_mixer.mk
Normal file
@@ -0,0 +1,52 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user