1*4882a593SmuzhiyunSUMMARY = "cdparanoia library"
2*4882a593SmuzhiyunDESCRIPTION = "library used to read audio CDs, which is able to perform \
3*4882a593Smuzhiyunerror corrections, hence the name paranoia."
4*4882a593SmuzhiyunHOMEPAGE = "https://www.xiph.org/"
5*4882a593SmuzhiyunSECTION = "multimedia"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=d370feaa1c9edcdbd29ca27ea3d2304d"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-${PV}.src.tgz \
11*4882a593Smuzhiyun           file://0001-Use-DESTDIR-in-install-Makefile-rule.patch \
12*4882a593Smuzhiyun           file://0002-interface-remove-C-reserved-keyword.patch \
13*4882a593Smuzhiyun           file://0003-Fix-missing-shared-object-LDFLAGS.patch \
14*4882a593Smuzhiyun           file://dont-use-internal-configs.patch \
15*4882a593Smuzhiyun           file://out-of-tree-build.patch \
16*4882a593Smuzhiyun           file://0001-check-for-null-buffer-before-trying-a-byteswap.patch \
17*4882a593Smuzhiyun           file://0002-Fix-printf-format-errors.patch \
18*4882a593Smuzhiyun           file://0001-utils-Use-c99-compiler-independent-types.patch \
19*4882a593Smuzhiyun           "
20*4882a593SmuzhiyunSRC_URI[md5sum] = "b304bbe8ab63373924a744eac9ebc652"
21*4882a593SmuzhiyunSRC_URI[sha256sum] = "005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df"
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun# Uppercase letters are not allowed in the recipe name, thus the recipe can not be named cdparanoia-III and
24*4882a593Smuzhiyun# we need to add the path to the extracted sources explicitely:
25*4882a593SmuzhiyunS = "${WORKDIR}/cdparanoia-III-${PV}"
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun# cdparanoia Makefile can not be used with several threads (because the static library target and the shared
28*4882a593Smuzhiyun# library target use object files which are compiled in the same directory, the object files are just removed
29*4882a593Smuzhiyun# between the compilation of those two targets)
30*4882a593SmuzhiyunPARALLEL_MAKE = ""
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunEXTRA_OECONF = "CC='${CC}' CFLAGS='${CFLAGS}'"
33*4882a593Smuzhiyun
34*4882a593Smuzhiyuninherit autotools
35