Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [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 = "https://github.com/xiph/flac/issues" |
| 5 | SECTION = "libs" |
| 6 | LICENSE = "GFDL-1.2 & GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \ |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 8 | file://src/Makefile.am;beginline=1;endline=17;md5=b1dab2704be7f01bfbd9b7f6d5f000a9 \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 9 | file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 10 | file://src/flac/main.c;beginline=1;endline=18;md5=23099119c034d894bd1bf7ef5bd22101 \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 11 | file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \ |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 12 | file://COPYING.Xiph;md5=0c90e41ab2fa7e69ca9391330d870221 \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 13 | file://include/FLAC/all.h;beginline=65;endline=70;md5=39aaf5e03c7364363884c8b8ddda8eea" |
| 14 | |
| 15 | SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz" |
Andrew Geissler | 8f84068 | 2023-07-21 09:09:43 -0500 | [diff] [blame] | 16 | SRC_URI[sha256sum] = "6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 17 | |
| 18 | CVE_PRODUCT = "libflac flac" |
| 19 | |
| 20 | inherit autotools gettext |
| 21 | |
| 22 | EXTRA_OECONF = "--disable-oggtest \ |
| 23 | --without-libiconv-prefix \ |
| 24 | ac_cv_prog_NASM="" \ |
| 25 | " |
| 26 | |
| 27 | PACKAGECONFIG ??= " \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 28 | ogg \ |
| 29 | " |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 30 | PACKAGECONFIG[avx] = "--enable-avx,--disable-avx" |
| 31 | PACKAGECONFIG[ogg] = "--enable-ogg --with-ogg-libraries=${STAGING_LIBDIR} --with-ogg-includes=${STAGING_INCDIR},--disable-ogg,libogg" |
| 32 | |
| 33 | PACKAGES += "libflac libflac++" |
| 34 | FILES:${PN} = "${bindir}/*" |
| 35 | FILES:libflac = "${libdir}/libFLAC.so.*" |
| 36 | FILES:libflac++ = "${libdir}/libFLAC++.so.*" |