Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
The sed expression is wrong, any flags with '-g' in any position gets
|
||||
zapped, for example:
|
||||
|
||||
-mfloat-gprs=double (for powerpc e500) -> -mfloatprs=double.
|
||||
|
||||
Which gives build errors and is perfectly valid in real use scenarios to
|
||||
switch from e500v1 (single precision) code to e500v2 (double precision) code.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura flac-1.3.1.orig/configure flac-1.3.1/configure
|
||||
--- flac-1.3.1.orig/configure 2014-11-27 20:43:29.921303105 -0300
|
||||
+++ flac-1.3.1/configure 2014-11-27 20:45:33.460250179 -0300
|
||||
@@ -19870,11 +19870,10 @@
|
||||
|
||||
if test "x$debug" = xtrue; then
|
||||
CPPFLAGS="-DDEBUG $CPPFLAGS"
|
||||
- CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
|
||||
- CFLAGS="-g $CFLAGS"
|
||||
+ CFLAGS=$(echo "-g $CFLAGS")
|
||||
else
|
||||
CPPFLAGS="-DNDEBUG $CPPFLAGS"
|
||||
- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
|
||||
+ CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
|
||||
CFLAGS="-O3 -funroll-loops $CFLAGS"
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Fix musl compile since it does not define __sigemptyset
|
||||
|
||||
Downloaded from
|
||||
http://git.alpinelinux.org/cgit/aports/commit/main/flac/sigemptyset.patch?id=49fd0f4cebc46e2753d6a60e450078446f7f18a7
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
--- ./src/libFLAC/cpu.c.orig
|
||||
+++ ./src/libFLAC/cpu.c
|
||||
@@ -243,7 +243,7 @@
|
||||
struct sigaction sigill_save;
|
||||
struct sigaction sigill_sse;
|
||||
sigill_sse.sa_sigaction = sigill_handler_sse_os;
|
||||
- __sigemptyset(&sigill_sse.sa_mask);
|
||||
+ sigemptyset(&sigill_sse.sa_mask);
|
||||
sigill_sse.sa_flags = SA_SIGINFO | SA_RESETHAND; /* SA_RESETHAND just in case our SIGILL return jump breaks, so we don't get stuck in a loop */
|
||||
if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save))
|
||||
{
|
||||
10
deprecated/firmware/buildroot/package/flac/Config.in
Normal file
10
deprecated/firmware/buildroot/package/flac/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_FLAC
|
||||
bool "flac"
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
FLAC is an Open Source lossless audio codec.
|
||||
|
||||
http://flac.sourceforge.net/
|
||||
|
||||
comment "flac needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
2
deprecated/firmware/buildroot/package/flac/flac.hash
Normal file
2
deprecated/firmware/buildroot/package/flac/flac.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://downloads.xiph.org/releases/flac/SHA256SUMS.txt
|
||||
sha256 4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c flac-1.3.1.tar.xz
|
||||
33
deprecated/firmware/buildroot/package/flac/flac.mk
Normal file
33
deprecated/firmware/buildroot/package/flac/flac.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# flac
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLAC_VERSION = 1.3.1
|
||||
FLAC_SITE = http://downloads.xiph.org/releases/flac
|
||||
FLAC_SOURCE = flac-$(FLAC_VERSION).tar.xz
|
||||
FLAC_INSTALL_STAGING = YES
|
||||
FLAC_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
FLAC_LICENSE = Xiph BSD-like (libFLAC), GPLv2+ (tools), LGPLv2.1+ (other libraries)
|
||||
FLAC_LICENSE_FILES = COPYING.Xiph COPYING.GPL COPYING.LGPL
|
||||
FLAC_CONF_OPTS = \
|
||||
--disable-cpplibs \
|
||||
--disable-xmms-plugin \
|
||||
--disable-altivec
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBOGG),y)
|
||||
FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr
|
||||
FLAC_DEPENDENCIES += libogg
|
||||
else
|
||||
FLAC_CONF_OPTS += --disable-ogg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
||||
FLAC_DEPENDENCIES += host-nasm
|
||||
FLAC_CONF_OPTS += --enable-sse
|
||||
else
|
||||
FLAC_CONF_OPTS += --disable-sse
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user