1*4882a593SmuzhiyunSUMMARY = "Audio format Conversion library" 2*4882a593SmuzhiyunDESCRIPTION = "Library for reading and writing files containing sampled \ 3*4882a593Smuzhiyunsound (such as MS Windows WAV and the Apple/SGI AIFF format) through \ 4*4882a593Smuzhiyunone standard library interface." 5*4882a593SmuzhiyunHOMEPAGE = "https://libsndfile.github.io/libsndfile/" 6*4882a593SmuzhiyunAUTHOR = "Erik de Castro Lopo" 7*4882a593SmuzhiyunDEPENDS = "flac libogg libvorbis" 8*4882a593SmuzhiyunSECTION = "libs/multimedia" 9*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only" 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunSRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.bz2 \ 12*4882a593Smuzhiyun file://noopus.patch \ 13*4882a593Smuzhiyun file://0001-flac-Fix-improper-buffer-reusing-732.patch \ 14*4882a593Smuzhiyun " 15*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsndfile/releases/" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunSRC_URI[md5sum] = "3f3b2a86a032f064ef922a2c8c191f7b" 18*4882a593SmuzhiyunSRC_URI[sha256sum] = "a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunCVE_PRODUCT = "libsndfile" 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunS = "${WORKDIR}/libsndfile-${PV}" 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunPACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" 27*4882a593SmuzhiyunPACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" 28*4882a593SmuzhiyunPACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3" 29*4882a593Smuzhiyun 30*4882a593Smuzhiyuninherit autotools lib_package pkgconfig multilib_header 31*4882a593Smuzhiyun 32*4882a593Smuzhiyundo_install:append() { 33*4882a593Smuzhiyun oe_multilib_header sndfile.h 34*4882a593Smuzhiyun} 35