Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
decoders/speex: fix constness of speex mode
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff -durN sdl_sound-1.0.3.orig/decoders/speex.c sdl_sound-1.0.3/decoders/speex.c
|
||||
--- sdl_sound-1.0.3.orig/decoders/speex.c 2014-11-17 19:40:09.543553556 +0100
|
||||
+++ sdl_sound-1.0.3/decoders/speex.c 2014-11-17 19:40:37.119864580 +0100
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
static int process_header(speex_t *speex, Sound_Sample *sample)
|
||||
{
|
||||
- SpeexMode *mode;
|
||||
+ const SpeexMode * mode;
|
||||
SpeexHeader *hptr;
|
||||
SpeexHeader header;
|
||||
int enh_enabled = SPEEX_USE_PERCEPTUAL_ENHANCER;
|
||||
@@ -0,0 +1,29 @@
|
||||
Do not add -Werror when --enable-debug is used
|
||||
|
||||
Using -Werror causes some problems due to warnings in the SDL_sound
|
||||
code, so let's disable it.
|
||||
|
||||
We patch configure directly, because:
|
||||
|
||||
1/ configure.in doesn't autoreconf properly out of the box.
|
||||
|
||||
2/ the length of the configure or configure.in patch would be exactly
|
||||
the same (one line), or maybe more for the configure.in patch if
|
||||
we want the package to autoreconf properly
|
||||
|
||||
3/ the patch will never go upstream, because upstream is dead.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/configure
|
||||
===================================================================
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -19561,7 +19561,6 @@
|
||||
else
|
||||
CFLAGS="-O0"
|
||||
fi
|
||||
- CFLAGS="$CFLAGS -Werror"
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define DEBUG 1
|
||||
23
deprecated/firmware/buildroot/package/sdl_sound/Config.in
Normal file
23
deprecated/firmware/buildroot/package/sdl_sound/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_SDL_SOUND
|
||||
bool "SDL_sound"
|
||||
depends on BR2_PACKAGE_SDL
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
SDL_sound is a library that handles the decoding of several
|
||||
popular sound file formats, such as .WAV and .MP3.
|
||||
It is meant to make the programmer's sound playback tasks
|
||||
simpler. The programmer gives SDL_sound a filename, or feeds
|
||||
it data directly from one of many sources, and then reads the
|
||||
decoded waveform data back at her leisure.
|
||||
|
||||
http://icculus.org/SDL_sound/
|
||||
|
||||
if BR2_PACKAGE_SDL_SOUND
|
||||
|
||||
config BR2_PACKAGE_SDL_SOUND_PLAYSOUND
|
||||
bool "install playsound tool"
|
||||
help
|
||||
Enable this option to install the playsound/playsound_simple
|
||||
tools to target.
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df SDL_sound-1.0.3.tar.gz
|
||||
68
deprecated/firmware/buildroot/package/sdl_sound/sdl_sound.mk
Normal file
68
deprecated/firmware/buildroot/package/sdl_sound/sdl_sound.mk
Normal file
@@ -0,0 +1,68 @@
|
||||
################################################################################
|
||||
#
|
||||
# sdl_sound
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SDL_SOUND_VERSION = 1.0.3
|
||||
SDL_SOUND_SOURCE = SDL_sound-$(SDL_SOUND_VERSION).tar.gz
|
||||
SDL_SOUND_SITE = http://icculus.org/SDL_sound/downloads
|
||||
SDL_SOUND_LICENSE = LGPLv2.1+
|
||||
SDL_SOUND_LICENSE_FILES = COPYING
|
||||
SDL_SOUND_INSTALL_STAGING = YES
|
||||
SDL_SOUND_DEPENDENCIES = sdl
|
||||
|
||||
ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
SDL_SOUND_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
# optional dependencies
|
||||
ifeq ($(BR2_PACKAGE_FLAC)$(BR2_PACKAGE_LIBOGG),yy)
|
||||
SDL_SOUND_CONF_OPTS += --enable-flac
|
||||
SDL_SOUND_DEPENDENCIES += flac libogg
|
||||
else
|
||||
SDL_SOUND_CONF_OPTS += --disable-flac
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
|
||||
SDL_SOUND_CONF_OPTS += --enable-modplug
|
||||
SDL_SOUND_DEPENDENCIES += libmodplug
|
||||
else
|
||||
SDL_SOUND_CONF_OPTS += --disable-modplug
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
|
||||
SDL_SOUND_CONF_OPTS += --enable-ogg
|
||||
SDL_SOUND_DEPENDENCIES += libvorbis
|
||||
else
|
||||
SDL_SOUND_CONF_OPTS += --disable-ogg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SPEEX),y)
|
||||
SDL_SOUND_CONF_OPTS += --enable-speex
|
||||
SDL_SOUND_DEPENDENCIES += speex
|
||||
else
|
||||
SDL_SOUND_CONF_OPTS += --disable-speex
|
||||
endif
|
||||
|
||||
SDL_SOUND_CONF_OPTS = \
|
||||
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
||||
--with-sdl-exec-prefix=$(STAGING_DIR)/usr \
|
||||
--disable-sdltest \
|
||||
--enable-static
|
||||
|
||||
ifeq ($(BR2_X86_CPU_HAS_MMX),y)
|
||||
SDL_SOUND_CONF_OPTS += --enable-mmx
|
||||
else
|
||||
SDL_SOUND_CONF_OPTS += --disable-mmx
|
||||
endif
|
||||
|
||||
define SDL_SOUND_REMOVE_PLAYSOUND
|
||||
rm $(addprefix $(TARGET_DIR)/usr/bin/,playsound playsound_simple)
|
||||
endef
|
||||
|
||||
ifneq ($(BR2_PACKAGE_SDL_SOUND_PLAYSOUND),y)
|
||||
SDL_SOUND_POST_INSTALL_TARGET_HOOKS += SDL_SOUND_REMOVE_PLAYSOUND
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user