Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
Fix musl build
|
||||
|
||||
musl does not define __GNUC_PREREQ. Use patch from Alpine Linux
|
||||
(http://git.alpinelinux.org/cgit/aports/plain/main/celt051/fix-gnuc-prereq.patch).
|
||||
|
||||
Fixes http://autobuild.buildroot.net/results/223/223ba6003bdd7e0c896455c21fa8fee943b4e716/
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
|
||||
--- celt-0.5.1.3.orig/libcelt/ecintrin.h
|
||||
+++ celt-0.5.1.3/libcelt/ecintrin.h
|
||||
@@ -52,8 +52,7 @@
|
||||
/*Count leading zeros.
|
||||
This macro should only be used for implementing ec_ilog(), if it is defined.
|
||||
All other code should use EC_ILOG() instead.*/
|
||||
-#ifdef __GNUC_PREREQ
|
||||
-#if __GNUC_PREREQ(3,4)
|
||||
+#if defined(__GNUC__) && ((__GNUC__<<16)+__GNUC_MINOR__) >= 0x304
|
||||
# if INT_MAX>=2147483647
|
||||
# define EC_CLZ0 sizeof(unsigned)*CHAR_BIT
|
||||
# define EC_CLZ(_x) (__builtin_clz(_x))
|
||||
@@ -61,7 +60,6 @@
|
||||
# define EC_CLZ0 sizeof(unsigned long)*CHAR_BIT
|
||||
# define EC_CLZ(_x) (__builtin_clzl(_x))
|
||||
# endif
|
||||
-#endif
|
||||
#endif
|
||||
|
||||
#if defined(EC_CLZ)
|
||||
15
deprecated/firmware/buildroot/package/celt051/Config.in
Normal file
15
deprecated/firmware/buildroot/package/celt051/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_CELT051
|
||||
bool "celt051"
|
||||
select BR2_PACKAGE_LIBOGG
|
||||
help
|
||||
The CELT ultra-low delay audio codec
|
||||
|
||||
The CELT codec is a compression algorithm for audio. Like MP3,
|
||||
Vorbis, and AAC it is suitable for transmitting music with high
|
||||
quality. Unlike these formats CELT imposes very little delay on
|
||||
the signal, even less than is typical for speech centric formats
|
||||
like Speex, GSM, or G.729.
|
||||
|
||||
Note: this is version 0.5.1.3 of celt.
|
||||
|
||||
http://www.celt-codec.org/
|
||||
@@ -0,0 +1,2 @@
|
||||
# From http://downloads.xiph.org/releases/celt/SHA1SUMS
|
||||
sha1 eb05030108c36cb063c3f026c349f16d78e0a497 celt-0.5.1.3.tar.gz
|
||||
30
deprecated/firmware/buildroot/package/celt051/celt051.mk
Normal file
30
deprecated/firmware/buildroot/package/celt051/celt051.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# celt
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Although version newer than 0.5.1.3 exists, we're
|
||||
# stuck with 0.5.1.3 for use by Spice (coming later)
|
||||
CELT051_VERSION = 0.5.1.3
|
||||
CELT051_SOURCE = celt-$(CELT051_VERSION).tar.gz
|
||||
CELT051_SITE = http://downloads.xiph.org/releases/celt
|
||||
CELT051_LICENSE = BSD-2c
|
||||
CELT051_LICENSE_FILES = COPYING
|
||||
CELT051_INSTALL_STAGING = YES
|
||||
CELT051_DEPENDENCIES = libogg
|
||||
|
||||
# Need to specify --with-ogg, otherwise /usr/lib may be searched for
|
||||
# if target is the same kind as host (ie. same arch, same bitness,
|
||||
# same endianness, so that /usr/lib contains libraries linkable by
|
||||
# our cross-compiler)
|
||||
CELT051_CONF_OPTS = \
|
||||
--enable-fixed-point \
|
||||
--disable-fixed-point-debug \
|
||||
--disable-experimental-postfilter \
|
||||
--disable-static-modes \
|
||||
--disable-assertions \
|
||||
--disable-oggtest \
|
||||
--with-ogg=$(STAGING_DIR)/usr \
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user