diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2014-02-12 18:42:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-14 12:30:20 +0000 |
commit | cb0fe9bf151b1c6dc49b4f3b099316323b8685d7 (patch) | |
tree | 4bae6871553a3e31aad016b9ef1a94fa33d8b9dc /meta/recipes-multimedia/flac/flac_1.3.0.bb | |
parent | da0a4c7f8de57624f70ef4c8fabacd089241d91a (diff) | |
download | poky-cb0fe9bf151b1c6dc49b4f3b099316323b8685d7.tar.gz |
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 <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/flac/flac_1.3.0.bb')
-rw-r--r-- | meta/recipes-multimedia/flac/flac_1.3.0.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/flac/flac_1.3.0.bb b/meta/recipes-multimedia/flac/flac_1.3.0.bb new file mode 100644 index 0000000000..aa04caccc5 --- /dev/null +++ b/meta/recipes-multimedia/flac/flac_1.3.0.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | SUMMARY = "Free Lossless Audio Codec" | ||
2 | DESCRIPTION = "FLAC stands for Free Lossless Audio Codec, a lossless audio compression format." | ||
3 | HOMEPAGE = "https://xiph.org/flac/" | ||
4 | BUGTRACKER = "http://sourceforge.net/p/flac/bugs/" | ||
5 | SECTION = "libs" | ||
6 | LICENSE = "GFDL-1.2 & GPLv2+ & LGPLv2.1+ & BSD" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \ | ||
8 | file://src/Makefile.am;beginline=1;endline=17;md5=59575c1aa8f5f70d9361b776c2e2bdb5 \ | ||
9 | file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
10 | file://src/flac/main.c;beginline=1;endline=18;md5=d36a16abc38d5ffd346ac4ba1be1932b \ | ||
11 | file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | ||
12 | file://src/plugin_common/all.h;beginline=1;endline=18;md5=e33e281151e7f40db2d3d170d9b0c1bb \ | ||
13 | file://COPYING.Xiph;md5=755582d124a03e3001afea59fc02b61b \ | ||
14 | file://include/FLAC/all.h;beginline=65;endline=70;md5=64474f2b22e9e77b28d8b8b25c983a48" | ||
15 | DEPENDS = "libogg" | ||
16 | |||
17 | SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz \ | ||
18 | file://0001-Fix-Makefile.am-altivec-logic.patch \ | ||
19 | " | ||
20 | |||
21 | SRC_URI[md5sum] = "13b5c214cee8373464d3d65dee362cdd" | ||
22 | SRC_URI[sha256sum] = "fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc" | ||
23 | |||
24 | inherit autotools gettext | ||
25 | |||
26 | EXTRA_OECONF = "--disable-oggtest \ | ||
27 | --with-ogg-libraries=${STAGING_LIBDIR} \ | ||
28 | --with-ogg-includes=${STAGING_INCDIR} \ | ||
29 | --disable-xmms-plugin \ | ||
30 | --without-libiconv-prefix \ | ||
31 | " | ||
32 | |||
33 | EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "altivec", " --enable-altivec", " --disable-altivec", d)}" | ||
34 | EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "core2", " --enable-sse", "", d)}" | ||
35 | EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "corei7", " --enable-sse", "", d)}" | ||
36 | |||
37 | PACKAGES += "libflac libflac++ liboggflac liboggflac++" | ||
38 | FILES_${PN} = "${bindir}/*" | ||
39 | FILES_libflac = "${libdir}/libFLAC.so.*" | ||
40 | FILES_libflac++ = "${libdir}/libFLAC++.so.*" | ||
41 | FILES_liboggflac = "${libdir}/libOggFLAC.so.*" | ||
42 | FILES_liboggflac++ = "${libdir}/libOggFLAC++.so.*" | ||
43 | |||