From cb0fe9bf151b1c6dc49b4f3b099316323b8685d7 Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Wed, 12 Feb 2014 18:42:32 +0200 Subject: flac: upgrade to 1.3.0 - Updated description, bugtracker and source; - Switched to ${BP} variable; - 0001-No-AltiVec-on-SPE.patch, flac-gcc43-fixes.patch, asm-pic.patch, obsolete_automake_macros.patch patches removed, included in upstream; - Licenses checksums changed due to added copyright owners and street adresses changed; - Backported 1.3.0 specific fix; - Removed obsolete PPC fix; - Added support for SSE optimizations; - Removed default ${S} definition; - Removed xmms unneeded prefixes. Build on all qemu arch; Tested on qemux86-64 and qemuppc. (From OE-Core rev: 85ac4d82c77e3cab6a5867e4ec110ba07023838b) Signed-off-by: Cristian Iorga Signed-off-by: Richard Purdie --- .../0001-Fix-Makefile.am-altivec-logic.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch (limited to 'meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch') diff --git a/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch b/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch new file mode 100644 index 0000000000..d086cc910f --- /dev/null +++ b/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch @@ -0,0 +1,35 @@ +From 1b3597cdc7b5e604ea37db29b2a65aab91e263e6 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Wed, 4 Dec 2013 13:31:28 -0300 +Subject: [PATCH] Fix Makefile.am altivec logic + +Upstream-Status: Backport + +Besides SPE (FSL e500v? cores) there are other powerpc processors +that don't support altivec instructions so only enable them when it's +100% sure that the target has it. + +Signed-off-by: Gustavo Zacarias +Signed-off-by: Erik de Castro Lopo +Signed-off-by: Cristian Iorga +--- + src/libFLAC/Makefile.am | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/libFLAC/Makefile.am b/src/libFLAC/Makefile.am +index 247e33c..258de40 100644 +--- a/src/libFLAC/Makefile.am ++++ b/src/libFLAC/Makefile.am +@@ -47,8 +47,7 @@ CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM + else + # Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific + CPUCFLAGS = +-if FLaC__CPU_PPC_SPE +-else ++if FLaC__USE_ALTIVEC + CPUCFLAGS += -maltivec -mabi=altivec + endif + #@@@ PPC optimizations temporarily disabled +-- +1.8.3.2 + -- cgit v1.2.3-54-g00ecf