diff options
Diffstat (limited to 'meta/recipes-multimedia/flac/flac_1.2.1.bb')
-rw-r--r-- | meta/recipes-multimedia/flac/flac_1.2.1.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/flac/flac_1.2.1.bb b/meta/recipes-multimedia/flac/flac_1.2.1.bb new file mode 100644 index 0000000000..30a8cfb933 --- /dev/null +++ b/meta/recipes-multimedia/flac/flac_1.2.1.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | DESCRIPTION = "FLAC stands for Free Lossless Audio Codec, an audio format similar to MP3, but lossless." | ||
2 | HOMEPAGE = "http://flac.sourceforge.net/" | ||
3 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=13478&atid=113478" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "FDLv1.2 & GPLv2+ & LGPLv2.1+ & BSD" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \ | ||
7 | file://src/Makefile.am;beginline=1;endline=16;md5=8dee151a56a3122f064a9dce771db37d \ | ||
8 | file://COPYING.GPL;md5=079b27cd65c86dbc1b6997ffde902735 \ | ||
9 | file://src/flac/main.c;beginline=1;endline=17;md5=756c4234516e4266ea45ee7bbbd798cf \ | ||
10 | file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \ | ||
11 | file://src/plugin_common/all.h;beginline=1;endline=17;md5=b2e7960da6b43e4eccabf999bcf7f3a9 \ | ||
12 | file://COPYING.Xiph;md5=df8975c0225f83ed7b567587ed953b83 \ | ||
13 | file://include/FLAC/all.h;beginline=64;endline=69;md5=64474f2b22e9e77b28d8b8b25c983a48" | ||
14 | DEPENDS = "libogg" | ||
15 | |||
16 | PR = "r0" | ||
17 | |||
18 | SRC_URI = "${SOURCEFORGE_MIRROR}/flac/flac-${PV}.tar.gz \ | ||
19 | file://disable-xmms-plugin.patch;patch=1 \ | ||
20 | file://flac-gcc43-fixes.patch;patch=1 \ | ||
21 | file://xmms.m4" | ||
22 | |||
23 | S = "${WORKDIR}/flac-${PV}" | ||
24 | |||
25 | inherit autotools | ||
26 | |||
27 | EXTRA_OECONF = "--disable-oggtest --disable-id3libtest \ | ||
28 | --with-ogg-libraries=${STAGING_LIBDIR} \ | ||
29 | --with-ogg-includes=${STAGING_INCDIR} \ | ||
30 | --without-xmms-prefix \ | ||
31 | --without-xmms-exec-prefix \ | ||
32 | --without-libiconv-prefix \ | ||
33 | --without-id3lib" | ||
34 | |||
35 | PACKAGES += "libflac libflac++ liboggflac liboggflac++" | ||
36 | FILES_${PN} = "${bindir}/*" | ||
37 | FILES_libflac = "${libdir}/libFLAC.so.*" | ||
38 | FILES_libflac++ = "${libdir}/libFLAC++.so.*" | ||
39 | FILES_liboggflac = "${libdir}/libOggFLAC.so.*" | ||
40 | FILES_liboggflac++ = "${libdir}/libOggFLAC++.so.*" | ||
41 | |||
42 | do_configure () { | ||
43 | install -d ${S}/m4 | ||
44 | install -m 0644 ${WORKDIR}/xmms.m4 ${S}/m4/ | ||
45 | autotools_do_configure | ||
46 | # removes '-read-only-relocs' which is enabled for PowerPC builds. | ||
47 | # It makes the build fail, other archs are not affected. Fixes #1775. | ||
48 | sed -i 's/-Wl,-read_only_relocs,warning//g' src/libFLAC/Makefile | ||
49 | } | ||