diff options
Diffstat (limited to 'meta/recipes-multimedia/flac')
-rw-r--r-- | meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch | 35 | ||||
-rw-r--r-- | meta/recipes-multimedia/flac/flac_1.3.1.bb (renamed from meta/recipes-multimedia/flac/flac_1.3.0.bb) | 18 |
2 files changed, 7 insertions, 46 deletions
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 deleted file mode 100644 index d086cc910f..0000000000 --- a/meta/recipes-multimedia/flac/flac-1.3.0/0001-Fix-Makefile.am-altivec-logic.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 1b3597cdc7b5e604ea37db29b2a65aab91e263e6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||
3 | Date: Wed, 4 Dec 2013 13:31:28 -0300 | ||
4 | Subject: [PATCH] Fix Makefile.am altivec logic | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | |||
8 | Besides SPE (FSL e500v? cores) there are other powerpc processors | ||
9 | that don't support altivec instructions so only enable them when it's | ||
10 | 100% sure that the target has it. | ||
11 | |||
12 | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||
13 | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> | ||
14 | Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> | ||
15 | --- | ||
16 | src/libFLAC/Makefile.am | 3 +-- | ||
17 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
18 | |||
19 | diff --git a/src/libFLAC/Makefile.am b/src/libFLAC/Makefile.am | ||
20 | index 247e33c..258de40 100644 | ||
21 | --- a/src/libFLAC/Makefile.am | ||
22 | +++ b/src/libFLAC/Makefile.am | ||
23 | @@ -47,8 +47,7 @@ CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM | ||
24 | else | ||
25 | # Linux-gcc for PPC does not have -force_cpusubtype_ALL, it is Darwin-specific | ||
26 | CPUCFLAGS = | ||
27 | -if FLaC__CPU_PPC_SPE | ||
28 | -else | ||
29 | +if FLaC__USE_ALTIVEC | ||
30 | CPUCFLAGS += -maltivec -mabi=altivec | ||
31 | endif | ||
32 | #@@@ PPC optimizations temporarily disabled | ||
33 | -- | ||
34 | 1.8.3.2 | ||
35 | |||
diff --git a/meta/recipes-multimedia/flac/flac_1.3.0.bb b/meta/recipes-multimedia/flac/flac_1.3.1.bb index ba9b62822c..f25271f879 100644 --- a/meta/recipes-multimedia/flac/flac_1.3.0.bb +++ b/meta/recipes-multimedia/flac/flac_1.3.1.bb | |||
@@ -5,23 +5,19 @@ BUGTRACKER = "http://sourceforge.net/p/flac/bugs/" | |||
5 | SECTION = "libs" | 5 | SECTION = "libs" |
6 | LICENSE = "GFDL-1.2 & GPLv2+ & LGPLv2.1+ & BSD" | 6 | LICENSE = "GFDL-1.2 & GPLv2+ & LGPLv2.1+ & BSD" |
7 | LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \ | 7 | LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \ |
8 | file://src/Makefile.am;beginline=1;endline=17;md5=59575c1aa8f5f70d9361b776c2e2bdb5 \ | 8 | file://src/Makefile.am;beginline=1;endline=17;md5=0a853b81d9d43d8aad3b53b05cfcc37e \ |
9 | file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 9 | file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
10 | file://src/flac/main.c;beginline=1;endline=18;md5=d36a16abc38d5ffd346ac4ba1be1932b \ | 10 | file://src/flac/main.c;beginline=1;endline=18;md5=d03a766558d233f9cc3ac5dfafd49deb \ |
11 | file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | 11 | file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \ |
12 | file://src/plugin_common/all.h;beginline=1;endline=18;md5=e33e281151e7f40db2d3d170d9b0c1bb \ | 12 | file://src/plugin_common/all.h;beginline=1;endline=18;md5=7c8a3b9e1e66ed0aba765bc6f35da85d \ |
13 | file://COPYING.Xiph;md5=755582d124a03e3001afea59fc02b61b \ | 13 | file://COPYING.Xiph;md5=a2c4b71c0198682376d483eb5bcc9197 \ |
14 | file://include/FLAC/all.h;beginline=65;endline=70;md5=64474f2b22e9e77b28d8b8b25c983a48" | 14 | file://include/FLAC/all.h;beginline=65;endline=70;md5=64474f2b22e9e77b28d8b8b25c983a48" |
15 | DEPENDS = "libogg" | 15 | DEPENDS = "libogg" |
16 | 16 | ||
17 | SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz \ | 17 | SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz" |
18 | file://0001-Fix-Makefile.am-altivec-logic.patch \ | ||
19 | " | ||
20 | 18 | ||
21 | SRC_URI[md5sum] = "13b5c214cee8373464d3d65dee362cdd" | 19 | SRC_URI[md5sum] = "b9922c9a0378c88d3e901b234f852698" |
22 | SRC_URI[sha256sum] = "fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc" | 20 | SRC_URI[sha256sum] = "4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c" |
23 | |||
24 | PR = "r1" | ||
25 | 21 | ||
26 | inherit autotools gettext | 22 | inherit autotools gettext |
27 | 23 | ||