Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 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=09501c864f89dfc7ead65553129817ca \ |
| 9 | file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 10 | file://src/flac/main.c;beginline=1;endline=18;md5=09777e2934947a36f13568d0beb81199 \ |
| 11 | file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \ |
| 12 | file://src/plugin_common/all.h;beginline=1;endline=18;md5=f56cb4ba9a3bc9ec6102e8df03215271 \ |
| 13 | file://COPYING.Xiph;md5=b59c1b6d7fc0fb7965f821a3d36505e3 \ |
| 14 | file://include/FLAC/all.h;beginline=65;endline=70;md5=64474f2b22e9e77b28d8b8b25c983a48" |
| 15 | DEPENDS = "libogg" |
| 16 | |
Brad Bishop | 220d553 | 2018-08-14 00:59:39 +0100 | [diff] [blame] | 17 | SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz \ |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 18 | " |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 20 | SRC_URI[md5sum] = "26703ed2858c1fc9ffc05136d13daa69" |
| 21 | SRC_URI[sha256sum] = "213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 22 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 23 | CVE_PRODUCT = "libflac flac" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | |
| 25 | inherit autotools gettext |
| 26 | |
| 27 | EXTRA_OECONF = "--disable-oggtest \ |
| 28 | --with-ogg-libraries=${STAGING_LIBDIR} \ |
| 29 | --with-ogg-includes=${STAGING_INCDIR} \ |
| 30 | --disable-xmms-plugin \ |
| 31 | --without-libiconv-prefix \ |
| 32 | ac_cv_prog_NASM="" \ |
| 33 | " |
| 34 | |
| 35 | EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "altivec", " --enable-altivec", " --disable-altivec", d)}" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 36 | EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "vsx", " --enable-vsx", " --disable-vsx", d)}" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 37 | EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "core2", " --enable-sse", "", d)}" |
| 38 | EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "corei7", " --enable-sse", "", d)}" |
| 39 | |
| 40 | PACKAGES += "libflac libflac++ liboggflac liboggflac++" |
| 41 | FILES_${PN} = "${bindir}/*" |
| 42 | FILES_libflac = "${libdir}/libFLAC.so.*" |
| 43 | FILES_libflac++ = "${libdir}/libFLAC++.so.*" |
| 44 | FILES_liboggflac = "${libdir}/libOggFLAC.so.*" |
| 45 | FILES_liboggflac++ = "${libdir}/libOggFLAC++.so.*" |
| 46 | |